@@ -5,57 +5,60 @@ 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/Iterator/README.rst:2
15
15
msgid "`Iterator`__"
16
- msgstr ""
16
+ msgstr "迭代器模式 "
17
17
18
18
#: ../../Behavioral/Iterator/README.rst:5
19
19
msgid "Purpose"
20
- msgstr ""
20
+ msgstr "目的 "
21
21
22
22
#: ../../Behavioral/Iterator/README.rst:7
23
23
msgid "To make an object iterable and to make it appear like a collection of objects."
24
- msgstr ""
24
+ msgstr "使一个对象可迭代,并使它看起来像对象集合。 "
25
25
26
26
#: ../../Behavioral/Iterator/README.rst:11
27
- msgid "Examples "
27
+ msgid "例子 "
28
28
msgstr ""
29
29
30
30
#: ../../Behavioral/Iterator/README.rst:13
31
31
msgid ""
32
32
"to process a file line by line by just running over all lines (which have an"
33
33
" object representation) for a file (which of course is an object, too)"
34
34
msgstr ""
35
+ "通过遍历文件的所有行(对象表现形式的)来逐行处理文件(也是对象)"
35
36
36
37
#: ../../Behavioral/Iterator/README.rst:18
37
38
msgid "Note"
38
- msgstr ""
39
+ msgstr "注意 "
39
40
40
41
#: ../../Behavioral/Iterator/README.rst:20
41
42
msgid ""
42
43
"Standard PHP Library (SPL) defines an interface Iterator which is best "
43
44
"suited for this! Often you would want to implement the Countable interface "
44
45
"too, to allow ``count($object)`` on your iterable object"
45
46
msgstr ""
47
+ "标准PHP库(SPL)定义了一个最适合这种模式的接口迭代器! "
48
+ "通常也要实现Countable接口,允许在iterable对象上使用count($object)"
46
49
47
50
#: ../../Behavioral/Iterator/README.rst:25
48
51
msgid "UML Diagram"
49
- msgstr ""
52
+ msgstr "UML 图 "
50
53
51
54
#: ../../Behavioral/Iterator/README.rst:32
52
55
msgid "Code"
53
- msgstr ""
56
+ msgstr "代码 "
54
57
55
58
#: ../../Behavioral/Iterator/README.rst:34
56
59
msgid "You can also find this code on `GitHub`_"
57
- msgstr ""
60
+ msgstr "在 `GitHub`_ 上查看代码 "
58
61
59
62
#: ../../Behavioral/Iterator/README.rst:61
60
63
msgid "Test"
61
- msgstr ""
64
+ msgstr "测试 "
0 commit comments