Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 814355 - l10n_date.js / pretty dates: support compact formats #6886

Merged
merged 1 commit into from
Dec 7, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions shared/locales/date/date.en-US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,13 @@ inDays-long[other] = in {{d}} days
# Relative time ("pretty dates"), short variant
# LOCALIZATION NOTE: the time unit should be as short as possible,
# and the whole string should not exceed a length of ~10 latin characters.
# LOCALIZATION NOTE: the prime (’) can be used to represent minutes for most
# locales, but we use “m” instead for the English locale to prevent a possible
# confusion (35’ ago ≠ 35 feet ago).

minutesAgo-short={[ plural(m) ]}
minutesAgo-short[zero] = just now
minutesAgo-short[other] = {{m}} ago
minutesAgo-short[other] = {{m}}m ago

hoursAgo-short={[ plural(h) ]}
hoursAgo-short[zero] = just now
Expand All @@ -112,7 +115,7 @@ daysAgo-short[other] = {{d}}d ago

inMinutes-short={[ plural(m) ]}
inMinutes-short[zero] = now
inMinutes-short[other] = in {{m}}
inMinutes-short[other] = in {{m}}m

inHours-short={[ plural(h) ]}
inHours-short[zero] = now
Expand Down