aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-04-30 19:28:15 +0000
committerMax Kostikov <max@kostikov.co>2021-04-30 19:28:15 +0000
commitec4226b5debd80b9608b4e367bfbf4576aa9993f (patch)
treec1d9fa1fbbe46cf585ad9362ed1520c567a3b12c
parent6a101e62601fefd7d9c71e563f8dd148f87f2416 (diff)
parent8266a1490a08d22a080ff29ecd041bd8dbf85e5e (diff)
downloadvolse-hubzilla-ec4226b5debd80b9608b4e367bfbf4576aa9993f.tar.gz
volse-hubzilla-ec4226b5debd80b9608b4e367bfbf4576aa9993f.tar.bz2
volse-hubzilla-ec4226b5debd80b9608b4e367bfbf4576aa9993f.zip
Merge branch 'dev' into 'dev'
Fix Polish plurals expression See merge request hubzilla/core!1949
-rw-r--r--view/pl/hmessages.po2
-rw-r--r--view/pl/hstrings.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/view/pl/hmessages.po b/view/pl/hmessages.po
index d9bf0b4fa..8ade52e19 100644
--- a/view/pl/hmessages.po
+++ b/view/pl/hmessages.po
@@ -15,7 +15,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2));\n"
"X-Generator: Poedit 2.3\n"
#: ../../Zotlabs/Access/Permissions.php:56
diff --git a/view/pl/hstrings.php b/view/pl/hstrings.php
index 8b0a4da0d..4372ccaab 100644
--- a/view/pl/hstrings.php
+++ b/view/pl/hstrings.php
@@ -2,7 +2,7 @@
if(! function_exists("string_plural_select_pl")) {
function string_plural_select_pl($n){
- return ($n==1 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : 2);
+ return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : 2));
}}
App::$rtl = 0;
App::$strings["plural_function_code"] = "(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2)";