Open Bug 1682015 Opened 3 years ago Updated 1 year ago

[meta] Apply sentence casing to our primary UI for English locales

Categories

(Firefox :: General, task)

task

Tracking

()

People

(Reporter: mconley, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

Attachments

(1 file)

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.

Component: Theme → General
Depends on: 1682022
Depends on: 1682025

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?)?

(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).

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 :)

No problem! We'll definitely let you know if we need anything, thanks!

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

Depends on: 1683419

(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?

Flags: needinfo?(mwalkington)
Depends on: 1684950
Flags: needinfo?(mwalkington)

Asif, apologies for the delay! Please let me know if have questions about the attachment or need anything else.

Depends on: 1688745
No longer depends on: 1684950
Depends on: 1721474
Depends on: 1684950
Depends on: 1709796
Depends on: 1727484
Depends on: 1727912
Depends on: 1727916
Depends on: 1805262
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: