docs: add Translation to Chinese [ zh_CN ]

This commit is contained in:
autoload
2021-11-01 20:38:15 -07:00
parent c9555390ce
commit b666640f73

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,15 +13,15 @@ msgstr ""
#: ../../Behavioral/Command/README.rst:2
msgid "`Command`__"
msgstr ""
msgstr "`命令行模式`__"
#: ../../Behavioral/Command/README.rst:5
msgid "Purpose"
msgstr ""
msgstr "目的"
#: ../../Behavioral/Command/README.rst:7
msgid "To encapsulate invocation and decoupling."
msgstr ""
msgstr "封装调用与解耦"
#: ../../Behavioral/Command/README.rst:9
msgid ""
@@ -31,6 +31,9 @@ msgid ""
"process the Command of the client. The Receiver is decoupled from the "
"Invoker."
msgstr ""
"我们有一个调用器和一个接受器。"
"此模式使用一个【Command】来委托接收器的方法调用并呈现相同的方法【execute】。"
"调用器只知道调用【execute】来处理客户机的【Command】。从而实现了接收器和调用者的解耦。"
#: ../../Behavioral/Command/README.rst:15
msgid ""
@@ -38,6 +41,9 @@ msgid ""
"execute(). Command can also be aggregated to combine more complex commands "
"with minimum copy-paste and relying on composition over inheritance."
msgstr ""
"此模式的另一个方面是undo()它取消execute()方法。"
"命令行也可以通过聚合来组合更复杂的命令,使用最小的复制-粘贴,并依赖组合而不是继承。"
#: ../../Behavioral/Command/README.rst:21
msgid "Examples"