[meta] Apply sentence casing to our primary UI for English locales
Categories
(Firefox :: General, task)
Tracking
()
People
(Reporter: mconley, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: meta)
Attachments
(1 file)
(deleted),
application/pdf
|
Details |
We've got a grab bag of Title Casing and Sentence casing across the Firefox UI.
We'd like to be more consistent, at least in English locales. We will, of course, defer to our localization communities to apply the casing that most makes sense for their locales (where applicable).
This meta bug tracks the effort.
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Do you want to do this via L10n string capitalization or via https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toLocaleUpperCase or some variant of it (toLocaleTItleCase?)?
Reporter | ||
Comment 2•4 years ago
|
||
(In reply to Zibi Braniecki [:zbraniecki][:gandalf] from comment #1)
Do you want to do this via L10n string capitalization or via https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toLocaleUpperCase or some variant of it (toLocaleTItleCase?)?
The plan is to modify the strings in the DTD, properties and FTL files directly. This is because the casing changes are only going to be for English locales - localizers in other locales should use what makes the most sense for them.
Also, doing something programmatic gets tricky when it comes to identifying names inside of strings, like knowing that "Restart to update Firefox" is preferred over "Restart to update firefox" (yes, we might be able to do clever things with brand-name, but we're opting for simplicity over cleverness).
Comment 3•4 years ago
|
||
Makes sense! Thank you for taking time to explaining the rationale! My angle was mostly in case you want some API to ensure we provide it :)
Reporter | ||
Comment 4•4 years ago
|
||
No problem! We'll definitely let you know if we need anything, thanks!
Comment 5•4 years ago
|
||
Documenting final decisions regarding cases in menus:
Global OS Menu Bar: Title Case (follow OS conventions)
Context menus (Menus triggered via right-click anywhere within a Firefox window—on a webpage, on a tab, on bookmark toolbar items): Title case (follow OS conventions). Note: application context menus can override our Firefox styling.
Firefox toolbar menus (Any menu opened from a Firefox toolbar icon or button): Sentence case
Rationale documented in the deck: https://docs.google.com/presentation/d/1Q252R07Srs_4UZZIpfokEtcy3YYvqVNgjcqs-X3ls0U/edit#slide=id.p
Comment 6•4 years ago
|
||
(In reply to Meridel from comment #5)
Documenting final decisions regarding cases in menus:
Rationale documented in the deck: https://docs.google.com/presentation/d/1Q252R07Srs_4UZZIpfokEtcy3YYvqVNgjcqs-X3ls0U/edit#slide=id.p
Hi, can you open access to the document to the public, or attach it to bugzilla?
Comment 7•4 years ago
|
||
Comment 8•4 years ago
|
||
Asif, apologies for the delay! Please let me know if have questions about the attachment or need anything else.
Description
•