Fixed bugs introduced in i18n.

This commit is contained in:
Kerrick Long
2011-07-17 23:06:44 -05:00
parent df86bf20e3
commit 7cd3d6b4cc
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -340,10 +340,10 @@
"message": "to"
},
"add_comment_zero": {
"message": "add to the one comment"
"message": "add a comment"
},
"add_comment_one": {
"message": "add a comment"
"message": "add to the one comment"
},
"add_comment_many": {
"message": "add to the $NUM$ comments",
@@ -358,7 +358,7 @@
"message": "Leave a comment"
},
"stale_posts_hiding": {
"message": "Hiding $NUM$ stale posts. $BEGIN_LINK_SHOW$Show them now$END_LINK_SHOW, or visit the $BEGIN_LINK_OPTIONS$options page$END_LINK_OPTIONS$ to change your Fresh Content preferences.",
"message": "Hiding $NUM$ stale posts. $BEGIN_LINK_SHOW$Show them now$END_LINK_SHOW$, or visit the $BEGIN_LINK_OPTIONS$options page$END_LINK_OPTIONS$ to change your Fresh Content preferences.",
"placeholders": {
"NUM": {
"content": "$1",
+2 -2
View File
@@ -784,10 +784,10 @@ Popup.prototype.createListHTML = function (url) {
listHTML += '<a class="comments" onclick="popup.showCommentForm(\'' + data.name + '\')">' + chrome.i18n.getMessage('add_comment_zero') + '</a>';
break;
case 1:
listHTML += '<a class="comments" onclick="popup.showCommentForm(\'' + data.name + '\')">' + chrome.i18n.getMessage('add_comment_zero') + '</a>';
listHTML += '<a class="comments" onclick="popup.showCommentForm(\'' + data.name + '\')">' + chrome.i18n.getMessage('add_comment_one') + '</a>';
break;
default:
listHTML += '<a class="comments" onclick="popup.showCommentForm(\'' + data.name + '\')">' + chrome.i18n.getMessage('add_comment_zero', data.num_comments.toString()) + '</a>';
listHTML += '<a class="comments" onclick="popup.showCommentForm(\'' + data.name + '\')">' + chrome.i18n.getMessage('add_comment_many', data.num_comments.toString()) + '</a>';
break;
}
listHTML += '<a class="share">' + chrome.i18n.getMessage('action_share') + '</a>';