diff options
author | Marc Schumann <wurblzap@gmail.com> | 2012-04-15 00:02:17 +0200 |
---|---|---|
committer | Marc Schumann <wurblzap@gmail.com> | 2012-04-15 00:02:17 +0200 |
commit | 90225246accea4319d6a1a2ce7b28af5c8e30184 (patch) | |
tree | dc18b82a5a7f99d1fbae920cdec3407c73967959 /js/comments.js | |
parent | dd288903e2a64d3f012987fcb676a1bce45ab41f (diff) | |
download | bugzilla-90225246accea4319d6a1a2ce7b28af5c8e30184.tar.gz bugzilla-90225246accea4319d6a1a2ce7b28af5c8e30184.tar.xz |
Comment toggling text is not localizable because it's in a .js file.
r/a=LpSolit
https://bugzilla.mozilla.org/show_bug.cgi?id=745460
Diffstat (limited to 'js/comments.js')
-rw-r--r-- | js/comments.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/js/comments.js b/js/comments.js index f46499b62..e7163a0fd 100644 --- a/js/comments.js +++ b/js/comments.js @@ -67,13 +67,11 @@ function toggle_all_comments(action) { function collapse_comment(link, comment) { link.innerHTML = "[+]"; - link.title = "Expand the comment."; YAHOO.util.Dom.addClass(comment, 'collapsed'); } function expand_comment(link, comment) { link.innerHTML = "[-]"; - link.title = "Collapse the comment"; YAHOO.util.Dom.removeClass(comment, 'collapsed'); } @@ -127,11 +125,11 @@ function wrapReplyText(text) { /* This way, we are sure that browsers which do not support JS * won't display this link */ -function addCollapseLink(count) { +function addCollapseLink(count, title) { document.write(' <a href="#" class="bz_collapse_comment"' + ' id="comment_link_' + count + '" onclick="toggle_comment_display(this, ' + count + - '); return false;" title="Collapse the comment.">[-]<\/a> '); + '); return false;" title="' + title + '">[-]<\/a> '); } function goto_add_comments( anchor ){ |