From 337e25ad43dd0cbcee2385577c96315557245881 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 15 Oct 2018 07:58:09 +0000 Subject: 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 --- view/ru/hstrings.php | 1 + 1 file changed, 1 insertion(+) (limited to 'view/ru') 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)"; -- cgit v1.2.3