From 3988beb8e294613fb4e9ae47ec1d3d8b8e1c4d23 Mon Sep 17 00:00:00 2001 From: Marc Schumann Date: Sun, 15 Apr 2012 00:02:45 +0200 Subject: 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 --- js/comments.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'js') diff --git a/js/comments.js b/js/comments.js index 703c23e7b..ce61f6ba0 100644 --- a/js/comments.js +++ b/js/comments.js @@ -52,13 +52,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'); } @@ -112,11 +110,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> '); + '); return false;" title="' + title + '">[-]<\/a> '); } function goto_add_comments( anchor ){ -- cgit v1.2.3-24-g4f1b