Closed Bug 858819 Opened 11 years ago Closed 9 years ago

[l10n][settings][dutch] label overlaps the toggle in the lockscreen

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g18 affected)

RESOLVED FIXED
Tracking Status
b2g18 --- affected

People

(Reporter: nhirata, Unassigned)

Details

Attachments

(1 file)

Attached image screenshot
## Environment :
Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/1d4c7fe3256e
Gaia   2f64311e0f23b85c29b20be9502cbdeaee8342ae
BuildID 20130405070205
Version 18.0

Master build : 2013-04-05-03-05-43
name="mozilla-central" revision="55f9e3e3dae7"  
name="integration/gaia-central" revision="2005e026bdae"
"gecko.git" revision="66b64f47a4eac1bd4f5ea6748b42ddf732297550"
"gaia.git" revision="15468abcba0dd2549f0c102df887a5c049b9c641"
Unagi
  
## Repro :
1. go to settings
2. go to languages
3. set to ducth (nederlands)
4. go back to settings 
5. go to lockscreen (telefoonvergrendeling)
## Expected :
no overlap of label on switch
## Actual :
overlap of label on switch
## Note :
I think this is two bugs, one that the dutch word Wachtwoordcodevergrendeling is very long for "Passcode lock", and the other that once the localized string is too long, the cropped string overlaps with the control.

Ton, can you shorten the passcode lock string, maybe by strongly relying on teh context and just dropping half of the word?
This is probably one of a number of strings that “are too long”. I have not checked the entire source for them yet, as I don’t trust the emulator (of which the Windows version is still broken), based on the font settings.

‘Wachtwoordcodevergrendeling’ can be considered as the only proper translation, and nobody likes to shorten strings because of too little room for them. Nevertheless, I wanted to change this to ‘Vergrendelen met wachtwoordcode’ - this would need 2 lines, which apparently isn’t possible. I don’t like to change wording or switch the word order in compound words and change their meaning either, so ‘Vergrendelingscode’ is not a real option. Therefore I chose to shorten it to ‘Codevergrendeling’ - this fits in the emulator.

https://hg.mozilla.org/gaia-l10n/nl/rev/e992a14dfa1d

As I wrote in some other bug (and I don’t want to sound moody), I’d like to point out that IMO any developer of any web page or program capable of using more languages than just English should realize his/her design should not be ‘just big enough to make English strings fit’. Instead he/she should have clear understanding of the fact that English is a very compact language, its compound words may use spaces where others may not, and string lengths are generally longer for non-English locales, like appx. +20% for Dutch, German, and probably even more for Italian, Spanish etc. (Ever divided the size of a non-English text file size by the size of an English one?) This ‘design rule’ would save localizers lots of trouble, as well as developers their efforts to use CSS or other tricks, mostly afterwards.

As I’m about to leave for an estimated week in hospital after surgery, feedback may appear a bit low. Feel free to discuss other options or close the bug if satisfied, this string will remain on my radar anyway. ;)
fixed with gaia-switch
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
This was actually fixed for and since b2g18/v1.0 per comment 2.
Resolution: WORKSFORME → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: