aboutsummaryrefslogtreecommitdiffstats
path: root/view/pl/hstrings.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-01-31 12:05:02 +0100
committerMax Kostikov <max@kostikov.co>2021-01-31 12:05:02 +0100
commit21b3ba38e710ccf08b95491aa3880548f3e2e866 (patch)
treeb1d522429072dea7c795652002ed3411c837ae4b /view/pl/hstrings.php
parentbac87a8aecae9bdca2f320a7d5cb3078da745d75 (diff)
downloadvolse-hubzilla-21b3ba38e710ccf08b95491aa3880548f3e2e866.tar.gz
volse-hubzilla-21b3ba38e710ccf08b95491aa3880548f3e2e866.tar.bz2
volse-hubzilla-21b3ba38e710ccf08b95491aa3880548f3e2e866.zip
Fix polish plurals function
Diffstat (limited to 'view/pl/hstrings.php')
-rw-r--r--view/pl/hstrings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/pl/hstrings.php b/view/pl/hstrings.php
index 943fe36f3..85bb3d0e5 100644
--- a/view/pl/hstrings.php
+++ b/view/pl/hstrings.php
@@ -2,10 +2,10 @@
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));
+ 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))";
+App::$strings["plural_function_code"] = "(n==1 ? 0 : (n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2))";
App::$strings["Can view my channel stream and posts"] = "Może wyświetlać strumień i posty z mojego kanału";
App::$strings["Can send me their channel stream and posts"] = "Może przesyłać mi strumień swojego kanału i posty";
App::$strings["Can view my default channel profile"] = "Może wyświetlać mój domyślny profil kanału";