Closed
Bug 969193
Opened 11 years ago
Closed 11 years ago
[B2G][l10n][Cost Control] The string "OK" is not translated when launching cost control with a locked SIM
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect)
Tracking
(blocking-b2g:1.3+, b2g-v1.2 unaffected, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)
| Tracking | Status | |
|---|---|---|
| b2g-v1.2 | --- | unaffected |
| b2g-v1.3 | --- | fixed |
| b2g-v1.3T | --- | fixed |
| b2g-v1.4 | --- | fixed |
People
(Reporter: KTucker, Assigned: flod)
References
Details
(Keywords: l12y, regression, Whiteboard: LocRun1.3)
Attachments
(2 files)
Description:
The string "OK" is not translated when launching Cost Control with a locked SIM.
Repro Steps:
1) Updated Buri to Build ID: 20140203181708
2) Set the phone language to "Spanish".
3) Tap on "Settings".
4) Tap on "SIM security".
5) Tap on the "SIM PIN" toggle to enable it.
6) Create a "SIM PIN" and then restart the phone.
7) Tap on "Skip" when prompted to enter a SIM PIN.
8) Tap on "Usage" app.
9) Tap on "Skip" when prompted to enter a SIM PIN.
Actual:
The string "OK" is not translated at the bottom of the "Unlock your SIM to enable Usage." message.
Expected:
The string is translated to "Aceptar".
Environmental Variables
Device: Buri v 1.3.0 Mozilla RIL
Build ID: 20140206004002
Gecko: https://hg.mozilla.org/releases/mozilla-b2g28_v1_3/rev/a1fa925c40c2
Gaia: 467ef8c9145d9a57d35b0619db541d23b522b958
Platform Version: 28.0
Firmware Version: v1.2-device.cfg
Notes:
Repro frequency: 100%
See attached: screenshot
| Reporter | ||
Comment 1•11 years ago
|
||
This issue does not occur on the Buri v 1.2.0 Mozilla RIL
Environmental Variables
Device: Buri v 1.2.0 Mozilla RIL
Build ID: 20140203004002
Gecko: http://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/9250d1b1cb6e
Gaia: 539a25e1887b902b8b25038c547048e691bd97f6
Platform Version: 26.0
Firmware Version: v1.2-device.cfg
The string "OK" is translated to "Aceptar" in Cost Control.
Updated•11 years ago
|
Assignee: rpmdisguise-otros → nobody
blocking-b2g: --- → 1.3?
Component: es-ES / Spanish → Gaia::System
Keywords: late-l10n
Product: Mozilla Localizations → Firefox OS
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → rpmdisguise-otros
Component: Gaia::System → es-ES / Spanish
Product: Firefox OS → Mozilla Localizations
Comment 2•11 years ago
|
||
This isn't a localization bug. We've already got translations for a OK button.
Assignee: rpmdisguise-otros → nobody
Component: es-ES / Spanish → Gaia::System
Product: Mozilla Localizations → Firefox OS
| Assignee | ||
Comment 3•11 years ago
|
||
Then I suggest removing the locale name from the subject. If it affects Spanish, it affects also all other locales we ship (and I'm surprised I don't have a similar report for my own locale).
| Assignee | ||
Comment 4•11 years ago
|
||
https://github.com/mozilla-b2g/gaia/blob/master/apps/costcontrol/index.html#L127
I don't see any string with id "confirm" in the .properties file
There's an "OK" string, but it doesn't seem to be used
https://github.com/mozilla-b2g/gaia/blob/master/apps/costcontrol/locales/costcontrol.en-US.properties#L85
I think it's pretty safe to use this one, and we could port it to 1.3 without new strings (so no late-l10n).
Summary: [B2G][l10n][Cost Control] Spanish: The string "OK" is not translated when launching cost control with a locked SIM → [B2G][l10n][Cost Control] The string "OK" is not translated when launching cost control with a locked SIM
Comment 6•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #5)
> Yup, agreed.
Although I'd expect the OK button string to be part of the system app, not the cost control app. Prompts are part of the system app.
| Assignee | ||
Comment 7•11 years ago
|
||
Button is currently using a non existent string ID "confirm" as data-l10n-id.
Existing string with id “ok” seems to be unused in other contexts, so it should be safe to use it here.
Tested locally on Keon and work as expected.
Waiting for review and then asking 1.3?, since we fix the l10n problem without introducing new strings.
Assignee: nobody → francesco.lodolo
Attachment #8372257 -
Flags: review?(timdream)
| Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #6)
> Although I'd expect the OK button string to be part of the system app, not
> the cost control app. Prompts are part of the system app.
Is such a thing possible? Out of curiosity I checked and I count 28 "OK" in my locale, across all .properties files.
| Assignee | ||
Comment 9•11 years ago
|
||
Ouch, didn't realize this was in Gaia::System. I'm moving this to CostControl and ask a review there, since we're not touching system.
Component: Gaia::System → Gaia::Cost Control
| Assignee | ||
Updated•11 years ago
|
Attachment #8372257 -
Flags: review?(timdream) → review?(21)
Attachment #8372257 -
Flags: review?(21) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 10•11 years ago
|
||
Master: f1aa7a363bc38040d0ad942e993d8641af8db752
Status: NEW → RESOLVED
Closed: 11 years ago
status-b2g-v1.4:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.4 S1 (14feb)
Updated•11 years ago
|
blocking-b2g: 1.3? → 1.3+
| Assignee | ||
Comment 11•11 years ago
|
||
Verified flashing master on device (git commit 7ef49416).
Status: RESOLVED → VERIFIED
Comment 12•11 years ago
|
||
Uplifted f1aa7a363bc38040d0ad942e993d8641af8db752 to:
v1.3: 87a9913f2c197815d65faf88f4a1db7233ac668a
Updated•11 years ago
|
status-b2g-v1.3T:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•