updated the CS translation of the geonames addon THX Aditoo

pull/620/head
Tobias Diekershoff 2018-06-13 07:38:13 +02:00
parent 166f09d348
commit 25b0468fd1
2 changed files with 12 additions and 10 deletions

View File

@ -4,24 +4,25 @@
# #
# #
# Translators: # Translators:
# Michal Šupler <msupler@gmail.com>, 2014-2015 # Aditoo, 2018
# michal_s <msupler@gmail.com>, 2014-2015
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: friendica\n" "Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n" "POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2015-02-11 19:37+0000\n" "PO-Revision-Date: 2018-06-12 14:42+0000\n"
"Last-Translator: Michal Šupler <msupler@gmail.com>\n" "Last-Translator: Aditoo\n"
"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" "Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: cs\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 #: geonames.php:143
msgid "Geonames settings updated." msgid "Geonames settings updated."
msgstr "Geonames nastavení aktualizováno." msgstr "Nastavení Geonames aktualizována."
#: geonames.php:179 #: geonames.php:179
msgid "Geonames Settings" msgid "Geonames Settings"
@ -29,7 +30,7 @@ msgstr "Nastavení Geonames"
#: geonames.php:181 #: geonames.php:181
msgid "Enable Geonames Addon" msgid "Enable Geonames Addon"
msgstr "Povolit Geonames rozšíření" msgstr "Povolit doplněk Geonames"
#: geonames.php:187 #: geonames.php:187
msgid "Submit" msgid "Submit"

View File

@ -2,10 +2,11 @@
if(! function_exists("string_plural_select_cs")) { if(! function_exists("string_plural_select_cs")) {
function string_plural_select_cs($n){ 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["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"; $a->strings["Submit"] = "Odeslat";