From: Tobias Diekershoff Date: Sun, 10 Jun 2018 06:08:05 +0000 (+0200) Subject: updated CS translation of the krynn addon THX Aditoo X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9da939089602b722481134ec63f44bd1b19694ba;p=friendica-addons.git updated CS translation of the krynn addon THX Aditoo --- diff --git a/krynn/lang/cs/messages.po b/krynn/lang/cs/messages.po index abb6d515..1447d259 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 76de5f7f..4e9d61c3 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";