Closed
Bug 991090
Opened 11 years ago
Closed 11 years ago
[Camera] "Options" is not localizable
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Firefox OS Graveyard
Gaia::Camera
Tracking
(b2g-v1.4 verified, b2g-v2.0 verified)
VERIFIED
FIXED
1.4 S5 (11apr)
People
(Reporter: flod, Assigned: wilsonpage)
References
Details
(Keywords: late-l10n)
Attachments
(1 file)
I'm currently testing master with the new Camera: the main title "Options" is not available in the .properties file, therefore it's not localized.
Not sure if it's just the string missing or need to be fixed in the code as well.
Reporter | ||
Updated•11 years ago
|
Summary: "Options" is not localizable → [Camera] "Options" is not localizable
Comment 1•11 years ago
|
||
Oops, didn't even notice since we use the same word in French :\
Looks hardcoded, yes:
in apps/camera/js/views/settings.js
line 95: '<h2 class="settings_title">Options</h2>' +
Reporter | ||
Comment 2•11 years ago
|
||
Right
https://github.com/mozilla-b2g/gaia/blob/master/apps/camera/js/views/settings.js#L95
Wilson, can you help me out or direct me to the right person for this question? I'm not familiar with the approach.
Take for example this line
https://github.com/mozilla-b2g/gaia/blob/master/apps/camera/js/config/settings.js#L59
Is this "back" a l10n-id that should be available in the .properties file?
Flags: needinfo?(wilsonpage)
Assignee | ||
Comment 3•11 years ago
|
||
Sure I can take this.
The 'back' title is actually never displayed. We should probably remove it to avoid confusion.
Flags: needinfo?(wilsonpage)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → wilsonpage
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8400736 -
Flags: review?(francesco.lodolo)
Attachment #8400736 -
Flags: review?(dmarcos)
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 8400736 [details] [review]
pull-request (master)
Looks good to me. Can you make sure other strings in there are not actually used?
Attachment #8400736 -
Flags: review?(francesco.lodolo) → feedback+
Updated•11 years ago
|
Attachment #8400736 -
Flags: review?(dmarcos) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Removed additional unused keys from config/settings.js
Assignee | ||
Comment 7•11 years ago
|
||
Landed on 'master': https://github.com/mozilla-b2g/gaia/commit/99c3fd7a68790173939b9df891c7a8b384c613d4
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 8•11 years ago
|
||
Bulk edit for camera bugs.
If earlier comments do not show how this bug landed to master, it probably landed as part of https://github.com/mozilla-b2g/gaia/pull/17599 which merged the camera-new-features branch into master.
This bug was uplifted from master to v1.4 as part of https://github.com/mozilla-b2g/gaia/commit/a8190d08e61316a86bba572ba8d894d081a20530
Verified the bug is fixed on 1.4 and master
the "Options" in camera is localizable now.
1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140407000203
Gaia: 86de7fcce674ef6196d68e7e23552d219a3d72db
Gecko: 6e028297be14
Version: 30.0a2
Firmware Version: v1.2-device.cfg
1.5 Environmental Variables:
Device: Buri 1.5 MOZ
BuildID: 20140407040202
Gaia: f1a98bfaa3ab2480945bd7018831fd56c61cdc24
Gecko: 5405d6f4e3c6
Version: 31.0a1
Firmware Version: v1.2-device.cfg
You need to log in
before you can comment on or make changes to this bug.
Description
•