langfilter ZH CN translation update THX asherpen

This commit is contained in:
Tobias Diekershoff 2019-04-02 10:08:02 +02:00
parent 745e1675a2
commit 44a966adcf
2 changed files with 52 additions and 37 deletions

View File

@ -4,14 +4,16 @@
# #
# #
# Translators: # Translators:
# Asher Pen <asherpen@gmail.com>, 2019
# 朱陈锬 <tangenters@outlook.com>, 2018
# 朱陈锬 <tangenters@outlook.com>, 2018 # 朱陈锬 <tangenters@outlook.com>, 2018
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: 2015-09-22 15:18+0200\n" "POT-Creation-Date: 2018-04-01 11:11-0400\n"
"PO-Revision-Date: 2018-02-28 11:28+0000\n" "PO-Revision-Date: 2019-03-25 02:01+0000\n"
"Last-Translator: 朱陈锬 <tangenters@outlook.com>\n" "Last-Translator: Asher Pen <asherpen@gmail.com>\n"
"Language-Team: Chinese (China) (http://www.transifex.com/Friendica/friendica/language/zh_CN/)\n" "Language-Team: Chinese (China) (http://www.transifex.com/Friendica/friendica/language/zh_CN/)\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"
@ -19,52 +21,62 @@ msgstr ""
"Language: zh_CN\n" "Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#: langfilter.php:44 #: langfilter.php:58
msgid "Language Filter" msgid "Language Filter"
msgstr "" msgstr "语言过滤器"
#: langfilter.php:45 #: langfilter.php:59
msgid "" msgid ""
"This addon tries to identify the language of a postings. If it does not " "This addon tries to identify the language posts are writen in. If it does "
"match any language spoken by you (see below) the posting will be collapsed. " "not match any language specifed below, posts will be hidden by collapsing "
"Remember detecting the language is not perfect, especially with short " "them."
"postings." msgstr "这个插件将尝试识别帖子所用的语言。如果不符合以下列出的语言,帖子将被折叠以隐藏。"
msgstr ""
#: langfilter.php:46 #: langfilter.php:60
msgid "Use the language filter" msgid "Use the language filter"
msgstr "" msgstr "使用语言过滤器"
#: langfilter.php:47 #: langfilter.php:61
msgid "I speak" msgid "Able to read"
msgstr "" msgstr "想要显示的语言"
#: langfilter.php:47 #: langfilter.php:61
msgid "" msgid ""
"List of abbreviations (iso2 codes) for languages you speak, comma separated." "List of abbreviations (iso2 codes) for languages you speak, comma separated."
" For example \"de,it\"." " For example \"de,it\"."
msgstr "" msgstr "您使用的语言缩写 (iso2 codes) 列表,逗号分隔。例如 \"zh,en\"。"
#: langfilter.php:48 #: langfilter.php:62
msgid "Minimum confidence in language detection" msgid "Minimum confidence in language detection"
msgstr "" msgstr "语言识别阈值"
#: langfilter.php:48 #: langfilter.php:62
msgid "" msgid ""
"Minimum confidence in language detection being correct, from 0 to 100. Posts" "Minimum confidence in language detection being correct, from 0 to 100. Posts"
" will not be filtered when the confidence of language detection is below " " will not be filtered when the confidence of language detection is below "
"this percent value." "this percent value."
msgstr "" msgstr "语言识别阈值0100。语言识别结果低于该阈值的帖子将不会被折叠。"
#: langfilter.php:49 #: langfilter.php:63
msgid "Minimum length of message body"
msgstr "语言过滤帖子所需最小字符个数"
#: langfilter.php:63
msgid ""
"Minimum number of characters in message body for filter to be used. Posts "
"shorter than this will not be filtered. Note: Language detection is "
"unreliable for short content (<200 characters)."
msgstr "语言过滤帖子所需最小字符个数。低于该数字的帖子将不会被过滤。注意对于字符个数小于200的帖子语言检测功能将不够稳定。"
#: langfilter.php:64
msgid "Save Settings" msgid "Save Settings"
msgstr "保存设置" msgstr "保存设置"
#: langfilter.php:73 #: langfilter.php:105
msgid "Language Filter Settings saved." msgid "Language Filter Settings saved."
msgstr "" msgstr "语言过滤器设置已保存。"
#: langfilter.php:123 #: langfilter.php:182
#, php-format #, php-format
msgid "unspoken language %s - Click to open/close" msgid "Filtered language: %s"
msgstr "" msgstr "已过滤的语言:%s"

View File

@ -2,16 +2,19 @@
if(! function_exists("string_plural_select_zh_cn")) { if(! function_exists("string_plural_select_zh_cn")) {
function string_plural_select_zh_cn($n){ function string_plural_select_zh_cn($n){
$n = intval($n);
return 0;; return 0;;
}} }}
; ;
$a->strings["Language Filter"] = ""; $a->strings["Language Filter"] = "语言过滤器";
$a->strings["This addon tries to identify the language of a postings. If it does not match any language spoken by you (see below) the posting will be collapsed. Remember detecting the language is not perfect, especially with short postings."] = ""; $a->strings["This addon tries to identify the language posts are writen in. If it does not match any language specifed below, posts will be hidden by collapsing them."] = "这个插件将尝试识别帖子所用的语言。如果不符合以下列出的语言,帖子将被折叠以隐藏。";
$a->strings["Use the language filter"] = ""; $a->strings["Use the language filter"] = "使用语言过滤器";
$a->strings["I speak"] = ""; $a->strings["Able to read"] = "想要显示的语言";
$a->strings["List of abbreviations (iso2 codes) for languages you speak, comma separated. For example \"de,it\"."] = ""; $a->strings["List of abbreviations (iso2 codes) for languages you speak, comma separated. For example \"de,it\"."] = "您使用的语言缩写 (iso2 codes) 列表,逗号分隔。例如 \"zh,en\"";
$a->strings["Minimum confidence in language detection"] = ""; $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["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."] = "语言识别阈值0100。语言识别结果低于该阈值的帖子将不会被折叠。";
$a->strings["Minimum length of message body"] = "语言过滤帖子所需最小字符个数";
$a->strings["Minimum number of characters in message body for filter to be used. Posts shorter than this will not be filtered. Note: Language detection is unreliable for short content (<200 characters)."] = "语言过滤帖子所需最小字符个数。低于该数字的帖子将不会被过滤。注意对于字符个数小于200的帖子语言检测功能将不够稳定。";
$a->strings["Save Settings"] = "保存设置"; $a->strings["Save Settings"] = "保存设置";
$a->strings["Language Filter Settings saved."] = ""; $a->strings["Language Filter Settings saved."] = "语言过滤器设置已保存。";
$a->strings["unspoken language %s - Click to open/close"] = ""; $a->strings["Filtered language: %s"] = "已过滤的语言:%s";