From 6de947b158118c2560915307da8536cea5a835eb Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 10 Jun 2018 08:10:57 +0200 Subject: [PATCH] updated CS translation of the diaspora addon THX Aditoo --- diaspora/lang/cs/messages.po | 19 ++++++++++--------- diaspora/lang/cs/strings.php | 11 ++++++----- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/diaspora/lang/cs/messages.po b/diaspora/lang/cs/messages.po index 5d8b0a30..71eda273 100644 --- a/diaspora/lang/cs/messages.po +++ b/diaspora/lang/cs/messages.po @@ -4,24 +4,25 @@ # # # Translators: -# Michal Šupler , 2014 +# Lorem Ipsum , 2018 +# michal_s , 2014 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-06-22 13:18+0200\n" -"PO-Revision-Date: 2014-07-07 18:44+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"PO-Revision-Date: 2018-06-09 10:31+0000\n" +"Last-Translator: Lorem Ipsum \n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: cs\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" #: diaspora.php:37 msgid "Post to Diaspora" -msgstr "Příspěvek na Diaspora" +msgstr "Odeslat příspěvek na Diasporu" #: diaspora.php:142 msgid "" @@ -35,15 +36,15 @@ msgstr "Diaspora export" #: diaspora.php:163 msgid "Enable Diaspora Post Addon" -msgstr "Povolit Diaspora Addon" +msgstr "Povolit doplněk Diaspora Post" #: diaspora.php:168 msgid "Diaspora username" -msgstr "Diaspora uživatelské jméno" +msgstr "Uživatelské jméno na Diaspora" #: diaspora.php:173 msgid "Diaspora password" -msgstr "Diaspora heslo" +msgstr "Heslo na Diaspora" #: diaspora.php:178 msgid "Diaspora site URL" diff --git a/diaspora/lang/cs/strings.php b/diaspora/lang/cs/strings.php index 1a87dc1f..95749413 100644 --- a/diaspora/lang/cs/strings.php +++ b/diaspora/lang/cs/strings.php @@ -2,15 +2,16 @@ if(! function_exists("string_plural_select_cs")) { function string_plural_select_cs($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + $n = intval($n); + return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; }} ; -$a->strings["Post to Diaspora"] = "Příspěvek na Diaspora"; +$a->strings["Post to Diaspora"] = "Odeslat příspěvek na Diasporu"; $a->strings["Can't login to your Diaspora account. Please check username and password and ensure you used the complete address (including http...)"] = "Nelze se přihlásit na váš Diaspora účet. Prosím ověřte své uživatelské jméno a heslo a ujistěte se, že jste použili kompletní adresu (včetně http...)"; $a->strings["Diaspora Export"] = "Diaspora export"; -$a->strings["Enable Diaspora Post Addon"] = "Povolit Diaspora Addon"; -$a->strings["Diaspora username"] = "Diaspora uživatelské jméno"; -$a->strings["Diaspora password"] = "Diaspora heslo"; +$a->strings["Enable Diaspora Post Addon"] = "Povolit doplněk Diaspora Post"; +$a->strings["Diaspora username"] = "Uživatelské jméno na Diaspora"; +$a->strings["Diaspora password"] = "Heslo na Diaspora"; $a->strings["Diaspora site URL"] = "Adresa webu Diaspora"; $a->strings["Post to Diaspora by default"] = "Defaultně zasílat příspěvky na Diaspora"; $a->strings["Save Settings"] = "Uložit Nastavení";