Closed
Bug 745460
Opened 13 years ago
Closed 13 years ago
Comment toggling text is not localizable because it's in a .js file
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.2
People
(Reporter: Wurblzap, Assigned: Wurblzap)
Details
Attachments
(1 file)
1.56 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
Comment toggling text (the "title" tooltip of the [-] and [+] boxes of comments in show_bug.cgi) is not localizable because it's in a .js file. The attached patch moves the text to a template.
Attachment #615057 -
Flags: review?(LpSolit)
![]() |
||
Comment 1•13 years ago
|
||
I would like a solution where we keep the two current strings. If some comments are collapsed only, the new text is ambiguous as we don't know if it's going to collapse or expand comments.
Assignee | ||
Comment 2•13 years ago
|
||
I don't understand -- the text is about the comment you're seeing, so if it's collapsed, toggling will expand, and if it's expanded, it'll collapse... What's the situation you mean where you cannot see what'll happen?
![]() |
||
Comment 3•13 years ago
|
||
Ah sorry, I had the two links "Collapse All Comments" and "Expand All Comments" in mind. I forgot we had tooltips for the [+] and [-] links. :)
![]() |
||
Comment 4•13 years ago
|
||
Comment on attachment 615057 [details] [diff] [review]
Patch
>=== modified file 'template/en/default/bug/comments.html.tmpl'
>+ addCollapseLink([% count %], 'Toggle comment display.'); // -->
Nit: remove the trailing period. Not very pretty in a tooltip.
I didn't test your patch, but it looks good. And I assume you tested it. So r=LpSolit
Attachment #615057 -
Flags: review?(LpSolit) → review+
![]() |
||
Updated•13 years ago
|
Flags: approval4.2+
Flags: approval+
Assignee | ||
Comment 5•13 years ago
|
||
Committing to: bzr+ssh://wurblzap%40gmail.com@bzr.mozilla.org/bugzilla/4.2/
modified js/comments.js
modified template/en/default/bug/comments.html.tmpl
Committed revision 8074.
Committing to: bzr+ssh://wurblzap%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified js/comments.js
modified template/en/default/bug/comments.html.tmpl
Committed revision 8198.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•