@@ -5,63 +5,71 @@ 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/TemplateMethod/README.rst:2
15
15
msgid "`Template Method`__"
16
- msgstr ""
16
+ msgstr "`模板方法模式`__ "
17
17
18
18
#: ../../Behavioral/TemplateMethod/README.rst:5
19
19
msgid "Purpose"
20
- msgstr ""
20
+ msgstr "目的 "
21
21
22
22
#: ../../Behavioral/TemplateMethod/README.rst:7
23
23
msgid "Template Method is a behavioral design pattern."
24
- msgstr ""
24
+ msgstr "模板方法是一种行为设计模式。 "
25
25
26
26
#: ../../Behavioral/TemplateMethod/README.rst:9
27
27
msgid ""
28
28
"Perhaps you have encountered it many times already. The idea is to let "
29
29
"subclasses of this abstract template \" finish\" the behavior of an "
30
30
"algorithm."
31
31
msgstr ""
32
+ "你可能已经遇到过很多次了。"
33
+ "它的思想是让这个抽象模板的子类【完成】算法的行为策略。"
32
34
33
35
#: ../../Behavioral/TemplateMethod/README.rst:13
34
36
msgid ""
35
37
"A.k.a the \" Hollywood principle\" : \" Don't call us, we call you.\" This "
36
38
"class is not called by subclasses but the inverse. How? With abstraction of "
37
39
"course."
38
40
msgstr ""
41
+ "也就是【好莱坞原则】:【别打给我们,我们打给你】。"
42
+ "这个类不是由子类调用的,而是由相反的子类调用的。怎么样?当然是抽象的。"
39
43
40
44
#: ../../Behavioral/TemplateMethod/README.rst:17
41
45
msgid ""
42
46
"In other words, this is a skeleton of algorithm, well-suited for framework "
43
47
"libraries. The user has just to implement one method and the superclass do "
44
48
"the job."
45
49
msgstr ""
50
+ "换句话说,这是一个算法框架,非常适合框架库。"
51
+ "用户只需要实现一个方法,超类就可以完成这项工作。"
46
52
47
53
#: ../../Behavioral/TemplateMethod/README.rst:21
48
54
msgid ""
49
55
"It is an easy way to decouple concrete classes and reduce copy-paste, that's"
50
56
" why you'll find it everywhere."
51
57
msgstr ""
58
+ "它是解耦具体类和减少复制黏贴的一种简单方法,"
59
+ "这就是为什么你会发现它无处不在。"
52
60
53
61
#: ../../Behavioral/TemplateMethod/README.rst:25
54
62
msgid "UML Diagram"
55
- msgstr ""
63
+ msgstr "UML 图 "
56
64
57
65
#: ../../Behavioral/TemplateMethod/README.rst:32
58
66
msgid "Code"
59
- msgstr ""
67
+ msgstr "代码 "
60
68
61
69
#: ../../Behavioral/TemplateMethod/README.rst:34
62
70
msgid "You can also find this code on `GitHub`_"
63
- msgstr ""
71
+ msgstr "在 `GitHub`_ 上查看代码 "
64
72
65
73
#: ../../Behavioral/TemplateMethod/README.rst:55
66
74
msgid "Test"
67
- msgstr ""
75
+ msgstr "测试 "
0 commit comments