summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorgsomgsomgsom <[email protected]>2013-07-17 00:36:37 +0400
committergsomgsomgsom <[email protected]>2013-07-17 00:36:37 +0400
commitbe5e469d65db5a7b6ff83faa48a4b1d547ccb36c (patch)
tree596c3e9fed0351bcc7a64b69c91dcfcc9c6482af /include
parentaefed7f75cae38b16b741c50743cfe1e44a71119 (diff)
Fix plural forms localization in js. Updated russian locale
Diffstat (limited to 'include')
-rw-r--r--include/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index 58aad1113..6312fa761 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -4283,8 +4283,8 @@
$orig = $l10n->get_original_string($i);
if(strpos($orig, "\000") !== FALSE) { // Plural forms
$key = explode(chr(0), $orig);
- print T_js_decl($key[0], ngettext($key[0], $key[1], 1)); // Singular
- print T_js_decl($key[1], ngettext($key[0], $key[1], 2)); // Plural
+ print T_js_decl($key[0], _ngettext($key[0], $key[1], 1)); // Singular
+ print T_js_decl($key[1], _ngettext($key[0], $key[1], 2)); // Plural
} else {
$translation = __($orig);
print T_js_decl($orig, $translation);