1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 11:51:27 +00:00

localized_js: add ngettext

This commit is contained in:
Andrew Dolgov
2013-03-24 20:08:18 +04:00
parent 8850646ff3
commit fcbed87b20

View File

@@ -30,6 +30,10 @@ function __(msg) {
}
}
function ngettext(msg1, msg2, n) {
return (parseInt(n) > 1) ? msg2 : msg1;
}
<?php
$l10n = _get_reader();