Closed
Bug 965113
Opened 11 years ago
Closed 11 years ago
figure out whether syncBrand.fxa-singular.label/syncBrand.fxa-plural.label is OK from an l10n point of view
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
Firefox 29
People
(Reporter: Gavin, Assigned: Gavin)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
1.98 KB,
patch
|
markh
:
review+
|
Details | Diff | Splinter Review |
So far these strings are only used as titles, I think.
But maybe they need to be properly plural-formed (https://developer.mozilla.org/en-US/docs/Localization_and_Plurals) so that they can vary depending on context?
(bug 957426 and bug 965016 have some context about where these are used)
Comment 1•11 years ago
|
||
If they are just generic titles, I would drop those misleading "plural" and "singular" in the string ID and just call them section-header, dialog-title or similar.
Strings should never be reused anyway in different contexts.
The concept of singular/plural is basically wrong when it comes to l10n (see bug 476833 as a good example, or https://groups.google.com/forum/#!msg/mozilla.dev.l10n/sN8OfMIVk5A/vw82p1-BvuAJ).
The correct behavior should be: expose the number of accounts in the string, and use a proper plural form. But we shouldn't need that for a title.
Comment 2•11 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #1)
> The correct behavior should be: expose the number of accounts in the string,
> and use a proper plural form. But we shouldn't need that for a title.
The idea is that the product name is called "Firefox Accounts" - eg, the signin page has "Firefox Accounts" as a heading.
The singular form is used when talking about *your* Firefox Account - eg, in the Sync Options pane when you are signed in, a heading is titled "Firefox Account".
IOW, it's never used in the context of a number. So maybe better names would include "-product-name-heading" and "-status-heading" or similar?
Comment 3•11 years ago
|
||
That's exactly what I meant ;-) Let's see if other people in CC have different thoughts.
Comment 4•11 years ago
|
||
Entities are now:
<!ENTITY syncBrand.fxa-status.heading "Firefox Account">
<!ENTITY syncBrand.fxa-product.heading "Firefox Accounts">
Attachment #8367615 -
Flags: review?(gavin.sharp)
Updated•11 years ago
|
Assignee: nobody → mhammond
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8367615 [details] [diff] [review]
0009-Bug-965113-rename-fxa-plural-and-singular-entities-t.patch
They are indeed only headers/titles, so some of my concerns about this are assuaged.
Attachment #8367615 -
Flags: review?(gavin.sharp) → review+
Comment 6•11 years ago
|
||
My personal gut reaction is to not use the branded form when talking about a single account.
This has impact on localized user experience, as "Firefox Account" won't be in your local language, while "My account" would be.
We should acknowledge that for more than 50% of our users, "Firefox Account" is gonna feel foreign, and using a localized term might increase the bond between the product and the user.
Assignee | ||
Comment 7•11 years ago
|
||
Got rid of these strings in bug 965117.
There is one remaining reference to "Firefox Account" in prefs. It's a title-cased noun, not a brand, necessarily, so any localization seems like it would work.
Depends on: 965117
Comment 8•11 years ago
|
||
I see two, not sure which one you're referring to
http://mxr.mozilla.org/mozilla-central/source/browser/locales/en-US/chrome/browser/preferences/sync.dtd#51
http://mxr.mozilla.org/mozilla-central/source/browser/locales/en-US/chrome/browser/syncBrand.dtd#7
Does the first one need an update?
Updated•11 years ago
|
Whiteboard: [qa-]
Assignee | ||
Comment 9•11 years ago
|
||
Assignee: mhammond → gavin.sharp
Attachment #8369294 -
Flags: review?(mhammond)
Comment 10•11 years ago
|
||
Comment on attachment 8369294 [details] [diff] [review]
patch
Review of attachment 8369294 [details] [diff] [review]:
-----------------------------------------------------------------
nice side-step of the problem :)
Attachment #8369294 -
Flags: review?(mhammond) → review+
Updated•11 years ago
|
Attachment #8367615 -
Attachment is obsolete: true
Assignee | ||
Comment 11•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
You need to log in
before you can comment on or make changes to this bug.
Description
•