Closed
Bug 1213647
Opened 9 years ago
Closed 9 years ago
BrandName strings in "Manage Tones" are not picking translations when using unofficial branding
Categories
(Firefox OS Graveyard :: Gaia::L10n, defect)
Tracking
(b2g-v2.1 unaffected, b2g-v2.2 affected, b2g-master affected)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
b2g-v2.1 | --- | unaffected |
b2g-v2.2 | --- | affected |
b2g-master | --- | affected |
People
(Reporter: u547545, Unassigned)
Details
(Keywords: l12y, regression, Whiteboard: [mozfr-community])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; rv:41.0) Gecko/20100101 Firefox/41.0 Build ID: 20150929144111 Steps to reproduce: Prerequisite: set the phone in a language other than English. 1) Go to "Settings", 2) In the "Personalisation", click on "Sound", 3) In the "Tones", click "Manage Tones". Actual results: The headings "System Ringtones" and "System Alerts" are not fully translated. "System" is written in English, regardless of the language chosen initially. Even finding with the titles of "default" ringtones. Expected results: The headings "Ringtones System" and "System Alerts" should be translated into the language of the phone. Same with "default" title ringtones. ----------- Tested with ZTE Open C (FR). Tested with several languages: French, Suomi, Deutsch, Spanish... OS Version: 2.5.0.0-prerelease Build Number: eng..20140806.064432 Platform Version: 44.0a1 Build Identifier: 20151011001632 Update Channel: nightly Git Commit Info: 2015-10-10 21:44:14 (d6cc7ef0)
Comment 1•9 years ago
|
||
Good catch! Note that official builds are not affected ("System" and "Default" are replaced with "Firefox"). The strings are translated: ringtoneBrandName = Default ringtoneSectionBrandName = System https://hg.mozilla.org/gaia-l10n/en-US/file/default/shared/branding/unofficial/branding.properties The issue is that the App does not replace {{ringtoneBrandName}} and {{ringtoneSectionBrandName}} variables with those translations. Just tried on 2.1, strings are translated as expected. 2.2 and 2.5 are affected. Open C - 2.1 community builds # NOT AFFECTED # Build ID 20150521184528 Gaia Revision 0d343f49c0e0a3928a4f456faf98e37bb26a6ef6 Gaia Date 2015-05-21 14:40:33 Open C - 2.2 community builds # AFFECTED # Build ID 20150830202019 Gaia Revision 335cd8e79c20f8d8e93a6efc9b97cc0ec17b5a46 Gaia Date 2015-08-14 19:06:41
Status: UNCONFIRMED → NEW
status-b2g-v2.1:
--- → unaffected
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → affected
Ever confirmed: true
Keywords: l12y,
regression
Summary: (B2G 2.5) Translation issue in "Manage Tones" → BrandName strings in "Manage Tones" are not picking translations when using unofficial branding
Comment 2•9 years ago
|
||
I don't think this is a ringtones-specific issue. The only recent changes to the app have been changes to *all* apps. This is probably better-suited to the L10N component.
Component: Gaia::Ringtones → Gaia::L10n
Comment 3•9 years ago
|
||
Comment 4•9 years ago
|
||
Comment on attachment 8674762 [details] [review] [gaia] zbraniecki:1213647-fix-unofficial-branding > mozilla-b2g:master So, seems like unofficial branding has been broken by me since Aug 2014 and nobody noticed. :)
Attachment #8674762 -
Flags: review?(stas)
Updated•9 years ago
|
Attachment #8674762 -
Flags: review?(stas) → review+
Comment 5•9 years ago
|
||
Commit: https://github.com/mozilla-b2g/gaia/commit/d5fd1dafc09847eb43108eaf5819ad2817d86ca4
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Verified OS Version: 2.5.0.0-prerelease Build Number: eng..20140806.064432 Platform Version: 44.0a1 Build Identifier: 2015101801931 Update Channel: nightly Git Commit Info: 2015-10-17 (9651a251)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•