Closed
Bug 813925
Opened 13 years ago
Closed 13 years ago
Properly pluralize strings in all apps
Categories
(Firefox OS Graveyard :: Gaia, defect, P1)
Tracking
(blocking-basecamp:+)
RESOLVED
FIXED
| blocking-basecamp | + |
People
(Reporter: stas, Unassigned)
Details
(Keywords: l12y, Whiteboard: QARegressExclude)
Attachments
(1 file)
|
355 bytes,
text/html
|
kaze
:
review+
vingtetun
:
approval-gaia-v1+
|
Details |
Because of the limitations of our l10n infrastructure we need to add all 6 plural cases to any string that wants to use plurals. See https://wiki.mozilla.org/L10n:B2G/Developers#Plurals.
So instead of this:
minutesAgo={[ plural(m) ]}
minutesAgo[zero] = just now
minutesAgo[one] = a minute ago
minutesAgo[other] = {{m}} minutes ago
we need this:
minutesAgo={[ plural(m) ]}
minutesAgo[zero] = just now
minutesAgo[one] = a minute ago
minutesAgo[two] = {{m}} minutes ago
minutesAgo[few] = {{m}} minutes ago
minutesAgo[many] = {{m}} minutes ago
minutesAgo[other] = {{m}} minutes ago
I'll have a patch shortly.
| Reporter | ||
Comment 1•13 years ago
|
||
Actually, let me re-purpose this bug and fix this across the board.
Summary: Properly pluralize date & time strings → Properly pluralize strings in all apps
| Reporter | ||
Comment 2•13 years ago
|
||
Pointer to Github pull-request
| Reporter | ||
Updated•13 years ago
|
Attachment #683961 -
Flags: review?(kaze)
| Reporter | ||
Comment 3•13 years ago
|
||
We need this for the string freeze. This fixes all of English-centric occurrences of plural implementation.
blocking-basecamp: --- → ?
Comment 4•13 years ago
|
||
Comment on attachment 683961 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/6549
NOTE: If blocking-basecamp+ is set, just land it for now.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined: none
Testing completed: manual
Risk to taking this patch (and alternatives if risky): none
Attachment #683961 -
Flags: review?(kaze)
Attachment #683961 -
Flags: review+
Attachment #683961 -
Flags: approval-gaia-master?(21)
Attachment #683961 -
Flags: approval-gaia-master?(21) → approval-gaia-master+
| Reporter | ||
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
blocking-basecamp: ? → +
Priority: -- → P1
You need to log in
before you can comment on or make changes to this bug.
Description
•