updated CS translation of the krynn addon THX Aditoo

pull/617/head
Tobias Diekershoff 2018-06-10 08:08:05 +02:00
parent a8f3196f28
commit 9da9390896
2 changed files with 11 additions and 10 deletions

View File

@ -4,28 +4,28 @@
# #
# #
# Translators: # Translators:
# Michal Šupler <msupler@gmail.com>, 2014-2015 # Lorem Ipsum <aditoo@seznam.cz>, 2018
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-09 09:57+0000\n"
"Last-Translator: Michal Šupler <msupler@gmail.com>\n" "Last-Translator: Lorem Ipsum <aditoo@seznam.cz>\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"
#: krynn.php:150 #: krynn.php:150
msgid "Krynn Settings" msgid "Krynn Settings"
msgstr "Krynn Nastavení" msgstr "Nastavení Krynn"
#: krynn.php:152 #: krynn.php:152
msgid "Enable Krynn Addon" msgid "Enable Krynn Addon"
msgstr "Povolit Krynn addon" msgstr "Povolit doplněk Krynn"
#: krynn.php:158 #: krynn.php:158
msgid "Submit" msgid "Submit"

View File

@ -2,9 +2,10 @@
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["Krynn Settings"] = "Krynn Nastavení"; $a->strings["Krynn Settings"] = "Nastavení Krynn";
$a->strings["Enable Krynn Addon"] = "Povolit Krynn addon"; $a->strings["Enable Krynn Addon"] = "Povolit doplněk Krynn";
$a->strings["Submit"] = "Odeslat"; $a->strings["Submit"] = "Odeslat";