Closed Bug 813925 Opened 13 years ago Closed 13 years ago

Properly pluralize strings in all apps

Categories

(Firefox OS Graveyard :: Gaia, defect, P1)

x86_64
Linux
defect

Tracking

(blocking-basecamp:+)

RESOLVED FIXED
blocking-basecamp +

People

(Reporter: stas, Unassigned)

Details

(Keywords: l12y, Whiteboard: QARegressExclude)

Attachments

(1 file)

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.
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
Attachment #683961 - Flags: review?(kaze)
We need this for the string freeze. This fixes all of English-centric occurrences of plural implementation.
blocking-basecamp: --- → ?
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+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
blocking-basecamp: ? → +
Priority: -- → P1
Whiteboard: QARegressExclude
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: