Closed
Bug 1270958
Opened 8 years ago
Closed 8 years ago
Include string for "1 device" instead of "1 devices" for Synced devices
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox49 verified)
RESOLVED
FIXED
Firefox 49
Tracking | Status | |
---|---|---|
firefox49 | --- | verified |
People
(Reporter: liuche, Unassigned)
References
Details
Attachments
(2 files)
No description provided.
Reporter | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/51173/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/51173/
Attachment #8749824 -
Flags: review?(ahunt)
Reporter | ||
Comment 2•8 years ago
|
||
Delphine, I realized while reviewing bug 1269001 that I also need a "single item" string like the one mentioned in that bug, so I added it here. I'm going to flag it for aurora uplift, because this should have been part of bug 1261527, but I forgot about that case - sorry about that! I'm hoping that if it's similar to the case with both of those bugs that this string will be all right.
Flags: needinfo?(lebedel.delphine)
Updated•8 years ago
|
Attachment #8749824 -
Flags: review?(ahunt) → review+
Comment 3•8 years ago
|
||
Comment on attachment 8749824 [details] MozReview Request: Bug 1270958 - Include string for "1 device" instead of "1 devices" for Synced devices. r=ahunt https://reviewboard.mozilla.org/r/51173/#review47869
Reporter | ||
Comment 5•8 years ago
|
||
Comment on attachment 8749824 [details] MozReview Request: Bug 1270958 - Include string for "1 device" instead of "1 devices" for Synced devices. r=ahunt Approval Request Comment [Feature/regressing bug #]: Missed "single item" state from bug 1261527 [User impact if declined]: single device will show up as "1 devices" [Describe test coverage new/current, TreeHerder]: local [Risks and why]: very low, adds a string and simple logic [String/UUID change made/needed]: Approval given in bug 1261527, and almost exact case as bug 1269001 - https://bugzilla.mozilla.org/show_bug.cgi?id=1269001#c10
Attachment #8749824 -
Flags: approval-mozilla-aurora?
Comment 6•8 years ago
|
||
Thanks :liuche. Let's just get that landed asap. thanks!
Flags: needinfo?(lebedel.delphine)
Comment 7•8 years ago
|
||
Please include proper localization, https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals
Comment 8•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b7240a704aeb
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Comment 9•8 years ago
|
||
(In reply to Stefan Plewako [:stef] from comment #7) > Please include proper localization, > https://developer.mozilla.org/en-US/docs/Mozilla/Localization/ > Localization_and_Plurals Yes, I was just about to link to this. Do we have a way to properly support plural forms with Android strings? Not all languages have only one plural form. We have logic to handle this in Gecko, but I would think Android also has something. Let's address that before uplifting.
Flags: needinfo?(liuche)
Flags: needinfo?(ahunt)
Comment 10•8 years ago
|
||
(In reply to :Margaret Leibovic from comment #9) > (In reply to Stefan Plewako [:stef] from comment #7) > > Please include proper localization, > > https://developer.mozilla.org/en-US/docs/Mozilla/Localization/ > > Localization_and_Plurals > > Yes, I was just about to link to this. > > Do we have a way to properly support plural forms with Android strings? Not > all languages have only one plural form. We have logic to handle this in > Gecko, but I would think Android also has something. > > Let's address that before uplifting. I just saw this bug in my bugmail and wanted to post this URL too :) - after being fooled by that too recently (bug 1260390). Android does have something[1] but that's not something we can support with our current approach using strings.xml.in. [1] http://developer.android.com/guide/topics/resources/string-resource.html#Plurals
Comment 11•8 years ago
|
||
(In reply to :Margaret Leibovic from comment #9) > Do we have a way to properly support plural forms with Android strings? Not > all languages have only one plural form. We have logic to handle this in > Gecko, but I would think Android also has something. We don't have anything, and that's something that I'd really like to be fixed, but it's far beyond the scope of this bug. If you search for "plural" in the file, you will find other old instances where we would a proper plural form.
Reporter | ||
Comment 12•8 years ago
|
||
Margaret, since we can't do plural localization within Android's framework, do you think there is more that I should do for this bug? I could update the dtd entity name to clarify singular and plural, but the Android localization and l10n localization don't seem compatible right now.
Flags: needinfo?(margaret.leibovic)
Flags: needinfo?(liuche)
Flags: needinfo?(ahunt)
Comment 13•8 years ago
|
||
(In reply to Chenxia Liu [:liuche] from comment #12) > Margaret, since we can't do plural localization within Android's framework, > do you think there is more that I should do for this bug? I could update the > dtd entity name to clarify singular and plural, but the Android localization > and l10n localization don't seem compatible right now. Given that this seems to be a pre-existing problem, I would just follow our current convention, e.g.: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/locales/en-US/android_strings.dtd#100 Let's file a separate bug to try to come up with a real fix for this, which we can use for the existing plural form strings in the tree.
Flags: needinfo?(margaret.leibovic)
Reporter | ||
Comment 14•8 years ago
|
||
Comment on attachment 8749824 [details] MozReview Request: Bug 1270958 - Include string for "1 device" instead of "1 devices" for Synced devices. r=ahunt Clearing a? flag because this probably too late for string uplift. This can just ride the trains.
Attachment #8749824 -
Flags: approval-mozilla-aurora?
Comment 15•8 years ago
|
||
Tested using: Device: Alcatel One Touch (Android 4.1.2) Build: Firefox for Android 49.0a1 (2016-05-12)
Updated•8 years ago
|
Assignee | ||
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•