Closed Bug 1057696 Opened 9 years ago Closed 9 years ago
[Settings] Browser Privacy: l10n issues
https://github.com/mozilla-b2g/gaia/commit/3579256554985d6ad49bee4615651a255962f22f 1) data-l10n-id="clearBookmarksAppsData"> We don't have such an ID, we have clearBookmarkAppsData. 2) We need a different string for menu item and header in Settings (see across settings.properties for references). You created the reference in the header, but not added the string inside settings.properties <h1 data-l10n-id="browserPrivacy-header"> Browser Privacy </h1> 3) The main title "Confirmation" is hard-coded. https://github.com/mozilla-b2g/gaia/commit/3579256554985d6ad49bee4615651a255962f22f#diff-43f348489f2f3323b5a6339221ad7998R34 Why are we not enforcing tests with pseudo-locales? They're build at runtime for this very reason, and all of these issues would have been found within seconds.
I was going to file another bug but discovered it comes from the same bug :-\ Search is using data-l10n-id="search" We have a "search-header", but not a "search" id https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/locales/settings.en-US.properties
Fixing since we're approaching FL and string freeze. * Added new clear-boomarks-data string for the button instead of reusing the existing one from another panel. * Switched ID from "confirmation" to less generic "confirm-clear-title".
Assignee: nobody → francesco.lodolo
Attachment #8480529 - Flags: review?(arthur.chen)
Comment on attachment 8480529 [details] [review] Pull request on Github Pseudo locale should be used. I feel embarrassed by not catching this. :( The patch looks good to me, thanks!
Attachment #8480529 - Flags: review?(arthur.chen) → review+
Thanks Arthur, asking for checkin.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.