diff options
author | Max Kostikov <max@kostikov.co> | 2018-10-14 15:21:00 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-10-14 15:21:00 +0200 |
commit | ee4a262953f9cd9dfb75f78014a9b64d70b54d21 (patch) | |
tree | a85a2714877e8df6dfefc09f7a865ba547fcbe65 /view/ru/hstrings.php | |
parent | d584293cde18e4d846e0b7a1a065acb8a79109b3 (diff) | |
download | volse-hubzilla-ee4a262953f9cd9dfb75f78014a9b64d70b54d21.tar.gz volse-hubzilla-ee4a262953f9cd9dfb75f78014a9b64d70b54d21.tar.bz2 volse-hubzilla-ee4a262953f9cd9dfb75f78014a9b64d70b54d21.zip |
Add JS function code for plurals translation
Diffstat (limited to 'view/ru/hstrings.php')
-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 0479f4109..0f2554730 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"] = "return (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)"; |