From 80faa02a58ff80ba3dec073649f61491dea176b3 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 2 Mar 2018 11:57:35 +0100 Subject: [PATCH] args, wrong file --- langfilter/lang/zh-cn/messages.po | 13 +++++++------ langfilter/lang/zh-cn/strings.php | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/langfilter/lang/zh-cn/messages.po b/langfilter/lang/zh-cn/messages.po index 6c991ef8..ce18b535 100644 --- a/langfilter/lang/zh-cn/messages.po +++ b/langfilter/lang/zh-cn/messages.po @@ -4,19 +4,20 @@ # # # Translators: +# 朱陈锬 , 2018 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-09-22 15:18+0200\n" -"PO-Revision-Date: 2017-08-03 17:29+0000\n" -"Last-Translator: fabrixxm \n" -"Language-Team: Czech (Czech Republic) (http://www.transifex.com/Friendica/friendica/language/cs_CZ/)\n" +"PO-Revision-Date: 2018-02-28 11:28+0000\n" +"Last-Translator: 朱陈锬 \n" +"Language-Team: Chinese (China) (http://www.transifex.com/Friendica/friendica/language/zh_CN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: cs_CZ\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" #: langfilter.php:44 msgid "Language Filter" @@ -57,7 +58,7 @@ msgstr "" #: langfilter.php:49 msgid "Save Settings" -msgstr "" +msgstr "保存设置" #: langfilter.php:73 msgid "Language Filter Settings saved." diff --git a/langfilter/lang/zh-cn/strings.php b/langfilter/lang/zh-cn/strings.php index 2de17b0a..75f6b6b4 100644 --- a/langfilter/lang/zh-cn/strings.php +++ b/langfilter/lang/zh-cn/strings.php @@ -2,7 +2,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ - return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; + return 0;; }} ; $a->strings["Language Filter"] = ""; @@ -12,6 +12,6 @@ $a->strings["I speak"] = ""; $a->strings["List of abbreviations (iso2 codes) for languages you speak, comma separated. For example \"de,it\"."] = ""; $a->strings["Minimum confidence in language detection"] = ""; $a->strings["Minimum confidence in language detection being correct, from 0 to 100. Posts will not be filtered when the confidence of language detection is below this percent value."] = ""; -$a->strings["Save Settings"] = ""; +$a->strings["Save Settings"] = "保存设置"; $a->strings["Language Filter Settings saved."] = ""; $a->strings["unspoken language %s - Click to open/close"] = "";