updated CS translation of the planets addon THX Aditoo
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 12 Jun 2018 14:13:22 +0000 (16:13 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 12 Jun 2018 14:13:22 +0000 (16:13 +0200)
planets/lang/cs/messages.po
planets/lang/cs/strings.php

index ac2b9c7..f1ade1b 100644 (file)
@@ -4,28 +4,29 @@
 # 
 # 
 # Translators:
-# Michal Šupler <msupler@gmail.com>, 2014-2015
+# Aditoo, 2018
+# michal_s <msupler@gmail.com>, 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 <msupler@gmail.com>\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"
index c4c0524..d0b883d 100644 (file)
@@ -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";