mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-06-27 16:10:28 +08:00
Fixed bugs introduced in i18n.
This commit is contained in:
@@ -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
@@ -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>';
|
||||
|
||||
Reference in New Issue
Block a user