Skip to content

Commit d7422d0

Browse files
committed
docs: add Chinese translation of State Pattern
1 parent 6371a58 commit d7422d0

File tree

1 file changed

+9
-7
lines changed
  • locale/zh_CN/LC_MESSAGES/Behavioral/State

1 file changed

+9
-7
lines changed

locale/zh_CN/LC_MESSAGES/Behavioral/State/README.po

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,41 @@ msgstr ""
55
"Report-Msgid-Bugs-To: \n"
66
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
77
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8+
"Last-Translator: David Wan <autoloadone@gmail.com>\n"
99
"Language-Team: LANGUAGE <LL@li.org>\n"
1010
"MIME-Version: 1.0\n"
1111
"Content-Type: text/plain; charset=UTF-8\n"
1212
"Content-Transfer-Encoding: 8bit\n"
1313

1414
#: ../../Behavioral/State/README.rst:2
1515
msgid "`State`__"
16-
msgstr ""
16+
msgstr "`状态模式`__"
1717

1818
#: ../../Behavioral/State/README.rst:5
1919
msgid "Purpose"
20-
msgstr ""
20+
msgstr "目的"
2121

2222
#: ../../Behavioral/State/README.rst:7
2323
msgid ""
2424
"Encapsulate varying behavior for the same routine based on an object's "
2525
"state. This can be a cleaner way for an object to change its behavior at "
2626
"runtime without resorting to large monolithic conditional statements."
2727
msgstr ""
28+
"根据对象的状态封装一种事务的不同行为。 这更简洁的方式可以在对象在运行时更改其行为,"
29+
"而无需求助于大型的判断条件语句。"
2830

2931
#: ../../Behavioral/State/README.rst:12
3032
msgid "UML Diagram"
31-
msgstr ""
33+
msgstr "UML 图"
3234

3335
#: ../../Behavioral/State/README.rst:19
3436
msgid "Code"
35-
msgstr ""
37+
msgstr "代码"
3638

3739
#: ../../Behavioral/State/README.rst:21
3840
msgid "You can also find this code on `GitHub`_"
39-
msgstr ""
41+
msgstr "在 `GitHub`_ 上查看代码"
4042

4143
#: ../../Behavioral/State/README.rst:54
4244
msgid "Test"
43-
msgstr ""
45+
msgstr "测试"

0 commit comments

Comments
 (0)