From ac1c0de0c36f41863a69ec247451977f688eb72a Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 12 Jun 2018 16:07:11 +0200 Subject: [PATCH] updated CS translation of the jappixmini addon THX Aditoo --- jappixmini/lang/cs/messages.po | 15 ++++++++------- jappixmini/lang/cs/strings.php | 7 ++++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/jappixmini/lang/cs/messages.po b/jappixmini/lang/cs/messages.po index 84555727..acf507ae 100644 --- a/jappixmini/lang/cs/messages.po +++ b/jappixmini/lang/cs/messages.po @@ -4,20 +4,21 @@ # # # 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:41+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 13:09+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" #: jappixmini.php:266 msgid "Jappix Mini addon settings" @@ -25,12 +26,12 @@ msgstr "Nastavení rozšíření Jappix Mini" #: jappixmini.php:268 msgid "Activate addon" -msgstr "Aktivovat rozšíření" +msgstr "Aktivovat doplněk" #: jappixmini.php:271 msgid "" "Do not insert the Jappixmini Chat-Widget into the webinterface" -msgstr "Nevlkádejte Jappixmini Chat-Widget do webového rozhraní" +msgstr "Nevkládejte Jappixmini Chat-Widget do webového rozhraní" #: jappixmini.php:274 msgid "Jabber username" diff --git a/jappixmini/lang/cs/strings.php b/jappixmini/lang/cs/strings.php index e2b4785b..cbe9134e 100644 --- a/jappixmini/lang/cs/strings.php +++ b/jappixmini/lang/cs/strings.php @@ -2,12 +2,13 @@ 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["Jappix Mini addon settings"] = "Nastavení rozšíření Jappix Mini"; -$a->strings["Activate addon"] = "Aktivovat rozšíření"; -$a->strings["Do not insert the Jappixmini Chat-Widget into the webinterface"] = "Nevlkádejte Jappixmini Chat-Widget do webového rozhraní"; +$a->strings["Activate addon"] = "Aktivovat doplněk"; +$a->strings["Do not insert the Jappixmini Chat-Widget into the webinterface"] = "Nevkládejte Jappixmini Chat-Widget do webového rozhraní"; $a->strings["Jabber username"] = "Jabber uživatelské jméno"; $a->strings["Jabber server"] = "Jabber server"; $a->strings["Jabber BOSH host"] = "Jabber BOSH host"; -- 2.39.5