PL translation smileybutton THX waldis

This commit is contained in:
Tobias Diekershoff 2018-08-06 14:10:00 +02:00
parent 8a700150cc
commit 9302689ac7
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: friendica\n" "Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n" "POT-Creation-Date: 2014-06-23 14:45+0200\n"
"PO-Revision-Date: 2018-03-31 19:19+0000\n" "PO-Revision-Date: 2018-08-04 10:17+0000\n"
"Last-Translator: Waldemar Stoczkowski <waldemar.stoczkowski@gmail.com>\n" "Last-Translator: Waldemar Stoczkowski <waldemar.stoczkowski@gmail.com>\n"
"Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n" "Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -21,7 +21,7 @@ msgstr ""
#: smileybutton.php:269 #: smileybutton.php:269
msgid "Smileybutton settings" msgid "Smileybutton settings"
msgstr "Ustawienia Smileybutton" msgstr "Ustawienia Przycisku Buźka"
#: smileybutton.php:272 #: smileybutton.php:272
msgid "You can hide the button and show the smilies directly." msgid "You can hide the button and show the smilies directly."

View File

@ -2,10 +2,11 @@
if(! function_exists("string_plural_select_pl")) { if(! function_exists("string_plural_select_pl")) {
function string_plural_select_pl($n){ function string_plural_select_pl($n){
$n = intval($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);; 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);;
}} }}
; ;
$a->strings["Smileybutton settings"] = "Ustawienia Smileybutton"; $a->strings["Smileybutton settings"] = "Ustawienia Przycisku Buźka";
$a->strings["You can hide the button and show the smilies directly."] = "Możesz ukryć przycisk i bezpośrednio pokazać emotikony."; $a->strings["You can hide the button and show the smilies directly."] = "Możesz ukryć przycisk i bezpośrednio pokazać emotikony.";
$a->strings["Hide the button"] = "Ukryj przycisk"; $a->strings["Hide the button"] = "Ukryj przycisk";
$a->strings["Save Settings"] = "Zapisz ustawienia"; $a->strings["Save Settings"] = "Zapisz ustawienia";