diff options
author | Mario <mario@mariovavti.com> | 2018-10-15 07:58:09 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-10-15 09:58:24 +0200 |
commit | 337e25ad43dd0cbcee2385577c96315557245881 (patch) | |
tree | bec6ca23a891f6a9aae154a48edce31ab04f5b6c /view/ru | |
parent | c60c9b323b7ccd762a4725456a154a492ae12787 (diff) | |
download | volse-hubzilla-337e25ad43dd0cbcee2385577c96315557245881.tar.gz volse-hubzilla-337e25ad43dd0cbcee2385577c96315557245881.tar.bz2 volse-hubzilla-337e25ad43dd0cbcee2385577c96315557245881.zip |
Merge branch 'patch-15' into 'dev'
Add JS function code for plurals translation in Russian
See merge request hubzilla/core!1337
(cherry picked from commit 7042528d267627c7156b8e0cd3b825d2c88c2350)
ee4a2629 Add JS function code for plurals translation
8af91b02 Update hstrings.php
Diffstat (limited to 'view/ru')
-rw-r--r-- | view/ru/hstrings.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/ru/hstrings.php b/view/ru/hstrings.php index d7dfb5b58..5e8781e79 100644 --- a/view/ru/hstrings.php +++ b/view/ru/hstrings.php @@ -5,6 +5,7 @@ function string_plural_select_ru($n){ return ($n%10==1 && $n%100!=11 ? 0 : ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : 2)); }} App::$rtl = 0; +App::$strings["plural_function_code"] = "(n%10==1 && n%100!=11 ? 0 : (n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2))"; App::$strings["Source channel not found."] = "Канал-источник не найден."; App::$strings["Default"] = "По умолчанию"; App::$strings["Focus (Hubzilla default)"] = "Фокус (по умолчанию Hubzilla)"; |