From 9da939089602b722481134ec63f44bd1b19694ba Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 10 Jun 2018 08:08:05 +0200 Subject: [PATCH] updated CS translation of the krynn addon THX Aditoo --- krynn/lang/cs/messages.po | 14 +++++++------- krynn/lang/cs/strings.php | 7 ++++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/krynn/lang/cs/messages.po b/krynn/lang/cs/messages.po index abb6d5158..1447d2591 100644 --- a/krynn/lang/cs/messages.po +++ b/krynn/lang/cs/messages.po @@ -4,28 +4,28 @@ # # # Translators: -# Michal Šupler , 2014-2015 +# Lorem Ipsum , 2018 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:37+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 09:57+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" #: krynn.php:150 msgid "Krynn Settings" -msgstr "Krynn Nastavení" +msgstr "Nastavení Krynn" #: krynn.php:152 msgid "Enable Krynn Addon" -msgstr "Povolit Krynn addon" +msgstr "Povolit doplněk Krynn" #: krynn.php:158 msgid "Submit" diff --git a/krynn/lang/cs/strings.php b/krynn/lang/cs/strings.php index 76de5f7fe..4e9d61c37 100644 --- a/krynn/lang/cs/strings.php +++ b/krynn/lang/cs/strings.php @@ -2,9 +2,10 @@ 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["Krynn Settings"] = "Krynn Nastavení"; -$a->strings["Enable Krynn Addon"] = "Povolit Krynn addon"; +$a->strings["Krynn Settings"] = "Nastavení Krynn"; +$a->strings["Enable Krynn Addon"] = "Povolit doplněk Krynn"; $a->strings["Submit"] = "Odeslat";