diff --git a/localized_js.php b/localized_js.php index 46dbe2961..3e1c31e56 100644 --- a/localized_js.php +++ b/localized_js.php @@ -30,6 +30,10 @@ function __(msg) { } } +function ngettext(msg1, msg2, n) { + return (parseInt(n) > 1) ? msg2 : msg1; +} +