docs: add Chinese translation of Specification Pattern

This commit is contained in:
autoload
2021-11-11 08:52:55 -08:00
parent 7ffe92c28f
commit 6371a582d5

View File

@@ -5,7 +5,7 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: David Wan <autoloadone@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -13,11 +13,11 @@ msgstr ""
#: ../../Behavioral/Specification/README.rst:2
msgid "`Specification`__"
msgstr ""
msgstr "`规格模式`__"
#: ../../Behavioral/Specification/README.rst:5
msgid "Purpose"
msgstr ""
msgstr "目的"
#: ../../Behavioral/Specification/README.rst:7
msgid ""
@@ -26,10 +26,12 @@ msgid ""
"``isSatisfiedBy`` that returns either true or false depending on whether the"
" given object satisfies the specification."
msgstr ""
"构建清晰的业务规则规范,在其中可以对对象进行检查。每个规范类有一个名为[isSatisfiedBy]"
"的方法根据给定对象是否满足规范返回true或false。"
#: ../../Behavioral/Specification/README.rst:13
msgid "Examples"
msgstr ""
msgstr "例子"
#: ../../Behavioral/Specification/README.rst:15
msgid "`RulerZ <https://github.com/K-Phoen/rulerz>`__"
@@ -37,16 +39,16 @@ msgstr ""
#: ../../Behavioral/Specification/README.rst:18
msgid "UML Diagram"
msgstr ""
msgstr "UML 图"
#: ../../Behavioral/Specification/README.rst:25
msgid "Code"
msgstr ""
msgstr "代码"
#: ../../Behavioral/Specification/README.rst:27
msgid "You can also find this code on `GitHub`_"
msgstr ""
msgstr "在 `GitHub`_ 上查看代码"
#: ../../Behavioral/Specification/README.rst:72
msgid "Test"
msgstr ""
msgstr "测试"