@@ -5,68 +5,72 @@ msgstr ""
5
5
"Report-Msgid-Bugs-To : \n "
6
6
"POT-Creation-Date : 2015-05-29 12:18+0200\n "
7
7
"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 "
9
9
"Language-Team : LANGUAGE <LL@li.org>\n "
10
10
"MIME-Version : 1.0\n "
11
11
"Content-Type : text/plain; charset=UTF-8\n "
12
12
"Content-Transfer-Encoding : 8bit\n "
13
13
14
14
#: ../../Behavioral/Strategy/README.rst:2
15
15
msgid "`Strategy`__"
16
- msgstr ""
16
+ msgstr "`策略模式`__ "
17
17
18
18
#: ../../Behavioral/Strategy/README.rst:5
19
19
msgid "Terminology:"
20
- msgstr ""
20
+ msgstr "术语 "
21
21
22
22
#: ../../Behavioral/Strategy/README.rst:7
23
23
msgid "Context"
24
- msgstr ""
24
+ msgstr "上下文 "
25
25
26
26
#: ../../Behavioral/Strategy/README.rst:8
27
27
msgid "Strategy"
28
- msgstr ""
28
+ msgstr "策略 "
29
29
30
30
#: ../../Behavioral/Strategy/README.rst:9
31
31
msgid "Concrete Strategy"
32
- msgstr ""
32
+ msgstr "具体的策略 "
33
33
34
34
#: ../../Behavioral/Strategy/README.rst:12
35
35
msgid "Purpose"
36
- msgstr ""
36
+ msgstr "目的 "
37
37
38
38
#: ../../Behavioral/Strategy/README.rst:14
39
39
msgid ""
40
40
"To separate strategies and to enable fast switching between them. Also this "
41
41
"pattern is a good alternative to inheritance (instead of having an abstract "
42
42
"class that is extended)."
43
43
msgstr ""
44
+ "分开策略,并使它们之间能够快速切换。"
45
+ "此外,这种模式也是继承的一种很好的替代方法(而不是扩展抽象类)"
46
+
44
47
45
48
#: ../../Behavioral/Strategy/README.rst:19
46
49
msgid "Examples"
47
- msgstr ""
50
+ msgstr "例子 "
48
51
49
52
#: ../../Behavioral/Strategy/README.rst:21
50
53
msgid "sorting a list of objects, one strategy by date, the other by id"
51
- msgstr ""
54
+ msgstr "对对象列表进行排序,一种策略是根据日期,另一种策略是根据id "
52
55
53
56
#: ../../Behavioral/Strategy/README.rst:22
54
57
msgid ""
55
58
"simplify unit testing: e.g. switching between file and in-memory storage"
56
59
msgstr ""
60
+ "简化单元测试:例如在文件和内存存储之间切换"
57
61
58
62
#: ../../Behavioral/Strategy/README.rst:26
59
63
msgid "UML Diagram"
60
- msgstr ""
64
+ msgstr "UML 图 "
61
65
62
66
#: ../../Behavioral/Strategy/README.rst:33
63
67
msgid "Code"
64
- msgstr ""
68
+ msgstr "代码 "
65
69
66
70
#: ../../Behavioral/Strategy/README.rst:35
67
71
msgid "You can also find this code on `GitHub`_"
68
- msgstr ""
72
+ msgstr "在 `GitHub`_ 上查看代码 "
69
73
70
74
#: ../../Behavioral/Strategy/README.rst:62
71
75
msgid "Test"
72
- msgstr ""
76
+ msgstr "测试 "
0 commit comments