Closed
Bug 995940
Opened 10 years ago
Closed 10 years ago
[tarako][L10N] No 'data-l10n-id' for ./elements/sim_manager.html: <h2>SIM settings</h2>
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:1.3T+, b2g-v1.3T fixed, b2g-v1.4 fixed)
RESOLVED
FIXED
blocking-b2g | 1.3T+ |
People
(Reporter: angelc04, Assigned: eragonj)
Details
(Whiteboard: [sprd295789][partner-blocker][1.4-approval-needed])
Attachments
(3 files, 2 obsolete files)
22.02 KB,
image/png
|
Details | |
1.04 KB,
patch
|
jj.evelyn
:
review+
|
Details | Diff | Splinter Review |
46 bytes,
text/x-github-pull-request
|
arthurcc
:
review+
praghunath
:
approval-gaia-v1.4+
|
Details | Review |
Steps to reproduce ------------------------------------------------------------------------ 1. Set Launguage to Bengali 2. Go to Settings -> SIM Setting --> You will see "SIM settings" section title was not translated. Please see attached screenshot. This is bcz there is no 'data-l10n-id' for ./elements/sim_manager.html: <h2>SIM settings</h2> Test build ----------------------------------------------------------------------- Gaia b2802627a974795ccba989cede0540f20fadc633 Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/c8491a42d4e8 BuildID 20140413164001 │ Version 28.1 ro.build.version.incremental=eng.cltbld.20140413.210357
Updated•10 years ago
|
blocking-b2g: --- → 1.3T?
Comment 1•10 years ago
|
||
triage: let's not block on this but we should uplift when we have a solution ni? Arthur ni? l10n for late l10n
Flags: needinfo?(l10n)
Flags: needinfo?(arthur.chen)
Comment 2•10 years ago
|
||
I'm checking master but I can't find a "SIM Settings" section in Settings. Is this supposed to be displayed only under some conditions?
Comment 3•10 years ago
|
||
FWIW, on branches, we should just re-use the "Settings" string instead of exposing "SIM Settings". For master, I wonder if that string is the best UX given how often SIM shows up on that screen already.
Flags: needinfo?(l10n)
Assignee | ||
Comment 4•10 years ago
|
||
I think it's kinda late to add a new string in v1.3t and not necessary. How about use `settings` l10n-id in 1.3t while adding another new string called `simSettings` >= 1.4 ? (in 1.4, 2.0) Any idea !?
Flags: needinfo?(arthur.chen)
Comment 5•10 years ago
|
||
Sounds good for > 1.4, it's too late for 1.4 as well.
Comment 6•10 years ago
|
||
triage: not blocking release with this. to backlog
blocking-b2g: 1.3T? → backlog
Updated•10 years ago
|
Whiteboard: [sprd295789]
I add the following "string=value" pair in apps/settings/settings.properties for the four languages: bn-BD simSettings=SIM সেটিংস hi-IN simSettings=SIM सेटिंग्स ta simSettings=SIM அமைவுகள் en-US simSettings=SIM settings Meanwhile,we need add 'data-l10n-id="simSettings"' in gaia/apps/settings/elements/sim_manager.html as following: <h2 data-l10n-id="simSettings">SIM settings</h2> James,please help to check it and find a person to uplift it.Thank you!
Flags: needinfo?(james.zhang)
Comment 8•10 years ago
|
||
(In reply to yang.zhao from comment #7) > I add the following "string=value" pair in apps/settings/settings.properties > for the four languages: > bn-BD > simSettings=SIM সেটিংস > > hi-IN > simSettings=SIM सेटिंग्स > > ta > simSettings=SIM அமைவுகள் > > en-US > simSettings=SIM settings > > Meanwhile,we need add 'data-l10n-id="simSettings"' in > gaia/apps/settings/elements/sim_manager.html as following: > <h2 data-l10n-id="simSettings">SIM settings</h2> > > James,please help to check it and find a person to uplift it.Thank you! Please attach your patch first.
Flags: needinfo?(james.zhang)
Attachment #8414156 -
Flags: review?(ehung)
Comment 10•10 years ago
|
||
Only add bn-BD/en-US/ta/hi-IN languages on our branch.---->The patch didn't include these.Please see comment#7 Then need mozilla add this data-l10n-id in gaia.
Flags: needinfo?(james.zhang)
Updated•10 years ago
|
Flags: needinfo?(ttsai)
Flags: needinfo?(styang)
Flags: needinfo?(james.zhang)
Whiteboard: [sprd295789] → [sprd295789][partner-blocker]
Comment 11•10 years ago
|
||
Comment on attachment 8414156 [details] [diff] [review] simSettings.patch Hi, thanks for the patch. You also need to add 'simSettings' to settings.en-US.properties.
Attachment #8414156 -
Flags: review?(ehung)
Comment 12•10 years ago
|
||
(In reply to yang.zhao from comment #10) > Only add bn-BD/en-US/ta/hi-IN languages on our branch.---->The patch didn't > include these.Please see comment#7 > > Then need mozilla add this data-l10n-id in gaia. Please add to settings.en-US.properties to make sure they are consistent.
Comment 14•10 years ago
|
||
(In reply to Evelyn Hung [:evelyn] from comment #11) > Comment on attachment 8414156 [details] [diff] [review] > simSettings.patch > > Hi, thanks for the patch. You also need to add 'simSettings' to > settings.en-US.properties. Please see comment#7 ,I already added to en-US.
Flags: needinfo?(yang.zhao)
Comment 15•10 years ago
|
||
(In reply to James Zhang from comment #13) > Yang, please update your patch. I add four languages:bn-BD /hi-IN /ta /en-US Already including en-US.
Comment 16•10 years ago
|
||
(In reply to yang.zhao from comment #15) > (In reply to James Zhang from comment #13) > > Yang, please update your patch. > > I add four languages:bn-BD /hi-IN /ta /en-US > Already including en-US. No, please add one to en-US file in code base, not in your local.
Comment 17•10 years ago
|
||
(In reply to yang.zhao from comment #15) > (In reply to James Zhang from comment #13) > > Yang, please update your patch. > > I add four languages:bn-BD /hi-IN /ta /en-US > Already including en-US. git add . git diff <your last commit> to generate patch.
Comment 18•10 years ago
|
||
Comment 19•10 years ago
|
||
(In reply to Evelyn Hung [:evelyn] from comment #16) > (In reply to yang.zhao from comment #15) > > (In reply to James Zhang from comment #13) > > > Yang, please update your patch. > > > > I add four languages:bn-BD /hi-IN /ta /en-US > > Already including en-US. > > No, please add one to en-US file in code base, not in your local. Ok,please see the attachment en-US.patch
Updated•10 years ago
|
Flags: needinfo?(styang)
Comment 20•10 years ago
|
||
triage: 1.3T+ partner blocker
blocking-b2g: 1.3T? → 1.3T+
Flags: needinfo?(jcheng)
Comment 21•10 years ago
|
||
This patch is squashed from attachment 8414156 [details] [diff] [review] and 8414326, please merge this one.
Attachment #8414156 -
Attachment is obsolete: true
Attachment #8414326 -
Attachment is obsolete: true
Attachment #8414378 -
Flags: review+
Comment 22•10 years ago
|
||
Hi Yang, I think you can merge this patch to 1.3t by yourself so your name can be kept in commit history.
Flags: needinfo?(yang.zhao)
Comment 23•10 years ago
|
||
Hi Yang: please check-in bug-995940-patch to 1.3t.
Flags: needinfo?(ttsai) → needinfo?(james.zhang)
Comment 24•10 years ago
|
||
(In reply to thomas tsai from comment #23) > Hi Yang: please check-in bug-995940-patch to 1.3t. Hi Yang, I just help you commit the patch to gaia master with your name https://github.com/mozilla-b2g/gaia/commit/2ca4964e6d6eacae35c439e84f69e7e48f456f07 Please uplift this commit to 1.3t. Thanks!
Comment 25•10 years ago
|
||
(In reply to Evelyn Hung [:evelyn] from comment #24) > (In reply to thomas tsai from comment #23) > > Hi Yang: please check-in bug-995940-patch to 1.3t. > > Hi Yang, > I just help you commit the patch to gaia master with your name > https://github.com/mozilla-b2g/gaia/commit/ > 2ca4964e6d6eacae35c439e84f69e7e48f456f07 > > Please uplift this commit to 1.3t. Thanks! Already merge it before this comment. commit:77ba36a191dfc950bc097fcc0f92fb749ac07c2a
Flags: needinfo?(yang.zhao)
Updated•10 years ago
|
Updated•10 years ago
|
Flags: needinfo?(james.zhang)
Comment 26•10 years ago
|
||
Delphine - Wouldn't we also need this patch on 1.4? There is phones shipping in 1.4 with DSDS support to my understanding.
Flags: needinfo?(lebedel.delphine)
Comment 27•10 years ago
|
||
Yes, we should get this into 1.4 if it's not too late
Flags: needinfo?(lebedel.delphine)
Comment 28•10 years ago
|
||
Evelyn - Can you ask for 1.4 approval?
Flags: needinfo?(ehung)
Whiteboard: [sprd295789][partner-blocker] → [sprd295789][partner-blocker][1.4-approval-needed]
Comment 29•10 years ago
|
||
Comment on attachment 8414378 [details] [diff] [review] bug-995940-patch NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] [Bug caused by] (feature/regressing bug #): a lost string id [User impact] if declined: a string won't be localized [Testing completed]: yes [Risk to taking this patch] (and alternatives if risky): No [String changes made]: add a l10n-id 'simSettings'
Attachment #8414378 -
Flags: approval-gaia-v1.4?(21)
Flags: needinfo?(ehung)
Comment 30•10 years ago
|
||
(In reply to Delphine Lebédel [:delphine - use needinfo] from comment #27) > Yes, we should get this into 1.4 if it's not too late Just to double check: you're aware that this patch breaks string freeze on 1.4, right?
Flags: needinfo?(lebedel.delphine)
Comment 31•10 years ago
|
||
Comment on attachment 8414378 [details] [diff] [review] bug-995940-patch The patch looks good but let's forward approvals to fabrice :)
Attachment #8414378 -
Flags: approval-gaia-v1.4?(21) → approval-gaia-v1.4?(fabrice)
Comment 32•10 years ago
|
||
I strongly suggest to not take this for 1.4
Comment 33•10 years ago
|
||
(In reply to Axel Hecht [:Pike] from comment #32) > I strongly suggest to not take this for 1.4 I disagree on this. DSDS is a requirement for Dolphin & this a front-facing feature in the settings app for DSDS. This has to be translated. Otherwise, we will likely not survive certification.
Comment 34•10 years ago
|
||
See comment 4, we can just work around this string.
Comment 35•10 years ago
|
||
(In reply to Axel Hecht [:Pike] from comment #34) > See comment 4, we can just work around this string. Ok - should we open a new bug then to get that implemented for 1.4?
Comment 36•10 years ago
|
||
In other areas of mozilla, it's totally fine to do per-branch patches in one bug. Not really my call.
Comment 37•10 years ago
|
||
Yes, dolphin project is on going.
Updated•10 years ago
|
status-b2g-v1.4:
--- → affected
Comment 38•10 years ago
|
||
Comment on attachment 8414378 [details] [diff] [review] bug-995940-patch Review of attachment 8414378 [details] [diff] [review]: ----------------------------------------------------------------- I'm not doing 1.4 approvals.
Attachment #8414378 -
Flags: approval-gaia-v1.4?(fabrice) → approval-gaia-v1.4?(release-mgmt)
Updated•10 years ago
|
Attachment #8414378 -
Flags: approval-gaia-v1.4?(release-mgmt)
Comment 39•10 years ago
|
||
Please provide a different patch that reuses an existing string named settings. l10n seems to be nervous taking this in 1.4
Flags: needinfo?(ehung)
Comment 40•10 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #30) > (In reply to Delphine Lebédel [:delphine - use needinfo] from comment #27) > > Yes, we should get this into 1.4 if it's not too late > > Just to double check: you're aware that this patch breaks string freeze on > 1.4, right? Sorry, I read this bug a bit too quickly and misread Jason's comment :/ I agree with Flod and Pike. Let's do per comment 4
Flags: needinfo?(lebedel.delphine)
Comment 41•10 years ago
|
||
EJ, can you help this case? Thanks!
Flags: needinfo?(ehung) → needinfo?(ejchen)
Assignee | ||
Comment 43•10 years ago
|
||
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] [Bug caused by] (feature/regressing bug #): [User impact] if declined: users would see unlocalized string on screen [Testing completed]: no, just add an data-id on the element. [Risk to taking this patch] (and alternatives if risky): low [String changes made]: no
Attachment #8426767 -
Flags: review?(arthur.chen)
Attachment #8426767 -
Flags: approval-gaia-v1.4?
Comment 44•10 years ago
|
||
Comment on attachment 8426767 [details] [review] patch on v1.4 Please make the default text consistent to the string specified in the localization file, thanks.
Attachment #8426767 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 45•10 years ago
|
||
Comment on attachment 8426767 [details] [review] patch on v1.4 Arthur, I just fixed the nits. Thanks :)
Attachment #8426767 -
Flags: review?(arthur.chen)
Comment 46•10 years ago
|
||
Comment on attachment 8426767 [details] [review] patch on v1.4 r=me, thanks.
Attachment #8426767 -
Flags: review?(arthur.chen) → review+
Assignee | ||
Comment 47•10 years ago
|
||
Cool, thanks Arthur. Let's wait for 1.4 approval ! :D
Comment 48•10 years ago
|
||
Comment on attachment 8426767 [details] [review] patch on v1.4 Taking for 1.4
Attachment #8426767 -
Flags: approval-gaia-v1.4? → approval-gaia-v1.4+
Assignee | ||
Comment 49•10 years ago
|
||
Thanks all, merged the v1.4 patch into Gaia/v1.4 : 60e32bc9334eb21f1ae9b6fef187aab131b837cf
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•