Closed
Bug 1118393
Opened 9 years ago
Closed 9 years ago
Can not use {{num}} in rooms_list_current_conversations in loop.properties
Categories
(Hello (Loop) :: Client, defect, P2)
Hello (Loop)
Client
Tracking
(firefox36 fixed, firefox37 fixed, firefox38 fixed)
backlog | Fx36? |
People
(Reporter: unghost, Assigned: standard8)
References
()
Details
Attachments
(2 files, 1 obsolete file)
366.97 KB,
image/png
|
Details | |
3.28 KB,
patch
|
jaws
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
STR: 1) Download and install Russian build of Firefox 35.0 beta (which uses {{num}} in rooms_list_current_conversations, see http://hg.mozilla.org/releases/l10n/mozilla-beta/ru/file/ee50c25837e3/browser/chrome/browser/loop/loop.properties#l129 ) from https://www.mozilla.org/en-US/firefox/beta/all/ 2) Click on Hello icon to open conversation. Expected result: Loop client windows shows: 1 активный звонок (1 Current conversation) Actual result: Loop client windows shows: {{num}} активный звонок ({{num}} Current conversation) See attached screenshot.
Comment 1•9 years ago
|
||
Link to the reference string that says "you can use {{num}}" http://hg.mozilla.org/releases/mozilla-beta/file/default/browser/locales/en-US/chrome/browser/loop/loop.properties#l307 We have at least another locale using that (gd).
Comment 3•9 years ago
|
||
Yes, we use {{num}} because ONE in gd covers both 1 and 11.
Updated•9 years ago
|
Flags: needinfo?(jaws)
Assignee | ||
Comment 4•9 years ago
|
||
Jared: This fixes the issue and lets us use num as a replacable value in the string. Do you recall if there was a reason you deleted num from the arguments?
Attachment #8547770 -
Flags: review?(jaws)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → standard8
backlog: --- → Fx36?
Iteration: --- → 38.1 - 26 Jan
Points: --- → 1
Flags: needinfo?(standard8)
Priority: -- → P2
Comment 5•9 years ago
|
||
Comment on attachment 8547770 [details] [diff] [review] Cannot use {{num}} in rooms_list_current_conversations - Don't remove the num argument for plural forms, as its a valid possible value. Review of attachment 8547770 [details] [diff] [review]: ----------------------------------------------------------------- Ah! Good debugging. I removed it because it didn't look like it was being used outside of just determining if the plural form should be used. Obviously I was wrong. Can we include a test here to make sure people like me don't make the same mistake again in the future?
Attachment #8547770 -
Flags: review?(jaws) → review+
Updated•9 years ago
|
Flags: needinfo?(jaws)
Updated•9 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•9 years ago
|
||
Updated patch to include unit tests.
Attachment #8547770 -
Attachment is obsolete: true
Attachment #8555251 -
Flags: review?(jaws)
Assignee | ||
Updated•9 years ago
|
Iteration: 38.1 - 26 Jan → 38.2 - 9 Feb
Updated•9 years ago
|
Attachment #8555251 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 7•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/31f70be9d69a
Target Milestone: --- → mozilla38
Comment 8•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/31f70be9d69a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8555251 [details] [diff] [review] Cannot use {{num}} in rooms_list_current_conversations - Don't remove the num argument for plural forms, as its a valid possible value. Approval Request Comment [Feature/regressing bug #]: Hello rooms / 1074672 [User impact if declined]: For a couple of locales, the number of conversations won't be translated and will show as "{{num}} активный звонок" - this is in the primary panel UI. [Describe test coverage new/current, TreeHerder]: Includes a unit test, landed in m-c. [Risks and why]: Low - simple change; includes test coverage. [String/UUID change made/needed]: None
Attachment #8555251 -
Flags: approval-mozilla-beta?
Attachment #8555251 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
Updated•9 years ago
|
Attachment #8555251 -
Flags: approval-mozilla-beta?
Attachment #8555251 -
Flags: approval-mozilla-beta+
Attachment #8555251 -
Flags: approval-mozilla-aurora?
Attachment #8555251 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 10•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/ca5b3a9640ba https://hg.mozilla.org/releases/mozilla-beta/rev/fac8edb83df7
You need to log in
before you can comment on or make changes to this bug.
Description
•