From c67b26ed73bb27c35606f773bfa062713aca72a4 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 2 Mar 2018 11:33:41 +0100 Subject: [PATCH 1/4] =?UTF-8?q?ZH=20CN=20translation=20of=20the=20piwik=20?= =?UTF-8?q?addon=20THX=20=E6=9C=B1=E9=99=88=E9=94=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- piwik/lang/zh-cn/messages.po | 64 ++++++++++++++++++++++++++++++++++++ piwik/lang/zh-cn/strings.php | 27 ++++++++------- 2 files changed, 80 insertions(+), 11 deletions(-) create mode 100644 piwik/lang/zh-cn/messages.po diff --git a/piwik/lang/zh-cn/messages.po b/piwik/lang/zh-cn/messages.po new file mode 100644 index 00000000..6db5342a --- /dev/null +++ b/piwik/lang/zh-cn/messages.po @@ -0,0 +1,64 @@ +# ADDON piwik +# Copyright (C) +# This file is distributed under the same license as the Friendica piwik addon package. +# +# +# Translators: +# 朱陈锬 , 2018 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-26 12:49+0200\n" +"PO-Revision-Date: 2018-03-01 09:57+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: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: piwik.php:79 +msgid "" +"This website is tracked using the Piwik " +"analytics tool." +msgstr "此网站用 Piwik 追踪分析工具。" + +#: piwik.php:82 +#, php-format +msgid "" +"If you do not want that your visits are logged in this way you can set a cookie to prevent Piwik from tracking further visits of " +"the site (opt-out)." +msgstr "" + +#: piwik.php:89 +msgid "Save Settings" +msgstr "保存设置" + +#: piwik.php:90 +msgid "Piwik Base URL" +msgstr "" + +#: piwik.php:90 +msgid "" +"Absolute path to your Piwik installation. (without protocol (http/s), with " +"trailing slash)" +msgstr "" + +#: piwik.php:91 +msgid "Site ID" +msgstr "" + +#: piwik.php:92 +msgid "Show opt-out cookie link?" +msgstr "" + +#: piwik.php:93 +msgid "Asynchronous tracking" +msgstr "异步追踪" + +#: piwik.php:105 +msgid "Settings updated." +msgstr "设置已更新。" diff --git a/piwik/lang/zh-cn/strings.php b/piwik/lang/zh-cn/strings.php index 21ce8b6f..ad99b364 100644 --- a/piwik/lang/zh-cn/strings.php +++ b/piwik/lang/zh-cn/strings.php @@ -1,11 +1,16 @@ -strings["This website is tracked using the Piwik analytics tool."] = "这个网站用Piwik分析工具追踪 。"; -$a->strings["If you do not want that your visits are logged this way you can set a cookie to prevent Piwik from tracking further visits of the site (opt-out)."] = "如果您不想您访问这样记录您可以用一个cookie防Piwik追踪未来的访问(选择性退出)。"; -$a->strings["Submit"] = "提交"; -$a->strings["Piwik Base URL"] = "Piwik基础URL"; -$a->strings["Absolute path to your Piwik installation. (without protocol (http/s), with trailing slash)"] = "绝对道路到Piwik安装。(没有协议(http/s)跟斜线后缀)"; -$a->strings["Site ID"] = "网站ID"; -$a->strings["Show opt-out cookie link?"] = " 显示选择性退出cookie按钮?"; -$a->strings["Asynchronous tracking"] = "异步追踪"; -$a->strings["Settings updated."] = "设置跟新了"; +strings["This website is tracked using the Piwik analytics tool."] = "此网站用 Piwik 追踪分析工具。"; +$a->strings["If you do not want that your visits are logged in this way you can set a cookie to prevent Piwik from tracking further visits of the site (opt-out)."] = ""; +$a->strings["Save Settings"] = "保存设置"; +$a->strings["Piwik Base URL"] = ""; +$a->strings["Absolute path to your Piwik installation. (without protocol (http/s), with trailing slash)"] = ""; +$a->strings["Site ID"] = ""; +$a->strings["Show opt-out cookie link?"] = ""; +$a->strings["Asynchronous tracking"] = "异步追踪"; +$a->strings["Settings updated."] = "设置已更新。"; From 32315922c4f23320d64daa88b4207b080b87e3f5 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 2 Mar 2018 11:35:45 +0100 Subject: [PATCH 2/4] =?UTF-8?q?ZH=20CN=20translation=20of=20mathjax=20addo?= =?UTF-8?q?n=20THX=20=E6=9C=B1=E9=99=88=E9=94=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mathjax/lang/zh-cn/messages.po | 53 ++++++++++++++++++++++++++++++++++ mathjax/lang/zh-cn/strings.php | 23 +++++++++------ 2 files changed, 67 insertions(+), 9 deletions(-) create mode 100644 mathjax/lang/zh-cn/messages.po diff --git a/mathjax/lang/zh-cn/messages.po b/mathjax/lang/zh-cn/messages.po new file mode 100644 index 00000000..4e464fbb --- /dev/null +++ b/mathjax/lang/zh-cn/messages.po @@ -0,0 +1,53 @@ +# ADDON mathjax +# Copyright (C) +# This file is distributed under the same license as the Friendica mathjax addon package. +# +# +# Translators: +# 朱陈锬 , 2018 +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: 2018-03-01 09:50+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: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: mathjax.php:36 +msgid "Settings" +msgstr "设置" + +#: mathjax.php:37 +msgid "" +"The MathJax addon renders mathematical formulae written using the LaTeX " +"syntax surrounded by the usual $$ or an eqnarray block in the postings of " +"your wall,network tab and private mail." +msgstr "" + +#: mathjax.php:38 +msgid "Use the MathJax renderer" +msgstr "使用 MathJax 渲染" + +#: mathjax.php:42 +msgid "Submit" +msgstr "提交" + +#: mathjax.php:66 +msgid "Settings updated." +msgstr "设置已更新" + +#: mathjax.php:75 +msgid "MathJax Base URL" +msgstr "" + +#: mathjax.php:75 +msgid "" +"The URL for the javascript file that should be included to use MathJax. Can " +"be either the MathJax CDN or another installation of MathJax." +msgstr "" diff --git a/mathjax/lang/zh-cn/strings.php b/mathjax/lang/zh-cn/strings.php index 24ac6e99..05103a5d 100644 --- a/mathjax/lang/zh-cn/strings.php +++ b/mathjax/lang/zh-cn/strings.php @@ -1,9 +1,14 @@ -strings["Settings"] = "配置"; -$a->strings["The MathJax addon renders mathematical formulae written using the LaTeX syntax surrounded by the usual $$ or an eqnarray block in the postings of your wall,network tab and private mail."] = "MathJax插件表示用LaTeX句法的数学公式,围绕$"; -$a->strings["Use the MathJax renderer"] = "用MathJax表示器"; -$a->strings["Submit"] = "提交"; -$a->strings["Settings updated."] = "设置跟新了"; -$a->strings["MathJax Base URL"] = "MathJax基础URL"; -$a->strings["The URL for the javascript file that should be included to use MathJax. Can be either the MathJax CDN or another installation of MathJax."] = "URL JavaScript文件应该包括为用MathJax。可以MathJax CDN或者别的MathJax安装。"; +strings["Settings"] = "设置"; +$a->strings["The MathJax addon renders mathematical formulae written using the LaTeX syntax surrounded by the usual $$ or an eqnarray block in the postings of your wall,network tab and private mail."] = ""; +$a->strings["Use the MathJax renderer"] = "使用 MathJax 渲染"; +$a->strings["Submit"] = "提交"; +$a->strings["Settings updated."] = "设置已更新"; +$a->strings["MathJax Base URL"] = ""; +$a->strings["The URL for the javascript file that should be included to use MathJax. Can be either the MathJax CDN or another installation of MathJax."] = ""; From 7bd10aedcc919e1d77d801b7b9ce341e52c653f5 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 2 Mar 2018 11:38:46 +0100 Subject: [PATCH 3/4] added ZH CN translation for langfilter addon THX ZhuChentan --- langfilter/lang/zh-cn/messages.po | 69 +++++++++++++++++++++++++++++++ langfilter/lang/zh-cn/strings.php | 17 ++++++++ 2 files changed, 86 insertions(+) create mode 100644 langfilter/lang/zh-cn/messages.po create mode 100644 langfilter/lang/zh-cn/strings.php diff --git a/langfilter/lang/zh-cn/messages.po b/langfilter/lang/zh-cn/messages.po new file mode 100644 index 00000000..6c991ef8 --- /dev/null +++ b/langfilter/lang/zh-cn/messages.po @@ -0,0 +1,69 @@ +# ADDON langfilter +# Copyright (C) +# This file is distributed under the same license as the Friendica langfilter addon package. +# +# +# Translators: +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" +"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" + +#: langfilter.php:44 +msgid "Language Filter" +msgstr "" + +#: langfilter.php:45 +msgid "" +"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." +msgstr "" + +#: langfilter.php:46 +msgid "Use the language filter" +msgstr "" + +#: langfilter.php:47 +msgid "I speak" +msgstr "" + +#: langfilter.php:47 +msgid "" +"List of abbreviations (iso2 codes) for languages you speak, comma separated." +" For example \"de,it\"." +msgstr "" + +#: langfilter.php:48 +msgid "Minimum confidence in language detection" +msgstr "" + +#: langfilter.php:48 +msgid "" +"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." +msgstr "" + +#: langfilter.php:49 +msgid "Save Settings" +msgstr "" + +#: langfilter.php:73 +msgid "Language Filter Settings saved." +msgstr "" + +#: langfilter.php:123 +#, php-format +msgid "unspoken language %s - Click to open/close" +msgstr "" diff --git a/langfilter/lang/zh-cn/strings.php b/langfilter/lang/zh-cn/strings.php new file mode 100644 index 00000000..2de17b0a --- /dev/null +++ b/langfilter/lang/zh-cn/strings.php @@ -0,0 +1,17 @@ +=2 && $n<=4) ? 1 : 2;; +}} +; +$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["Use the language filter"] = ""; +$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["Language Filter Settings saved."] = ""; +$a->strings["unspoken language %s - Click to open/close"] = ""; From 80faa02a58ff80ba3dec073649f61491dea176b3 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 2 Mar 2018 11:57:35 +0100 Subject: [PATCH 4/4] 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"] = "";