Closed
Bug 1126247
Opened 9 years ago
Closed 9 years ago
Hide the Get More Languages link until Marketplace supports langpacks
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Firefox OS Graveyard
Gaia::Settings
Tracking
(b2g-v2.2 fixed, b2g-master fixed)
RESOLVED
FIXED
2.2 S5 (6feb)
People
(Reporter: stas, Assigned: stas)
References
Details
Attachments
(1 file)
46 bytes,
text/x-github-pull-request
|
arthurcc
:
review+
bajaj
:
approval-gaia-v2.2+
|
Details | Review |
Bug 1115798 added the Get More Languages link and bug 1124098 made it only show up on phones. However, until bug 1105530 is fixed and an update to the Marketplace app is deployed, we're missing a major part of the functionality, and the link looks broken. Let's hide it entirely for now and enable it only once bug 1105530 is deployed.
Assignee | ||
Comment 1•9 years ago
|
||
With this patch, the link is hidden unless the l10n.more.showOnAllDevices setting is set to true. Combined with build/config/custom-settings.json, this can be used to enable the link for testing. Once the Marketplace supports langpacks, I'll file another bug to re-add the link to settings_phone.css. This will override the setting and always make the link show up on phones. The setting will continue to control the link on other device types. Arthur, does this sound fine? Also, I'm not sure what the guidelines for naming settings are. Any pointers? I'm not very happy with "l10n.more.showOnAllDevices".
Comment 2•9 years ago
|
||
Comment on attachment 8556171 [details] [review] Pull request It makes less sense to introduce a new key as it is temporary and we still have to modify the code (adding the css back) to show the menu item. How about simply remove the css in this patch?
Attachment #8556171 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 3•9 years ago
|
||
Sure, I can do that. I was just wondering if there was a way to easily show the link for testing purposes. The l10n and the marketplace team would benefit from this during the current dev cycle. Can I comment the CSS out instead of removing it?
Flags: needinfo?(arthur.chen)
Comment 4•9 years ago
|
||
Got it. I was not aware that you need to tweak the menu item for development. To me the settings key is used to pref off the language pack feature, so maybe we can call it "l10n.language-pack.enabled"?
Flags: needinfo?(arthur.chen)
Comment 5•9 years ago
|
||
btw, please make sure this patch gets uplifted to v2.2.
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8556171 [details] [review] Pull request Arthur, I changed my mind on this: adding a new setting is an overkill. As per the IRC chat, the updated pull request uses data-device-type="none" to hide the link temporarily. I tested on my Flame and it works fine. Thanks!
Attachment #8556171 -
Flags: review?(arthur.chen)
Comment 7•9 years ago
|
||
Comment on attachment 8556171 [details] [review] Pull request r=me, thanks!
Attachment #8556171 -
Flags: review?(arthur.chen) → review+
Assignee | ||
Comment 8•9 years ago
|
||
Master: https://github.com/mozilla-b2g/gaia/commit/5479269eb26c006124437c9973e4916aec69d17a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8556171 [details] [review] Pull request [Approval Request Comment] Requesting approval as per comment 5. [Bug caused by] (feature/regressing bug #): langpacks [User impact] if declined: the Marketplace implementation of langpacks isn't ready yet and the Get More Languages link in Settings > Language looks broken because it doesn't do anything. [Testing completed]: on the device [Risk to taking this patch] (and alternatives if risky): low [String changes made]: none
Attachment #8556171 -
Flags: approval-gaia-v2.2?(bbajaj)
Updated•9 years ago
|
Attachment #8556171 -
Flags: approval-gaia-v2.2?(bbajaj) → approval-gaia-v2.2+
Comment 10•9 years ago
|
||
v2.2: https://github.com/mozilla-b2g/gaia/commit/be528ed492362dbbcb802ffe7a65e03fcb263dfc
You need to log in
before you can comment on or make changes to this bug.
Description
•