From fb806682cc5ce9b76cb14c556fb5de7c64f0781b Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 17 Sep 2018 21:16:06 +0200 Subject: [PATCH] CS translation ijpost THX Aditoo --- ijpost/lang/cs/messages.po | 23 ++++++++++++----------- ijpost/lang/cs/strings.php | 15 ++++++++------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/ijpost/lang/cs/messages.po b/ijpost/lang/cs/messages.po index dd273de4..33705d1e 100644 --- a/ijpost/lang/cs/messages.po +++ b/ijpost/lang/cs/messages.po @@ -4,44 +4,45 @@ # # # 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-09-12 09:49+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" #: ijpost.php:39 msgid "Post to Insanejournal" -msgstr "Odeslat na Insanejournal" +msgstr "Posílat na InsaneJournal" #: ijpost.php:70 msgid "InsaneJournal Post Settings" -msgstr "Nastavení příspěvků pro InsaneJournal" +msgstr "Nastavení InsaneJournal Post" #: ijpost.php:72 msgid "Enable InsaneJournal Post Addon" -msgstr "Povolit Insanejournal addon" +msgstr "Povolit doplněk InsaneJournal Post" #: ijpost.php:77 msgid "InsaneJournal username" -msgstr "Insanejournal uživatelské jméno" +msgstr "Uživatelské jméno InsaneJournal" #: ijpost.php:82 msgid "InsaneJournal password" -msgstr "Insanejournal heslo" +msgstr "Heslo InsaneJournal" #: ijpost.php:87 msgid "Post to InsaneJournal by default" -msgstr "Defaultně zasílat příspěvky na InsaneJournal" +msgstr "Ve výchozím stavu posílat příspěvky na InsaneJournal" #: ijpost.php:93 msgid "Submit" diff --git a/ijpost/lang/cs/strings.php b/ijpost/lang/cs/strings.php index 4f4fec36..c9ef7978 100644 --- a/ijpost/lang/cs/strings.php +++ b/ijpost/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 Insanejournal"] = "Odeslat na Insanejournal"; -$a->strings["InsaneJournal Post Settings"] = "Nastavení příspěvků pro InsaneJournal"; -$a->strings["Enable InsaneJournal Post Addon"] = "Povolit Insanejournal addon"; -$a->strings["InsaneJournal username"] = "Insanejournal uživatelské jméno"; -$a->strings["InsaneJournal password"] = "Insanejournal heslo"; -$a->strings["Post to InsaneJournal by default"] = "Defaultně zasílat příspěvky na InsaneJournal"; +$a->strings["Post to Insanejournal"] = "Posílat na InsaneJournal"; +$a->strings["InsaneJournal Post Settings"] = "Nastavení InsaneJournal Post"; +$a->strings["Enable InsaneJournal Post Addon"] = "Povolit doplněk InsaneJournal Post"; +$a->strings["InsaneJournal username"] = "Uživatelské jméno InsaneJournal"; +$a->strings["InsaneJournal password"] = "Heslo InsaneJournal"; +$a->strings["Post to InsaneJournal by default"] = "Ve výchozím stavu posílat příspěvky na InsaneJournal"; $a->strings["Submit"] = "Odeslat";