Closed
Bug 1028351
Opened 10 years ago
Closed 10 years ago
[Vertical] "Vertical" App name should be localized
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(blocking-b2g:2.0+, b2g-v2.0 fixed, b2g-v2.1 fixed)
People
(Reporter: theo, Unassigned)
References
Details
(Keywords: late-l10n, Whiteboard: [systemsfe])
Attachments
(2 files, 1 obsolete file)
See the attached screenshot, the App name is currently not localized. We should either: - Add it to the localized manifest file - Remove all the occurrences from the UI If we choose to localize it, we need the strings to be landed by the end of the day on 2.0.
Comment 1•10 years ago
|
||
Theo - Will this do the trick? We're a bit short on reviewers, so if it looks good to you, your R+ stamp would be appreciated.
Attachment #8443661 -
Flags: review?(tchevalier)
Comment 2•10 years ago
|
||
Comment on attachment 8443661 [details] [review] Github pull request Or maybe you could take a look at this James if Theo can't get to it? Json hard.
Attachment #8443661 -
Flags: review?(jlal)
Comment 3•10 years ago
|
||
Comment on attachment 8443661 [details] [review] Github pull request IMO- "Vertical" is a terrible name to present to the user. Asking for a better name from UX
Attachment #8443661 -
Flags: review?(jlal) → review-
Flags: needinfo?(jsavory)
Updated•10 years ago
|
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking+]
Updated•10 years ago
|
Whiteboard: [systemsfe]
Comment 4•10 years ago
|
||
Comment on attachment 8443661 [details] [review] Github pull request James - better now? :)
Attachment #8443661 -
Flags: review- → review?(jlal)
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #4) > Comment on attachment 8443661 [details] [review] > Github pull request > > James - better now? :) Or just "Vertical Homescreen"? Because in 2.1 we'll have both horizontal and vertical homescreen (If I understood correctly). Or we'll change the name in 2.1? Thanks Kevin, I'll test your patch by adding the translations to this file https://hg.mozilla.org/gaia-l10n/fr/file/956f23726cf1/apps/verticalhome/manifest.properties
Comment 6•10 years ago
|
||
I don't really know what we will have in 2.1, so because of that I think sticking with just "Homescreen" probably makes sense for now while we only have one option. Let's change it in the future if we need to.
Reporter | ||
Comment 7•10 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #6) > I don't really know what we will have in 2.1, so because of that I think > sticking with just "Homescreen" probably makes sense for now while we only > have one option. Let's change it in the future if we need to. Ok About the patch, I think you'll need JS to explicitly get the translations from manifest.properties file on each place where the name is displayed. But I'll try your patch anyway, I may be wrong.
Reporter | ||
Comment 8•10 years ago
|
||
Comment on attachment 8443661 [details] [review] Github pull request Ok, I added the two strings to the italian file: https://hg.mozilla.org/gaia-l10n/it/file/f712f214e67e/apps/verticalhome/manifest.properties name= This is a test description=This is another test Then I flashed my phone and the App name was localized. However I went back to another locale which doesn't have the strings (French here), and it displays this string instead https://hg.mozilla.org/gaia-l10n/fr/file/956f23726cf1/apps/system/manifest.properties#l1 Also, not sure how to get the strings added to the en-US l10n repository.
Attachment #8443661 -
Flags: review?(tchevalier)
Comment 9•10 years ago
|
||
AFAIK, all we are supposed to do is supply the value in the manifest.webapp and it should work. Not really what else we should do from our side as I'm not too familiar with how the manifests are localized.
Comment 10•10 years ago
|
||
As Kevin suggested, "Homescreen" works for me and is much better than "Vertical".
Flags: needinfo?(jsavory)
Reporter | ||
Comment 11•10 years ago
|
||
Let's hope "en-US": { "name": "Homescreen", "description": "Gaia Homescreen" } will do the trick, and the string will be automatically added to https://hg.mozilla.org/gaia-l10n/en-US/file/c9b6166c0d0f/apps/verticalhome/manifest.properties
Reporter | ||
Comment 12•10 years ago
|
||
Comment on attachment 8443661 [details] [review] Github pull request As stated on #c1, I'm not a reviewer, but stamping this one since I can get the App name localized on my phone. Thanks Kevin! I'll talk to RelMan to get the bug 2.0+
Attachment #8443661 -
Flags: review?(jlal) → review+
Updated•10 years ago
|
blocking-b2g: 2.0? → 2.0+
Comment 13•10 years ago
|
||
Landed: https://github.com/mozilla-b2g/gaia/commit/49ebd48acdf9938dd00adbfec7955a24975411d7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 14•10 years ago
|
||
[v2.0 dbadf13] Merge pull request #20819 from KevinGrandon/bug_1028351_vertical_manifest_localization
status-b2g-v2.0:
--- → fixed
Comment 15•10 years ago
|
||
Reverting for breaking a gaia ui test: https://github.com/mozilla-b2g/gaia/commit/64eab1784877cf939f6af40242e75ba204f65c20 https://github.com/mozilla-b2g/gaia/commit/b0ca5d7bc14e2b115ca4cef68e30cce4c36fe667 We will fix the test and get this re-landed. Sorry about that.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 16•10 years ago
|
||
Ok, updated the hardcoded values in the tests, which I didn't expect to be there. Sorry about that, waiting for a green build this time. Carrying the review as the test changes are minor.
Attachment #8443661 -
Attachment is obsolete: true
Attachment #8443802 -
Flags: review+
Comment 17•10 years ago
|
||
Ok, we have some green runs now, so landing again: https://github.com/mozilla-b2g/gaia/pull/20798 Master: https://github.com/mozilla-b2g/gaia/commit/7fc68e666e1e3c4c4d76103e2d8ea6d47a5904f5 2.0: https://github.com/mozilla-b2g/gaia/commit/c0bbfc2e09cb1f392b49c3bfa08af0426aefbbd9
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
status-b2g-v2.1:
--- → fixed
Resolution: --- → FIXED
Updated•10 years ago
|
Target Milestone: --- → 2.0 S5 (4july)
You need to log in
before you can comment on or make changes to this bug.
Description
•