docs: add Chinese translation of Command Pattern

This commit is contained in:
autoload
2021-11-01 21:36:29 -07:00
parent b666640f73
commit 0cead18424

View File

@@ -47,13 +47,15 @@ msgstr ""
#: ../../Behavioral/Command/README.rst:21 #: ../../Behavioral/Command/README.rst:21
msgid "Examples" msgid "Examples"
msgstr "" msgstr "例子"
#: ../../Behavioral/Command/README.rst:23 #: ../../Behavioral/Command/README.rst:23
msgid "" msgid ""
"A text editor : all events are Command which can be undone, stacked and " "A text editor : all events are Command which can be undone, stacked and "
"saved." "saved."
msgstr "" msgstr ""
"文本编辑器:所有事件都可以撤销、堆放、保存的"
"命令。"
#: ../../Behavioral/Command/README.rst:27 #: ../../Behavioral/Command/README.rst:27
msgid "" msgid ""
@@ -61,19 +63,21 @@ msgid ""
"\"modules\", each of these can be implemented with the Command pattern (e.g." "\"modules\", each of these can be implemented with the Command pattern (e.g."
" vagrant)" " vagrant)"
msgstr "" msgstr ""
"大型CLI工具使用子命令来分发各种任务并将它们打包到【模块】"
"每个模块都可以用命令行模式实现例如【vagrant】。"
#: ../../Behavioral/Command/README.rst:32 #: ../../Behavioral/Command/README.rst:32
msgid "UML Diagram" msgid "UML Diagram"
msgstr "" msgstr "UML 图"
#: ../../Behavioral/Command/README.rst:39 #: ../../Behavioral/Command/README.rst:39
msgid "Code" msgid "Code"
msgstr "" msgstr "代码"
#: ../../Behavioral/Command/README.rst:41 #: ../../Behavioral/Command/README.rst:41
msgid "You can also find this code on `GitHub`_" msgid "You can also find this code on `GitHub`_"
msgstr "" msgstr "在 `GitHub`_ 上查看代码"
#: ../../Behavioral/Command/README.rst:68 #: ../../Behavioral/Command/README.rst:68
msgid "Test" msgid "Test"
msgstr "" msgstr "测试"