From fb93dc1f047c9b7f505b8333606bce00d3005ced Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 6 Aug 2018 13:40:58 +0200 Subject: [PATCH] PL translation wppost THX waldis --- wppost/lang/pl/messages.po | 4 ++-- wppost/lang/pl/strings.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wppost/lang/pl/messages.po b/wppost/lang/pl/messages.po index 4a4c09eb..7bc14923 100644 --- a/wppost/lang/pl/messages.po +++ b/wppost/lang/pl/messages.po @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-24 21:06+0100\n" -"PO-Revision-Date: 2018-03-31 20:26+0000\n" +"PO-Revision-Date: 2018-08-04 11:18+0000\n" "Last-Translator: Waldemar Stoczkowski \n" "Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n" "MIME-Version: 1.0\n" @@ -45,7 +45,7 @@ msgstr "WordPress API URL" #: wppost.php:107 msgid "Post to WordPress by default" -msgstr "Wyślij do WordPress domyślnie" +msgstr "Wyślij domyślnie do WordPress" #: wppost.php:112 msgid "Provide a backlink to the Friendica post" diff --git a/wppost/lang/pl/strings.php b/wppost/lang/pl/strings.php index 23e6809c..3c152f48 100644 --- a/wppost/lang/pl/strings.php +++ b/wppost/lang/pl/strings.php @@ -2,6 +2,7 @@ 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);; }} ; @@ -11,7 +12,7 @@ $a->strings["Enable WordPress Post Addon"] = "Włącz dodatek Dodaj post do Word $a->strings["WordPress username"] = "Nazwa użytkownika WordPress"; $a->strings["WordPress password"] = "Hasło WordPress"; $a->strings["WordPress API URL"] = "WordPress API URL"; -$a->strings["Post to WordPress by default"] = "Wyślij do WordPress domyślnie"; +$a->strings["Post to WordPress by default"] = "Wyślij domyślnie do WordPress"; $a->strings["Provide a backlink to the Friendica post"] = "Podaj zwrotny link do posta Friendica"; $a->strings["Text for the backlink, e.g. Read the original post and comment stream on Friendica."] = "Tekst linku zwrotnego, np. Przeczytaj oryginalny post i strumień komentarzy na stronie Friendica."; $a->strings["Don't post messages that are too short"] = "Nie publikuj zbyt krótkich wiadomości";