From 52e676af8d54dfcb6b3055fab6597493ff37c662 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:05:05 +0200 Subject: [PATCH] CS qcomment addon --- qcomment/lang/cs/messages.po | 19 ++++++++++--------- qcomment/lang/cs/strings.php | 7 ++++--- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/qcomment/lang/cs/messages.po b/qcomment/lang/cs/messages.po index 5169cf380..d2a204e3e 100644 --- a/qcomment/lang/cs/messages.po +++ b/qcomment/lang/cs/messages.po @@ -4,20 +4,21 @@ # # # 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:09+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"POT-Creation-Date: 2013-02-27 05:01-0500\n" +"PO-Revision-Date: 2018-06-13 18:00+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" #: qcomment.php:51 msgid ":-)" @@ -29,7 +30,7 @@ msgstr ":-(" #: qcomment.php:51 msgid "lol" -msgstr "hlasitě se směji" +msgstr "lol" #: qcomment.php:54 msgid "Quick Comment Settings" @@ -46,8 +47,8 @@ msgid "Enter quick comments, one per line" msgstr "Zadejte rychlé komentáře, každý na nový řádek" #: qcomment.php:61 -msgid "Save Settings" -msgstr "Uložit Nastavení" +msgid "Submit" +msgstr "Odeslat" #: qcomment.php:75 msgid "Quick Comment settings saved." diff --git a/qcomment/lang/cs/strings.php b/qcomment/lang/cs/strings.php index 46d624324..b37a8d2b8 100644 --- a/qcomment/lang/cs/strings.php +++ b/qcomment/lang/cs/strings.php @@ -2,14 +2,15 @@ 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[":-)"] = ":-)"; $a->strings[":-("] = ":-("; -$a->strings["lol"] = "hlasitě se směji"; +$a->strings["lol"] = "lol"; $a->strings["Quick Comment Settings"] = "Nastavení rychlých komentářů"; $a->strings["Quick comments are found near comment boxes, sometimes hidden. Click them to provide simple replies."] = "Rychlé komentáře jsou k nalezení blízko polí s komentáři, někdy jsou skryté. Klikněte na ně k poskytnutí jednoduchých odpovědí."; $a->strings["Enter quick comments, one per line"] = "Zadejte rychlé komentáře, každý na nový řádek"; -$a->strings["Save Settings"] = "Uložit Nastavení"; +$a->strings["Submit"] = "Odeslat"; $a->strings["Quick Comment settings saved."] = "Nastavení Quick Comment uloženo.";