]> git.mxchange.org Git - friendica-addons.git/blobdiff - blackout/lang/pl/strings.php
PL translation update THX strebski
[friendica-addons.git] / blackout / lang / pl / strings.php
index 4c2ba34702da142410888988d6ae759428f6054b..132c19d89e7576bfc0fd7d8fceaaa0e1293aa0dd 100644 (file)
@@ -2,13 +2,13 @@
 
 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["Save Settings"] = "Zapisz ustawienia";
-$a->strings["Redirect URL"] = "Przekierowanie URL";
-$a->strings["all your visitors from the web will be redirected to this URL"] = "";
-$a->strings["Begin of the Blackout"] = "Rozpocznij Blackout";
-$a->strings["format is <em>YYYY</em> year, <em>MM</em> month, <em>DD</em> day, <em>hh</em> hour and <em>mm</em> minute"] = "";
-$a->strings["End of the Blackout"] = "";
-$a->strings["The end-date is prior to the start-date of the blackout, you should fix this."] = "Data końcowa jest wcześniejsza niż data rozpoczęcia blackoutu, powinieneś to naprawić.";
+$a->strings['The end-date is prior to the start-date of the blackout, you should fix this.'] = 'Data końcowa jest wcześniejsza niż data rozpoczęcia blackoutu, powinieneś to naprawić.';
+$a->strings['Save Settings'] = 'Zapisz ustawienia';
+$a->strings['Redirect URL'] = 'Przekierowanie URL';
+$a->strings['All your visitors from the web will be redirected to this URL.'] = 'Wszyscy Twoi goście z Internetu zostaną przekierowani na ten adres URL.';
+$a->strings['Begin of the Blackout'] = 'Rozpocznij Blackout';
+$a->strings['Format is <tt>YYYY-MM-DD hh:mm</tt>; <em>YYYY</em> year, <em>MM</em> month, <em>DD</em> day, <em>hh</em> hour and <em>mm</em> minute.'] = 'Format to <tt>RRRR-MM-DD gg:mm</tt>; <em>RRRR</em> rok, <em>MM</em> miesiąc, <em>DD</em> dzień, <em>gg</em> godzina i <em>mm</em> minuta.';
+$a->strings['End of the Blackout'] = 'Koniec Blackout';