mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
localized_js: add ngettext
This commit is contained in:
@@ -30,6 +30,10 @@ function __(msg) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function ngettext(msg1, msg2, n) {
|
||||||
|
return (parseInt(n) > 1) ? msg2 : msg1;
|
||||||
|
}
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$l10n = _get_reader();
|
$l10n = _get_reader();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user