From 2bb2054305e40229fd86597885602612ff4c6e98 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 6 Aug 2018 14:26:36 +0200 Subject: [PATCH] PL translation dwpost THX waldis --- dwpost/lang/pl/messages.po | 4 ++-- dwpost/lang/pl/strings.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dwpost/lang/pl/messages.po b/dwpost/lang/pl/messages.po index 4c9fb7d1..3eb0942e 100644 --- a/dwpost/lang/pl/messages.po +++ b/dwpost/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:42+0000\n" +"PO-Revision-Date: 2018-08-04 10:46+0000\n" "Last-Translator: Waldemar Stoczkowski \n" "Language-Team: Polish (http://www.transifex.com/Friendica/friendica/language/pl/)\n" "MIME-Version: 1.0\n" @@ -33,7 +33,7 @@ msgstr "Włącz dodatek dreamwidth Post" #: dwpost.php:77 msgid "dreamwidth username" -msgstr "dreamwidth nazwa użytkownika" +msgstr "nazwa użytkownika dreamwidth" #: dwpost.php:82 msgid "dreamwidth password" diff --git a/dwpost/lang/pl/strings.php b/dwpost/lang/pl/strings.php index 7501aeac..7ed9b44e 100644 --- a/dwpost/lang/pl/strings.php +++ b/dwpost/lang/pl/strings.php @@ -2,13 +2,14 @@ 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 Dreamwidth"] = "Opublikuj w Dreamwidth"; $a->strings["Dreamwidth Post Settings"] = "Ustawienia postów w Dreamwerze"; $a->strings["Enable dreamwidth Post Addon"] = "Włącz dodatek dreamwidth Post"; -$a->strings["dreamwidth username"] = "dreamwidth nazwa użytkownika"; +$a->strings["dreamwidth username"] = "nazwa użytkownika dreamwidth"; $a->strings["dreamwidth password"] = "hasło dreamwidth"; $a->strings["Post to dreamwidth by default"] = "Opublikuj domyślnie w serwisie dreamwidth"; $a->strings["Submit"] = "Wyślij";