From 8a700150cc8c0d430ca2b245618cc3aa4df375c7 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 6 Aug 2018 14:08:40 +0200 Subject: [PATCH] PL translation libertree THX waldis --- libertree/lang/pl/messages.po | 4 ++-- libertree/lang/pl/strings.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libertree/lang/pl/messages.po b/libertree/lang/pl/messages.po index b7650aa0..a119f691 100644 --- a/libertree/lang/pl/messages.po +++ b/libertree/lang/pl/messages.po @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-27 05:01-0500\n" -"PO-Revision-Date: 2018-03-31 19:44+0000\n" +"PO-Revision-Date: 2018-08-04 11:56+0000\n" "Last-Translator: Waldemar Stoczkowski \n" "Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n" "MIME-Version: 1.0\n" @@ -25,7 +25,7 @@ msgstr "Opublikuj na libertree" #: libertree.php:67 msgid "libertree Post Settings" -msgstr "libertree Ustawienia Post" +msgstr "Ustawienia libertree Post" #: libertree.php:69 msgid "Enable Libertree Post Addon" diff --git a/libertree/lang/pl/strings.php b/libertree/lang/pl/strings.php index afb721b6..1c535c33 100644 --- a/libertree/lang/pl/strings.php +++ b/libertree/lang/pl/strings.php @@ -2,11 +2,12 @@ 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["Post to libertree"] = "Opublikuj na libertree"; -$a->strings["libertree Post Settings"] = "libertree Ustawienia Post"; +$a->strings["libertree Post Settings"] = "Ustawienia libertree Post"; $a->strings["Enable Libertree Post Addon"] = "Włącz dodatek Libertree Post"; $a->strings["Libertree API token"] = "Token API Libertree"; $a->strings["Libertree site URL"] = "Adres URL witryny Libertree"; -- 2.39.5