From 49807c2b3db1f7c9a480d2fccadab036d4a0c422 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sun, 24 Mar 2013 13:32:03 +0100 Subject: Fix remaining plural forms to work with gettext. --- plugins/digest/digest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/digest/digest.js') 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 += "
  • " + "" + "" + - __("%d more...").replace("%d", feeds.length-10) + + ngettext("%d more...", "%d more...", feeds.length-10).replace("%d", feeds.length-10) + "" + "
  • "; } -- cgit v1.2.3