Closed Bug 1037962 Opened 11 years ago Closed 10 years ago

[DSDS] "SIM x:" hardcoded in Settings and System

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-b2g:2.2+, b2g-v1.4 wontfix, b2g-v2.0 wontfix, b2g-v2.1 affected, b2g-v2.2 verified, b2g-v2.5 verified, b2g-master verified)

VERIFIED FIXED
2.2 S8 (20mar)
blocking-b2g 2.2+
Tracking Status
b2g-v1.4 --- wontfix
b2g-v2.0 --- wontfix
b2g-v2.1 --- affected
b2g-v2.2 --- verified
b2g-v2.5 --- verified
b2g-master --- verified

People

(Reporter: theo, Assigned: arthurcc)

References

Details

(Keywords: l12y, late-l10n)

Attachments

(3 files)

In settings > Device information and More information screens, "SIM X:" are hardcoded (on Dual-SIM phones). This is an issue for locales that translate "SIM" (like Tamil), and locales like French who require a different typography.
Oh, good catch Flod :) So far I only fixed the first two links
Let's see how many tests I broke :) Note: I haven't been able to test the changes for ICC and Mobile ID (no idea how to test that). However the changes for SIM Manager and Device information in Settings are working as expected.
Summary: [DSDS][Settings] "SIM x:" hardcoded twice in Settings → [DSDS] "SIM x:" hardcoded in Settings and System
Keywords: l12y
Update: this bug still occurs on 2.2 and 3.0 (see description in Dupe Bug 1142728)
Nominating as blocker as this definitely needs to be localizable for our l10n teams: not all use "SIM". This really needs a fix
blocking-b2g: --- → 2.2?
Looks like it slightly fell off off my radar :) Feel free to steal the attached PR and work on it, I'll be a bit busy for some time.
Assignee: theo.chevalier11 → nobody
Triage: blocking
Assignee: nobody → arthur.chen
blocking-b2g: 2.2? → 2.2+
Status: NEW → ASSIGNED
Comment on attachment 8578581 [details] [review] [gaia] crh0716:1037962 > mozilla-b2g:master The patch tires to clean the hard coded sim related strings. EJ, Alive, could you help review the patch? Thanks.
Attachment #8578581 - Flags: review?(ejchen)
Attachment #8578581 - Flags: review?(alive)
Comment on attachment 8578581 [details] [review] [gaia] crh0716:1037962 > mozilla-b2g:master Thanks!
Attachment #8578581 - Flags: review?(alive) → review+
Comment on attachment 8578581 [details] [review] [gaia] crh0716:1037962 > mozilla-b2g:master Thanks Arthur, r+ if few comments are addressed.
Attachment #8578581 - Flags: review?(ejchen) → review+
Thanks, EJ. master: 47553b644b46cdce781c7ad351e1d770aafd1f25
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment on attachment 8578581 [details] [review] [gaia] crh0716:1037962 > mozilla-b2g:master [Approval Request Comment] [Bug caused by] (feature/regressing bug #): [User impact] if declined: RTL issue. [Testing completed]: Unit tests passed. [Risk to taking this patch] (and alternatives if risky): Low as it is simple replacement. [String changes made]: Yes. Three new strings were added: System: simLabel=SIM {{id}} icc-notification-title=SIM {{id}} STK Settings: simWithIndex = SIM {{index}}
Attachment #8578581 - Flags: approval-gaia-v2.2?
Attachment #8578581 - Flags: approval-gaia-v2.2? → approval-gaia-v2.2+
This bug has been verified as "pass" on the latest build of Flame v2.2&2.5&master by the STR in comment 0 of Bug 1142728 and comment 0. Actual results: The "SIM X" shows correctly in Settings->SIM manager, and in Settings->Device information and More information screens. See attachment: verified_Flame_v2.5.png Reproduce rate: 0/10 Device: Flame master_512mb eng (Pass) Build ID 20151208150206 Gaia Revision 6b430ea7274af4c352de16b75e6bb85d7621ca83 Gaia Date 2015-12-08 06:31:07 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/a8965ae93c5d098a4f91ad9da72150bb43df07a7 Gecko Version 45.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20151208.183034 Firmware Date Tue Dec 8 18:30:47 EST 2015 Firmware Version v18D v4 Bootloader L1TC000118D0 Device: Flame v2.5_512mb user (Pass) Build ID 20151208120554 Gaia Revision 2d54c29f429bed790b5d8284633812dc2b782518 Gaia Date 2015-12-02 14:41:15 Gecko Revision http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/ff31a251b2f6149edf4fc0a199133ef2e190ceac Gecko Version 44.0a2 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.worker.20151208.111719 Firmware Date Tue Dec 8 11:17:29 UTC 2015 Firmware Version v18D v4 Bootloader L1TC000118D0 Device: Flame 2.2_512mb (Pass) Build ID 20151208032501 Gaia Revision 885647d92208fb67574ced44004ab2f29d23cb45 Gaia Date 2015-10-07 13:05:24 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/4381c4b69b9c Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20151208.072538 Firmware Date Tue Dec 8 07:25:49 EST 2015 Firmware Version v18D v4 Bootloader L1TC000118D0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: