"Time remaining" text is cut off in Swedish localization (in ProgressView.nib)

RESOLVED FIXED

Status

Camino Graveyard
Translations
RESOLVED FIXED
9 years ago
8 years ago

People

(Reporter: Markus Amalthea Magnuson, Assigned: Markus Amalthea Magnuson)

Tracking

({fixed1.8.1.23})

unspecified
PowerPC
Mac OS X
fixed1.8.1.23

Details

Attachments

(4 attachments)

Comment hidden (empty)
(Assignee)

Comment 1

9 years ago
When the text showing the time left for a download to finish switches to the line "Less than 10 seconds" in the Swedish localization ("Mindre än 10 sekunder"), it is instead cut off and says "Mindre än 10". See screenshot. I don't know if this is the case in any other localizations, can any localizer check this out?
Summary: Time left-text → "Time left"-text is cut of in Swedish localization
(Assignee)

Comment 2

9 years ago
Created attachment 369243 [details]
Line cut off at "Less than 10" instead of "Less than 10 seconds"
(Assignee)

Comment 3

9 years ago
Uhm, this is in Camino 2.0b2 by the way. Sorry for the bugspam.
Are we not using middle truncation here?  Or is that view just really wacky?
(Assignee)

Comment 5

9 years ago
It should not truncate at all, the progressbar should be shorter so that the whole line of text fits.
I checked German on 1.6.6, where (ironically) the text is longer, and that was fine, whereas Swedish shows the same bug.

If you've checked for nulls in the Localizable.strings, we're going to have to have someone look at the code and see what's wrong (I think your ProgressView.nib looks OK in 1.6.6).
(In reply to comment #4)
> Are we not using middle truncation here?  Or is that view just really wacky?

To answer my own question, that particular line of text is set to word-wrap.  However, if the progress bar is supposed to shrink, I'm not sure what's going on (OS bug?).

Markus, do you think this used to work OK on 10.3 or 10.4?  Also, if you try other Line Breaking styles in IB, does it make a difference?
Summary: "Time left"-text is cut of in Swedish localization → "Time remaining" text is cut off in Swedish localization (in ProgressView.nib)
(Assignee)

Comment 8

9 years ago
Created attachment 379667 [details]
Wrap options for text fields in IB.

It is already set to Word Wrap, I am not sure what you mean. This is the text field with the time string in ProgressView.nib, just to be clear.
(In reply to comment #8)
> It is already set to Word Wrap, I am not sure what you mean. This is the text
> field with the time string in ProgressView.nib, just to be clear.

Try choosing the other wrap options and see if it makes a difference there, or if part of the text still gets cut off.
(Assignee)

Comment 10

9 years ago
Created attachment 379717 [details]
Middle truncation.

Yes, if I change it to middle truncation it behaves that way, as expected. See screenshot.

If I enlargen the text field by a few pixels the row fits. Now that I think of it, I am not sure that the progress bar is supposed to change size the way I described earlier. It just uses regular autosizing, which means that the text field always need to start with a width that can accomodate the longest possible text string, which seems to be "Mindre än 10 sekunder" I guess.
Markus, is your conclusion here that this is a localization "bug"?  (I noticed that the view was wider in German than it is in English, which I think supports your theory.)  If so, can you make that change and ship it in 1.6.8?
(Assignee)

Comment 12

9 years ago
Yes, it is. But we should note somewhere that localizers are supposed to resize the text field according to the widest possible text string.
(In reply to comment #12)
> Yes, it is. But we should note somewhere that localizers are supposed to resize
> the text field according to the widest possible text string.

Yeah, we currently have a couple of other nibs that need special treatment of some sort (FindBar*, Popup Blocker, Bookmarks parts of MainMenu) and more to come in 2.0, so we probably need a page on cl10n.  

The closest page I can find would be http://cl10n.rwx.it/how-to/l10n-qa but it's not really it, since that's more "after-the-fact checking" than advice on doing it right to begin with.
Component: Downloading → Translations
QA Contact: downloading → translations
(In reply to comment #13)
> (In reply to comment #12)
> > Yes, it is. But we should note somewhere that localizers are supposed to resize
> > the text field according to the widest possible text string.
> 
> Yeah, we currently have a couple of other nibs that need special treatment of
> some sort (FindBar*, Popup Blocker, Bookmarks parts of MainMenu) and more to
> come in 2.0, so we probably need a page on cl10n.  

How about sending an email to the mailing list listing what needs attention ?
(Assignee)

Comment 15

9 years ago
I think putting it on the mentioned checklist is fine, the check cannot be be done until translation of that nib is done anyway. Or we add another page with information on nib specific stuff.

Sending an email is also good, but not a replacement for something permanent for future localizers.

Comment 16

9 years ago
I think the 1.6.x fix has slipped under the radar for Camino 1.6.8. Sorry.
Should we transform (and reword) the bug into a cl10n website/documentation bug?
Setting this to 1.6.9? so that hopefully we'll all manage to remember to get this change in sv.lproj for 1.6.9.
Assignee: nobody → markus.magnuson
Flags: camino1.6.9?
Markus, please remember to send the fixed nib to Marcello for 1.6.9 :)
(Assignee)

Comment 19

8 years ago
Created attachment 395183 [details]
Corrected Swedish nib

Here's the updated Swedish nib, I used the one from 1.6.8 ML.
Marking FIXED because I have an ML dmg with the fix in it. :)  Thanks, guys!
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Flags: camino1.6.9? → camino1.6.9+
Keywords: fixed1.8.1.23
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.