diff --git a/blackout/lang/cs/messages.po b/blackout/lang/cs/messages.po index 1fa459af..a4a71e0d 100644 --- a/blackout/lang/cs/messages.po +++ b/blackout/lang/cs/messages.po @@ -4,24 +4,25 @@ # # # Translators: -# Michal Šupler , 2014 +# Aditoo, 2018 +# michal_s , 2014 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-06-22 13:18+0200\n" -"PO-Revision-Date: 2014-07-02 15:28+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"PO-Revision-Date: 2018-09-02 17:54+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" #: blackout.php:99 msgid "Save Settings" -msgstr "Uložit Nastavení" +msgstr "Uložit nastavení" #: blackout.php:100 msgid "Redirect URL" @@ -49,4 +50,4 @@ msgstr "Konec odstávky" msgid "" "The end-date is prior to the start-date of the blackout, you should fix " "this." -msgstr "Datum konce odstávky je před datem zahájení odstávky prosím opravte to." +msgstr "Datum konce odstávky je před datem zahájení odstávky, prosím opravte to." diff --git a/blackout/lang/cs/strings.php b/blackout/lang/cs/strings.php index 6bca0c65..c1b8b66b 100644 --- a/blackout/lang/cs/strings.php +++ b/blackout/lang/cs/strings.php @@ -2,13 +2,14 @@ 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["Save Settings"] = "Uložit Nastavení"; +$a->strings["Save Settings"] = "Uložit nastavení"; $a->strings["Redirect URL"] = "URL Přesměrování"; $a->strings["all your visitors from the web will be redirected to this URL"] = "všichni vaši návštěvníci z webu budou přesměrování na tuto URL adresu"; $a->strings["Begin of the Blackout"] = "Zahájení odstávky"; $a->strings["format is YYYY year, MM month, DD day, hh hour and mm minute"] = "formát je RRRR rok, MM měsíc, DD den, hh hodina a mm minuta"; $a->strings["End of the Blackout"] = "Konec odstávky"; -$a->strings["The end-date is prior to the start-date of the blackout, you should fix this."] = "Datum konce odstávky je před datem zahájení odstávky prosím opravte to."; +$a->strings["The end-date is prior to the start-date of the blackout, you should fix this."] = "Datum konce odstávky je před datem zahájení odstávky, prosím opravte to.";