From 9302689ac7688e4fc50a7349663e3fda98ae8d4b Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 6 Aug 2018 14:10:00 +0200 Subject: [PATCH] PL translation smileybutton THX waldis --- smileybutton/lang/pl/messages.po | 4 ++-- smileybutton/lang/pl/strings.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/smileybutton/lang/pl/messages.po b/smileybutton/lang/pl/messages.po index f6e691998..467c57057 100644 --- a/smileybutton/lang/pl/messages.po +++ b/smileybutton/lang/pl/messages.po @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \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 \n" "Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n" "MIME-Version: 1.0\n" @@ -21,7 +21,7 @@ msgstr "" #: smileybutton.php:269 msgid "Smileybutton settings" -msgstr "Ustawienia Smileybutton" +msgstr "Ustawienia Przycisku Buźka" #: smileybutton.php:272 msgid "You can hide the button and show the smilies directly." diff --git a/smileybutton/lang/pl/strings.php b/smileybutton/lang/pl/strings.php index 3c14e263c..9741c36f3 100644 --- a/smileybutton/lang/pl/strings.php +++ b/smileybutton/lang/pl/strings.php @@ -2,10 +2,11 @@ if(! function_exists("string_plural_select_pl")) { 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);; }} ; -$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["Hide the button"] = "Ukryj przycisk"; $a->strings["Save Settings"] = "Zapisz ustawienia";