From 25b0468fd16a2d2c700b020c1f923786a2e50dce Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Wed, 13 Jun 2018 07:38:13 +0200 Subject: [PATCH] updated the CS translation of the geonames addon THX Aditoo --- geonames/lang/cs/messages.po | 15 ++++++++------- geonames/lang/cs/strings.php | 7 ++++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/geonames/lang/cs/messages.po b/geonames/lang/cs/messages.po index 98d8f14f..a677dbd9 100644 --- a/geonames/lang/cs/messages.po +++ b/geonames/lang/cs/messages.po @@ -4,24 +4,25 @@ # # # 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-12 14: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" #: geonames.php:143 msgid "Geonames settings updated." -msgstr "Geonames nastavení aktualizováno." +msgstr "Nastavení Geonames aktualizována." #: geonames.php:179 msgid "Geonames Settings" @@ -29,7 +30,7 @@ msgstr "Nastavení Geonames" #: geonames.php:181 msgid "Enable Geonames Addon" -msgstr "Povolit Geonames rozšíření" +msgstr "Povolit doplněk Geonames" #: geonames.php:187 msgid "Submit" diff --git a/geonames/lang/cs/strings.php b/geonames/lang/cs/strings.php index dfd52e6c..f8f41c1b 100644 --- a/geonames/lang/cs/strings.php +++ b/geonames/lang/cs/strings.php @@ -2,10 +2,11 @@ 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["Geonames settings updated."] = "Geonames nastavení aktualizováno."; +$a->strings["Geonames settings updated."] = "Nastavení Geonames aktualizována."; $a->strings["Geonames Settings"] = "Nastavení Geonames"; -$a->strings["Enable Geonames Addon"] = "Povolit Geonames rozšíření"; +$a->strings["Enable Geonames Addon"] = "Povolit doplněk Geonames"; $a->strings["Submit"] = "Odeslat"; -- 2.39.5