Skip to content

Commit c955539

Browse files
committed
docs: add Translation to Chinese
1 parent dc82511 commit c955539

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

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

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,51 +13,57 @@ msgstr ""
1313

1414
#: ../../Behavioral/ChainOfResponsibilities/README.rst:2
1515
msgid "`Chain Of Responsibilities`__"
16-
msgstr ""
16+
msgstr "`责任链模式`__"
1717

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

2222
#: ../../Behavioral/ChainOfResponsibilities/README.rst:7
2323
msgid ""
2424
"To build a chain of objects to handle a call in sequential order. If one "
2525
"object cannot handle a call, it delegates the call to the next in the chain "
2626
"and so forth."
2727
msgstr ""
28+
"创建一个按顺序处理调用的对象链。"
29+
"如果一个对象不能处理调用,"
30+
"它将把调用委托给链中的下一个对象,以此类推。"
2831

2932
#: ../../Behavioral/ChainOfResponsibilities/README.rst:12
30-
msgid "Examples:"
31-
msgstr ""
33+
msgid "Examples"
34+
msgstr "例子"
3235

3336
#: ../../Behavioral/ChainOfResponsibilities/README.rst:14
3437
msgid ""
3538
"logging framework, where each chain element decides autonomously what to do "
3639
"with a log message"
3740
msgstr ""
41+
"日志框架,其中每个链元素自主决定如何处理日志信息"
3842

3943
#: ../../Behavioral/ChainOfResponsibilities/README.rst:16
4044
msgid "a Spam filter"
4145
msgstr ""
46+
"垃圾邮件过滤器"
4247

4348
#: ../../Behavioral/ChainOfResponsibilities/README.rst:17
4449
msgid ""
4550
"Caching: first object is an instance of e.g. a Memcached Interface, if that "
4651
"\"misses\" it delegates the call to the database interface"
4752
msgstr ""
53+
"缓存:第一个对象是一个例如Memcached的接口,如果“没有命中”它则委托调用数据库的接口"
4854

4955
#: ../../Behavioral/ChainOfResponsibilities/README.rst:25
5056
msgid "UML Diagram"
51-
msgstr ""
57+
msgstr "UML 图"
5258

5359
#: ../../Behavioral/ChainOfResponsibilities/README.rst:32
5460
msgid "Code"
55-
msgstr ""
61+
msgstr "代码"
5662

5763
#: ../../Behavioral/ChainOfResponsibilities/README.rst:34
5864
msgid "You can also find this code on `GitHub`_"
59-
msgstr ""
65+
msgstr "在 `GitHub`_ 上查看代码"
6066

6167
#: ../../Behavioral/ChainOfResponsibilities/README.rst:61
6268
msgid "Test"
63-
msgstr ""
69+
msgstr "测试"

locale/zh_CN/LC_MESSAGES/Behavioral/README.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ msgid ""
2222
"patterns. By doing so, these patterns increase flexibility in carrying out "
2323
"this communication."
2424
msgstr ""
25-
"在软件工程中,行为设计模式是识别对象之间的通用通信模式并实现这些模式的设计模式。"
25+
"在软件工程中,行为设计模式是识别对象之间常见的通信模式并实现这些模式的设计模式。"
2626
"通过这样做,这些模式增加了执行这种通信的灵活性。"

0 commit comments

Comments
 (0)