CS showmore addon

This commit is contained in:
Tobias Diekershoff 2018-06-18 11:11:06 +02:00
parent ae39bd6875
commit 4b60073ab4
2 changed files with 19 additions and 17 deletions

View File

@ -4,41 +4,42 @@
# #
# #
# Translators: # Translators:
# Michal Šupler <msupler@gmail.com>, 2014 # Aditoo, 2018
# michal_s <msupler@gmail.com>, 2014
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: 2014-06-22 13:18+0200\n" "POT-Creation-Date: 2018-04-01 11:11-0400\n"
"PO-Revision-Date: 2014-07-28 18:11+0000\n" "PO-Revision-Date: 2018-06-13 18:01+0000\n"
"Last-Translator: Michal Šupler <msupler@gmail.com>\n" "Last-Translator: Aditoo\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"
#: showmore.php:38 showmore.php:42 #: showmore.php:41 showmore.php:45
msgid "\"Show more\" Settings" msgid "\"Show more\" Settings"
msgstr "\"Show more\" nastavení" msgstr "\"Show more\" nastavení"
#: showmore.php:47 #: showmore.php:50
msgid "Enable Show More" msgid "Enable Show More"
msgstr "Povolit Show more" msgstr "Povolit Show more"
#: showmore.php:50 #: showmore.php:53
msgid "Cutting posts after how much characters" msgid "Cutting posts after how much characters"
msgstr "Oříznout přízpěvky po zadaném množství znaků" msgstr "Oříznout přízpěvky po zadaném množství znaků"
#: showmore.php:54 #: showmore.php:57
msgid "Save Settings" msgid "Save Settings"
msgstr "Uložit Nastavení" msgstr "Uložit nastavení"
#: showmore.php:71 #: showmore.php:74
msgid "Show More Settings saved." 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" msgid "show more"
msgstr "zobrazit více" msgstr "zobrazit více"

View File

@ -2,12 +2,13 @@
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["\"Show more\" Settings"] = "\"Show more\" nastavení"; $a->strings["\"Show more\" Settings"] = "\"Show more\" nastavení";
$a->strings["Enable Show More"] = "Povolit Show more"; $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["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["Save Settings"] = "Uložit nastavení";
$a->strings["Show More Settings saved."] = "\"Show more\" nastavení uloženo."; $a->strings["Show More Settings saved."] = "Nastavení \"Show more\" uložena.";
$a->strings["show more"] = "zobrazit více"; $a->strings["show more"] = "zobrazit více";