]> git.mxchange.org Git - friendica-addons.git/blobdiff - planets/lang/pl/strings.php
regenerated all the strings
[friendica-addons.git] / planets / lang / pl / strings.php
index 61b08753b401d1ecf5a758030cec3ac49b4633b4..8b9ff87ef904095c740b7a03c5c3a2b4dac42070 100644 (file)
@@ -2,9 +2,9 @@
 
 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 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);;
+       $n = intval($n);
+       if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else  { return 3; }
 }}
-;
-$a->strings["Planets Settings"] = "Ustawienia Planet";
-$a->strings["Enable Planets Addon"] = "Włącz dodatek Planets";
-$a->strings["Submit"] = "Wyślij";
+$a->strings['Planets Settings'] = 'Ustawienia Planet';
+$a->strings['Enable Planets Addon'] = 'Włącz dodatek Planets';
+$a->strings['Submit'] = 'Wyślij';