From 4b60073ab49e61570a10e1e6d3a528fad2cfa2b6 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:11:06 +0200 Subject: [PATCH] CS showmore addon --- showmore/lang/cs/messages.po | 29 +++++++++++++++-------------- showmore/lang/cs/strings.php | 7 ++++--- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/showmore/lang/cs/messages.po b/showmore/lang/cs/messages.po index 18cec5b8..b937ff56 100644 --- a/showmore/lang/cs/messages.po +++ b/showmore/lang/cs/messages.po @@ -4,41 +4,42 @@ # # # 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-28 18:11+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"POT-Creation-Date: 2018-04-01 11:11-0400\n" +"PO-Revision-Date: 2018-06-13 18:01+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" -#: showmore.php:38 showmore.php:42 +#: showmore.php:41 showmore.php:45 msgid "\"Show more\" Settings" msgstr "\"Show more\" nastavení" -#: showmore.php:47 +#: showmore.php:50 msgid "Enable Show More" msgstr "Povolit Show more" -#: showmore.php:50 +#: showmore.php:53 msgid "Cutting posts after how much characters" msgstr "Oříznout přízpěvky po zadaném množství znaků" -#: showmore.php:54 +#: showmore.php:57 msgid "Save Settings" -msgstr "Uložit Nastavení" +msgstr "Uložit nastavení" -#: showmore.php:71 +#: showmore.php:74 msgid "Show More Settings saved." -msgstr "\"Show more\" nastavení uloženo." +msgstr "Nastavení \"Show more\" uložena." -#: showmore.php:125 +#: showmore.php:134 msgid "show more" msgstr "zobrazit více" diff --git a/showmore/lang/cs/strings.php b/showmore/lang/cs/strings.php index 622bd068..9a5068b8 100644 --- a/showmore/lang/cs/strings.php +++ b/showmore/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["\"Show more\" Settings"] = "\"Show more\" nastavení"; $a->strings["Enable Show More"] = "Povolit Show more"; $a->strings["Cutting posts after how much characters"] = "Oříznout přízpěvky po zadaném množství znaků"; -$a->strings["Save Settings"] = "Uložit Nastavení"; -$a->strings["Show More Settings saved."] = "\"Show more\" nastavení uloženo."; +$a->strings["Save Settings"] = "Uložit nastavení"; +$a->strings["Show More Settings saved."] = "Nastavení \"Show more\" uložena."; $a->strings["show more"] = "zobrazit více"; -- 2.39.5