summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuir Mok <muirmok@gmail.com>2020-02-14 01:41:39 +0800
committerGitHub <noreply@github.com>2020-02-13 12:41:39 -0500
commit918d28042fb3f8e02abeb6ca95324ebd5fe81550 (patch)
treea77c676e0eed870e3483f0eb9badf27086efea60
parentcdc8a0e9029bfef56986cb698ef2fb4e0f669a06 (diff)
downloadasciidoc-py3-918d28042fb3f8e02abeb6ca95324ebd5fe81550.tar.gz
Add Simplified Chinese Translation (#96)
-rw-r--r--lang-zh-CN.conf62
1 files changed, 62 insertions, 0 deletions
diff --git a/lang-zh-CN.conf b/lang-zh-CN.conf
new file mode 100644
index 0000000..9dfd82f
--- /dev/null
+++ b/lang-zh-CN.conf
@@ -0,0 +1,62 @@
+#
+# AsciiDoc Simplified Chinese language configuration file.
+# Originally written by 缪尔•莫克 (Muir Mok)
+#
+
+[attributes]
+# Left and right single and double quote characters.
+lsquo=‘
+rsquo=’
+ldquo=“
+rdquo=”
+
+# Captions, used by (X)HTML backends.
+# Captions on RHS are displayed in outputs.
+ifdef::basebackend-html[]
+
+caution-caption=注意
+important-caption=重要
+note-caption=注
+tip-caption=提示
+warning-caption=警告
+figure-caption=图
+table-caption=表
+example-caption=例
+toc-title=目录
+appendix-caption=附录
+# Man page NAME section title.
+manname-title=名称
+
+[footer-text]
+版本 {revnumber}{basebackend-xhtml11?<br />}{basebackend-xhtml11=<br>}
+更新时间
+template::[footer-date]
+
+endif::basebackend-html[]
+
+
+[specialsections]
+# DocBook special sections.
+# The regular expression on LHS is matched against source titles.
+ifdef::basebackend-docbook[]
+
+ifdef::doctype-article[]
+^摘要$=abstract
+endif::doctype-article[]
+
+ifdef::doctype-book[]
+^版权页$=colophon
+^献词$=dedication
+^序言$=preface
+endif::doctype-book[]
+
+^索引$=index
+^(参考文献|参考书目)$=bibliography
+^术语表$=glossary
+^附录 [A-Z][:.](?P<title>.*)$=appendix
+
+endif::basebackend-docbook[]
+
+ifdef::doctype-manpage[]
+(?i)^格式$=synopsis
+endif::doctype-manpage[]