Closed
Bug 680117
Opened 14 years ago
Closed 14 years ago
Footer string in the new Add-on selection window should wrap to fit long localizations
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla9
People
(Reporter: flod, Assigned: Unfocused)
References
Details
(Keywords: verified-beta, Whiteboard: [qa!])
Attachments
(2 files)
83.89 KB,
image/png
|
Details | |
1.27 KB,
patch
|
mossop
:
review+
blizzard
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
In Italian we have a very long localization for the footer string "You can always change your add-ons by going to the Add-ons Manager." (footer.label in /chrome/mozapps/extensions/selectAddons.dtd).
In the second page of the wizard this string is displayed with two buttons ("Back" and "Done"), so in order to fit all elements we have a very wide window (128ch vs 93ch in en-US). If this string could wrap on two lines and leave enough space for the buttons, we could use a much narrower window.
Reporter | ||
Comment 1•14 years ago
|
||
Updated•14 years ago
|
Blocks: 596343
tracking-firefox8:
--- → ?
Assignee | ||
Comment 2•14 years ago
|
||
This is stupid.
Reporter | ||
Comment 3•14 years ago
|
||
> This is stupid.
Care to explain?
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to flod (Francesco Lodolo) from comment #3)
> Care to explain?
Sorry, I meant that the way labels work with wrapping is stupid. You're meant to be able to just add text as a child element to make it wrap (as opposed to using the value attribute). Which is what the code already does - so it was *meant* to wrap already :\
Comment 5•14 years ago
|
||
I've noticed too that wrapping does not occur without the flex, though it could depend on the container.
Why label and not description? I guess they do the same thing when used like this.
Assignee | ||
Comment 6•14 years ago
|
||
(In reply to Brian King (Briks) [:kinger] from comment #5)
> Why label and not description? I guess they do the same thing when used like
> this.
I considered changing it, but ultimately decided it was unnecessary code change. AFAIK there's no functional difference when using it like this - just semantic difference in the code. (Someone correct me if I'm wrong, but I don't think they're exposed differently to accessibility APIs.)
Comment 7•14 years ago
|
||
Comment on attachment 554319 [details] [diff] [review]
Patch v1
Review of attachment 554319 [details] [diff] [review]:
-----------------------------------------------------------------
XUL!
Attachment #554319 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 8•14 years ago
|
||
Flags: in-testsuite-
Flags: in-litmus-
Whiteboard: [fixed-in-fx-team]
Comment 9•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla9
Comment 10•14 years ago
|
||
This looks like something we would want to take on aurora as well?
Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 554319 [details] [diff] [review]
Patch v1
(In reply to Axel Hecht [:Pike] from comment #10)
> This looks like something we would want to take on aurora as well?
I think so. Minimal risk.
Attachment #554319 -
Flags: approval-mozilla-aurora?
Comment 12•14 years ago
|
||
Comment on attachment 554319 [details] [diff] [review]
Patch v1
Approved for Aurora (Update 8.) Please land it as soon as possible. Thanks!
Attachment #554319 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 13•14 years ago
|
||
Updated•14 years ago
|
status-firefox8:
--- → fixed
Comment 14•14 years ago
|
||
It's enough to update from Aurora 8.0a2 to 9.0a2 and the same thing for nightly in order to verify this? How can I verify this on beta?
Thanks
Comment 15•14 years ago
|
||
(In reply to Vlad [QA] from comment #14)
> It's enough to update from Aurora 8.0a2 to 9.0a2 and the same thing for
> nightly in order to verify this? How can I verify this on beta?
> Thanks
Upgrading from Fireflx 7 to Firefox 8b should show the UI, doing so in an affected locale (like Italian) would probably be the best test.
Comment 16•14 years ago
|
||
I have followed the advice from comment15 in order to verify this bug.
I've upgraded from Firefox 7b6 to Firefox 8b2 and with the it locale I get a more wider window but the text in the second window (the one with two buttons: back and done) is wrapped on two lines. The same is on the en-us locale.
Is this intended?
Thanks
Assignee | ||
Comment 17•14 years ago
|
||
(In reply to Vlad [QA] from comment #16)
> is wrapped on two lines.
Yep, this fix was to make that wrap.
Comment 19•14 years ago
|
||
Actually, I think we can mark this verified based on comment 17 and comment 16.
You need to log in
before you can comment on or make changes to this bug.
Description
•