From 56eefaa5d24ae110ee97517327ce161fdf6d201f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 12 Jun 2018 16:13:22 +0200 Subject: [PATCH] updated CS translation of the planets addon THX Aditoo --- planets/lang/cs/messages.po | 15 ++++++++------- planets/lang/cs/strings.php | 7 ++++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/planets/lang/cs/messages.po b/planets/lang/cs/messages.po index ac2b9c749..f1ade1bc2 100644 --- a/planets/lang/cs/messages.po +++ b/planets/lang/cs/messages.po @@ -4,28 +4,29 @@ # # # 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: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-11 15:42+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" #: planets.php:150 msgid "Planets Settings" -msgstr "Planets Nastavení" +msgstr "Nastavení Planets" #: planets.php:152 msgid "Enable Planets Addon" -msgstr "Povolit Planets addon" +msgstr "Povolit doplněk Planets" #: planets.php:158 msgid "Submit" diff --git a/planets/lang/cs/strings.php b/planets/lang/cs/strings.php index c4c0524df..d0b883d2f 100644 --- a/planets/lang/cs/strings.php +++ b/planets/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["Planets Settings"] = "Planets Nastavení"; -$a->strings["Enable Planets Addon"] = "Povolit Planets addon"; +$a->strings["Planets Settings"] = "Nastavení Planets"; +$a->strings["Enable Planets Addon"] = "Povolit doplněk Planets"; $a->strings["Submit"] = "Odeslat";