From af81c197c050ff15455091c3b3d548fc9e267fb9 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 08:48:59 +0200 Subject: [PATCH] CS dwpost addon --- dwpost/lang/cs/messages.po | 17 +++++++++-------- dwpost/lang/cs/strings.php | 9 +++++---- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/dwpost/lang/cs/messages.po b/dwpost/lang/cs/messages.po index fb01a38e..e5a9b25d 100644 --- a/dwpost/lang/cs/messages.po +++ b/dwpost/lang/cs/messages.po @@ -4,20 +4,21 @@ # # # Translators: -# Michal Šupler , 2014-2015 +# Aditoo, 2018 +# michal_s , 2014-2015 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-27 05:01-0500\n" -"PO-Revision-Date: 2015-02-11 19:40+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-14 10:13+0000\n" +"Last-Translator: Aditoo\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" #: dwpost.php:39 msgid "Post to Dreamwidth" @@ -25,11 +26,11 @@ msgstr "Poslat na Dreamwidth" #: dwpost.php:70 msgid "Dreamwidth Post Settings" -msgstr "Dreamwidth nastavení příspěvků" +msgstr "Nastavení Dreamwidth Post" #: dwpost.php:72 msgid "Enable dreamwidth Post Addon" -msgstr "Povolit dreamwidth Addon" +msgstr "Povolit doplněk Dreamwidth Post" #: dwpost.php:77 msgid "dreamwidth username" @@ -41,7 +42,7 @@ msgstr "dreamwidth heslo" #: dwpost.php:87 msgid "Post to dreamwidth by default" -msgstr "Defaultně umístit na dreamwidth" +msgstr "Ve výchozím stavu posílat na dreamwidth" #: dwpost.php:93 msgid "Submit" diff --git a/dwpost/lang/cs/strings.php b/dwpost/lang/cs/strings.php index df348a83..0c1f68a4 100644 --- a/dwpost/lang/cs/strings.php +++ b/dwpost/lang/cs/strings.php @@ -2,13 +2,14 @@ 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 Dreamwidth"] = "Poslat na Dreamwidth"; -$a->strings["Dreamwidth Post Settings"] = "Dreamwidth nastavení příspěvků"; -$a->strings["Enable dreamwidth Post Addon"] = "Povolit dreamwidth Addon"; +$a->strings["Dreamwidth Post Settings"] = "Nastavení Dreamwidth Post"; +$a->strings["Enable dreamwidth Post Addon"] = "Povolit doplněk Dreamwidth Post"; $a->strings["dreamwidth username"] = "dreamwidth uživatelské jméno"; $a->strings["dreamwidth password"] = "dreamwidth heslo"; -$a->strings["Post to dreamwidth by default"] = "Defaultně umístit na dreamwidth"; +$a->strings["Post to dreamwidth by default"] = "Ve výchozím stavu posílat na dreamwidth"; $a->strings["Submit"] = "Odeslat";