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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.3+, b2g-v1.2 unaffected, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)

VERIFIED FIXED
1.4 S1 (14feb)
blocking-b2g 1.3+
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)

Attached image 2014-02-06-17-18-35.png
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
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.
Assignee: rpmdisguise-otros → nobody
blocking-b2g: --- → 1.3?
Component: es-ES / Spanish → Gaia::System
Keywords: late-l10n
Product: Mozilla Localizations → Firefox OS
Assignee: nobody → rpmdisguise-otros
Component: Gaia::System → es-ES / Spanish
Product: Firefox OS → Mozilla Localizations
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
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).
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
Yup, agreed.
Keywords: late-l10n
(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.
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)
(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.
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
Attachment #8372257 - Flags: review?(timdream) → review?(21)
Keywords: checkin-needed
Master: f1aa7a363bc38040d0ad942e993d8641af8db752
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.4 S1 (14feb)
blocking-b2g: 1.3? → 1.3+
Verified flashing master on device (git commit 7ef49416).
Status: RESOLVED → VERIFIED
Uplifted f1aa7a363bc38040d0ad942e993d8641af8db752 to: v1.3: 87a9913f2c197815d65faf88f4a1db7233ac668a
Blocks: 949609
Blocks: 938417
Blocks: 934786
Blocks: 967191
Blocks: 967193
Blocks: 967195
Blocks: 967202
Blocks: 967205
Blocks: 967207
Blocks: 967615
Blocks: 967617
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: