summaryrefslogtreecommitdiff
path: root/plugins/digest/digest.js
diff options
context:
space:
mode:
authorTomas Chvatal <[email protected]>2013-03-24 13:32:03 +0100
committerTomas Chvatal <[email protected]>2013-03-24 13:32:03 +0100
commit49807c2b3db1f7c9a480d2fccadab036d4a0c422 (patch)
tree5e62befd10e9b6d93a12d7dbb2fafa4e073356d3 /plugins/digest/digest.js
parentf5c1fef9cdd1b132af57e4a2d472419caa6f4353 (diff)
Fix remaining plural forms to work with gettext.
Diffstat (limited to 'plugins/digest/digest.js')
-rw-r--r--plugins/digest/digest.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/digest/digest.js b/plugins/digest/digest.js
index 197847411..c8a08648c 100644
--- a/plugins/digest/digest.js
+++ b/plugins/digest/digest.js
@@ -68,7 +68,7 @@ function catchup_visible_articles(callback) {
var ids = get_visible_article_ids();
- if (confirm(__("Mark %d displayed articles as read?").replace("%d", ids.length))) {
+ if (confirm(ngettext("Mark %d displayed article as read?", "Mark %d displayed articles as read?", ids.length).replace("%d", ids.length))) {
var query = "?op=rpc&method=catchupSelected" +
"&cmode=0&ids=" + param_escape(ids);
@@ -515,7 +515,7 @@ function redraw_feedlist(feeds) {
$('feeds-content').innerHTML += "<li id='F-MORE-PROMPT'>" +
"<img src='images/blank_icon.gif'>" +
"<a href=\"#\" onclick=\"expand_feeds()\">" +
- __("%d more...").replace("%d", feeds.length-10) +
+ ngettext("%d more...", "%d more...", feeds.length-10).replace("%d", feeds.length-10) +
"</a>" + "</li>";
}