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 7042528d26)

ee4a2629 Add JS function code for plurals translation
8af91b02 Update hstrings.php
This commit is contained in:
Mario 2018-10-15 07:58:09 +00:00
parent c60c9b323b
commit 337e25ad43

View File

@ -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)); 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::$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["Source channel not found."] = "Канал-источник не найден.";
App::$strings["Default"] = "По умолчанию"; App::$strings["Default"] = "По умолчанию";
App::$strings["Focus (Hubzilla default)"] = "Фокус (по умолчанию Hubzilla)"; App::$strings["Focus (Hubzilla default)"] = "Фокус (по умолчанию Hubzilla)";