From c28c3eed91120c8aec52a66c510ea9b98837adb1 Mon Sep 17 00:00:00 2001
From: Tobias Diekershoff <tobias.diekershoff@gmx.net>
Date: Mon, 17 Sep 2018 20:59:15 +0200
Subject: [PATCH] CS translation group_text THX Aditoo

---
 group_text/lang/cs/messages.po | 15 ++++++++-------
 group_text/lang/cs/strings.php |  7 ++++---
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/group_text/lang/cs/messages.po b/group_text/lang/cs/messages.po
index 49980073..8b56b630 100644
--- a/group_text/lang/cs/messages.po
+++ b/group_text/lang/cs/messages.po
@@ -4,24 +4,25 @@
 # 
 # 
 # Translators:
-# Michal Šupler <msupler@gmail.com>, 2014-2015
+# Aditoo, 2018
+# michal_s <msupler@gmail.com>, 2014-2015
 msgid ""
 msgstr ""
 "Project-Id-Version: friendica\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2013-02-27 05:01-0500\n"
-"PO-Revision-Date: 2015-02-11 19:40+0000\n"
-"Last-Translator: Michal Šupler <msupler@gmail.com>\n"
-"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n"
+"PO-Revision-Date: 2018-09-12 09:47+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"
 
 #: group_text.php:46
 msgid "Group Text settings updated."
-msgstr "Nastavení textu skupiny aktualizováno."
+msgstr "Nastavení Group Text aktualizována."
 
 #: group_text.php:76
 msgid "Group Text"
@@ -29,7 +30,7 @@ msgstr "Skupinový text"
 
 #: group_text.php:78
 msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
-msgstr "Použijte pouze textový (neobrázkový) výběr skupiny v menu editace skupin."
+msgstr "Použijte pouze textový (bezobrázkový) výběr skupiny v menu úpravy skupin."
 
 #: group_text.php:84
 msgid "Submit"
diff --git a/group_text/lang/cs/strings.php b/group_text/lang/cs/strings.php
index 33528314..c5055a29 100644
--- a/group_text/lang/cs/strings.php
+++ b/group_text/lang/cs/strings.php
@@ -2,10 +2,11 @@
 
 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["Group Text settings updated."] = "Nastavení textu skupiny aktualizováno.";
+$a->strings["Group Text settings updated."] = "Nastavení Group Text aktualizována.";
 $a->strings["Group Text"] = "Skupinový text";
-$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = "Použijte pouze textový (neobrázkový) výběr skupiny v menu editace skupin.";
+$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = "Použijte pouze textový (bezobrázkový) výběr skupiny v menu úpravy skupin.";
 $a->strings["Submit"] = "Odeslat";