Closed Bug 846494 Opened 11 years ago Closed 11 years ago

[B2G]Localization: Reboot menu screen has overlapping strings and translation problem on multiple languages

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 verified, b2g-v1.1hd fixed)

VERIFIED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- verified
b2g-v1.1hd --- fixed

People

(Reporter: nkot, Assigned: mihai)

References

Details

(Whiteboard: LocRun1 [LeoVB-])

Attachments

(6 files)

Attached image Hrvatski
Description:
Reboot menu screen has overlapping strings when switch to different languages, Slovenčina is left untranslated

Repro Steps:
1) Updated to Unagi Build ID: 20130228070201
2) Open Settings app
3) Select Language
4) Select "Hrvatski"
5) Tap OK
6) Longpress power button to bring up reboot menu screen
7) Repeat steps 2-6 for Nederlands, Polski, Русский, and Slovenčina languages

Expected:
- reboot menu options are translated to selected language and look properly

Actual:
- some overlapping strings
- "Slovenčina" screen is not translated, all options shown in English

Repro frequency:
100%

Environmental  Variables:
Kernel Date: Dec 5
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/3867fca22e3d
Gaia: a41c7921fbf0839b894f277261dad4a22507f979

*screenshots attached
Attached image Nederlands
Attached image Polski
Attached image Русский
Attached image Slovenčina
Component: Gaia → Gaia::System
The string for "Restart" is overlapping. The screenshot is already attached on comment 1. 

This issue repros when the user sets the language to Nederlands.
Unagi Build ID: 20130605070207
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/09dc1ae3b1b5
Gaia: 92a6e36957145cdb2ac8867e5cdba8ecf12308fc
Whiteboard: LocRun1
Asking UX for a possible solution here: should those strings be truncated with ellipsis or split on multiple lines without overlapping?
Flags: needinfo?(firefoxos-ux-bugzilla)
Assignee: nobody → mihai
blocking-b2g: --- → leo?
Assigning to Francis since Rob is out, and the expected behavior for this keeps coming up (note to self to document and share it)!
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(fdjabri)
I think the best behavior here would be to wrap the text over multiple lines rather than truncating with ellipsis and this is the approach that we've followed elsewhere - e.g., like in the FTE list of cities.
Flags: needinfo?(fdjabri)
Sleep menu labels that overflow for certain locales are now displayed on multiple lines without overlapping other labels.
Attachment #769955 - Flags: review?(alive)
Comment on attachment 769955 [details]
Pull Request #10729 - Break overflowing labels on multiple lines

simple css change, r=alive.
Attachment #769955 - Flags: review?(alive) → review+
Thanks, Alive!

Landed on master:
https://github.com/mozilla-b2g/gaia/commit/c9beb369584e11e34d562164376036e55eec54f7
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
blocking-b2g: leo? → leo+
Looking good, build 20130703002432 set to dutch. Thanks
I was not able to uplift this bug to v1-train.  If this bug has dependencies which are not marked in this bug, please comment on this bug.  If this bug depends on patches that aren't approved for v1-train, we need to re-evaluate the approval.  Otherwise, if this is just a merge conflict, you might be able to resolve it with:

  git checkout v1-train
  git cherry-pick -x -m1 c9beb369584e11e34d562164376036e55eec54f7
  <RESOLVE MERGE CONFLICTS>
  git commit
Flags: needinfo?(mihai)
Created a new pull request that fixes the merge conflict: https://github.com/mozilla-b2g/gaia/pull/10850

Alive, can you have a look and uplift to v1-train if everything is good?
Flags: needinfo?(mihai) → needinfo?(alive)
Verified fixed on v1 train, for all shipping locales
(July 9th build, Moz Ril, Leo phone)
Status: RESOLVED → VERIFIED
v1.1.0hd: cd41b9fea83b326128a15f88e7068343ee626a38
v1.1.0hd: b73696f0548b30b6c0ec94b314c2c313f4f23ef6
Whiteboard: LocRun1 → LocRun1 [LeoVB-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: