Closed
Bug 485146
Opened 16 years ago
Closed 15 years ago
"Time remaining" text is cut off in Swedish localization (in ProgressView.nib)
Categories
(Camino Graveyard :: Translations, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: markus, Assigned: markus)
Details
(Keywords: fixed1.8.1.23)
Attachments
(4 files)
No description provided.
Assignee | ||
Comment 1•16 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•16 years ago
|
||
Assignee | ||
Comment 3•16 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•16 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•16 years ago
|
||
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•16 years ago
|
||
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•16 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
Comment 14•16 years ago
|
||
(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•16 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•16 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•15 years ago
|
||
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
Closed: 15 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.
Description
•