Skip to content

Commit a66bf8a

Browse files
committed
finished translate
1 parent 1ed18f1 commit a66bf8a

File tree

1 file changed

+80
-87
lines changed

1 file changed

+80
-87
lines changed

locale/zh/LC_MESSAGES/tutorial/access-mongo-shell-help.po

Lines changed: 80 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -4,206 +4,199 @@ msgstr ""
44
"Project-Id-Version: mongodb-manual 3.0\n"
55
"Report-Msgid-Bugs-To: \n"
66
"POT-Creation-Date: 2015-08-20 19:13-0400\n"
7-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9-
"Language-Team: LANGUAGE <[email protected]>\n"
7+
"PO-Revision-Date: 2016-07-13 16:40+0800\n"
108
"MIME-Version: 1.0\n"
119
"Content-Type: text/plain; charset=UTF-8\n"
1210
"Content-Transfer-Encoding: 8bit\n"
11+
"Last-Translator: \n"
12+
"Language-Team: \n"
13+
"Language: zh_CN\n"
14+
"X-Generator: Poedit 1.8.8\n"
1315

1416
#: ../source/tutorial/access-mongo-shell-help.txt:23
1517
msgid "Command Line Help"
16-
msgstr ""
18+
msgstr "命令行帮助"
1719

1820
#: ../source/tutorial/access-mongo-shell-help.txt:25
1921
msgid ""
20-
"To see the list of options and help for starting the :program:`mongo` shell,"
21-
" use the :option:`--help <mongo --help>` option from the command line:"
22+
"To see the list of options and help for starting the :program:`mongo` shell, "
23+
"use the :option:`--help <mongo --help>` option from the command line:"
2224
msgstr ""
25+
"在命令行中使用 :option:`--help <mongo --help>` 选项查看运行 :program:`mongo` "
26+
"shell的选项列表:"
2327

2428
#: ../source/tutorial/access-mongo-shell-help.txt:33
2529
msgid "Shell Help"
26-
msgstr ""
30+
msgstr "Shell帮助"
2731

2832
#: ../source/tutorial/access-mongo-shell-help.txt:35
2933
msgid "To see the list of help, in the :program:`mongo` shell, type ``help``:"
30-
msgstr ""
34+
msgstr "在 :program:`mongo` shell中查看帮助列表,请输入 ``help``:"
3135

3236
#: ../source/tutorial/access-mongo-shell-help.txt:44
3337
msgid "Database Help"
34-
msgstr ""
38+
msgstr "数据库帮助"
3539

3640
#: ../source/tutorial/access-mongo-shell-help.txt:48
37-
msgid ""
38-
"To see the list of databases on the server, use the ``show dbs`` command:"
39-
msgstr ""
41+
msgid "To see the list of databases on the server, use the ``show dbs`` command:"
42+
msgstr "使用 ``show dbs`` 命令查看服务器上的数据库列表:"
4043

4144
#: ../source/tutorial/access-mongo-shell-help.txt:55
4245
msgid "``show databases`` is now an alias for ``show dbs``"
43-
msgstr ""
46+
msgstr "``show databases`` 是 ``show dbs`` 的别名"
4447

4548
#: ../source/tutorial/access-mongo-shell-help.txt:58
4649
msgid ""
4750
"To see the list of help for methods you can use on the ``db`` object, call "
4851
"the :method:`db.help()` method:"
49-
msgstr ""
52+
msgstr "要查看db对象可用方法的帮助列表,可调用 :method:`db.help()` 方法:"
5053

5154
#: ../source/tutorial/access-mongo-shell-help.txt:65
5255
msgid ""
5356
"To see the implementation of a method in the shell, type the ``db.<method "
5457
"name>`` without the parenthesis (``()``), as in the following example which "
5558
"will return the implementation of the method :method:`db.updateUser()`:"
5659
msgstr ""
60+
"输入不带括号 (``()``)的 ``db.<method name>`` 查看shell中该方法的实现,如下例,"
61+
"将返回方法 :method:`db.updateUser()` 的实现:"
5762

5863
#: ../source/tutorial/access-mongo-shell-help.txt:77
5964
msgid "Collection Help"
60-
msgstr ""
65+
msgstr "集合帮助"
6166

6267
#: ../source/tutorial/access-mongo-shell-help.txt:81
6368
msgid ""
6469
"To see the list of collections in the current database, use the ``show "
6570
"collections`` command:"
66-
msgstr ""
71+
msgstr "使用 ``show collections`` 命令查看当前数据库中的集合列表:"
6772

6873
#: ../source/tutorial/access-mongo-shell-help.txt:88
6974
msgid ""
70-
"To see the help for methods available on the collection objects (e.g. "
71-
"``db.<collection>``), use the ``db.<collection>.help()`` method:"
75+
"To see the help for methods available on the collection objects (e.g. ``db."
76+
"<collection>``), use the ``db.<collection>.help()`` method:"
7277
msgstr ""
78+
"使用 ``db.<collection>.help()`` 方法查看集合对象 (例如 ``db.<collection>``)的可"
79+
"用方法的帮助:"
7380

7481
#: ../source/tutorial/access-mongo-shell-help.txt:96
7582
#: ../source/tutorial/access-mongo-shell-help.txt:127
7683
msgid ""
77-
"``<collection>`` can be the name of a collection that exists, although you "
78-
"may specify a collection that doesn't exist."
79-
msgstr ""
84+
"``<collection>`` can be the name of a collection that exists, although you may "
85+
"specify a collection that doesn't exist."
86+
msgstr "``<collection>`` 可以是一个存在的集合的名称,也可指一个不存在的集合。"
8087

8188
#: ../source/tutorial/access-mongo-shell-help.txt:99
8289
msgid ""
83-
"To see the collection method implementation, type the "
84-
"``db.<collection>.<method>`` name without the parenthesis (``()``), as in "
85-
"the following example which will return the implementation of the "
86-
":method:`~db.collection.save()` method:"
90+
"To see the collection method implementation, type the ``db.<collection>."
91+
"<method>`` name without the parenthesis (``()``), as in the following example "
92+
"which will return the implementation of the :method:`~db.collection.save()` "
93+
"method:"
8794
msgstr ""
95+
"输入不带括号 (``()``)的方法名 ``db.<collection>.<method>`` 查看集合方法的实现,"
96+
"如下例,将返回 :method:`~db.collection.save()` 方法的实现:"
8897

8998
#: ../source/tutorial/access-mongo-shell-help.txt:111
9099
msgid "Cursor Help"
91-
msgstr ""
100+
msgstr "游标帮助"
92101

93102
#: ../source/tutorial/access-mongo-shell-help.txt:113
94103
msgid ""
95-
"When you perform :ref:`read operations <read-operations-queries>` with the "
96-
":method:`~db.collection.find()` method in the :program:`mongo` shell, you "
97-
"can use various cursor methods to modify the :method:`~db.collection.find()`"
98-
" behavior and various JavaScript methods to handle the cursor returned from "
104+
"When you perform :ref:`read operations <read-operations-queries>` with the :"
105+
"method:`~db.collection.find()` method in the :program:`mongo` shell, you can "
106+
"use various cursor methods to modify the :method:`~db.collection.find()` "
107+
"behavior and various JavaScript methods to handle the cursor returned from "
99108
"the :method:`~db.collection.find()` method."
100109
msgstr ""
110+
"当你在 :program:`mongo` shell中用 :method:`~db.collection.find()` 方法执行 :"
111+
"ref:`read operations <read-operations-queries>` 时,可使用各种游标方法修改 :"
112+
"method:`~db.collection.find()` 的行为,用各种JavaScript方法处理 :method:`~db."
113+
"collection.find()` 方法返回的游标。"
101114

102115
#: ../source/tutorial/access-mongo-shell-help.txt:120
103116
msgid ""
104-
"To list the available modifier and cursor handling methods, use the "
105-
"``db.collection.find().help()`` command:"
106-
msgstr ""
117+
"To list the available modifier and cursor handling methods, use the ``db."
118+
"collection.find().help()`` command:"
119+
msgstr "使用 ``db.collection.find().help()`` 命令列出所有修改器和游标处理方法:"
107120

108121
#: ../source/tutorial/access-mongo-shell-help.txt:130
109122
msgid ""
110-
"To see the implementation of the cursor method, type the "
111-
"``db.<collection>.find().<method>`` name without the parenthesis (``()``), "
112-
"as in the following example which will return the implementation of the "
113-
"``toArray()`` method:"
123+
"To see the implementation of the cursor method, type the ``db.<collection>."
124+
"find().<method>`` name without the parenthesis (``()``), as in the following "
125+
"example which will return the implementation of the ``toArray()`` method:"
114126
msgstr ""
127+
"要查看游标方法的实现,请输入不带括号(``()``)的 ``db.<collection>.find()."
128+
"<method>`` 名,如下例所示,将返回方法 ``toArray()`` 的实现:"
115129

116130
#: ../source/tutorial/access-mongo-shell-help.txt:139
117131
msgid "Some useful methods for handling cursors are:"
118-
msgstr ""
132+
msgstr "一些处理游标的有用方法:"
119133

120134
#: ../source/tutorial/access-mongo-shell-help.txt:141
121135
msgid ""
122-
":method:`~cursor.hasNext()` which checks whether the cursor has more "
123-
"documents to return."
124-
msgstr ""
136+
":method:`~cursor.hasNext()` which checks whether the cursor has more documents "
137+
"to return."
138+
msgstr ":method:`~cursor.hasNext()` 检查游标集合是否还有文档。"
125139

126140
#: ../source/tutorial/access-mongo-shell-help.txt:144
127141
msgid ""
128142
":method:`~cursor.next()` which returns the next document and advances the "
129143
"cursor position forward by one."
130-
msgstr ""
144+
msgstr ":method:`~cursor.next()` 返回游标当前文档,并向前移动游标位置。"
131145

132146
#: ../source/tutorial/access-mongo-shell-help.txt:147
133147
msgid ""
134-
":method:`forEach(\\<function\\>) <cursor.forEach()>` which iterates the "
135-
"whole cursor and applies the ``<function>`` to each document returned by the"
136-
" cursor. The ``<function>`` expects a single argument which corresponds to "
137-
"the document from each iteration."
148+
":method:`forEach(\\<function\\>) <cursor.forEach()>` which iterates the whole "
149+
"cursor and applies the ``<function>`` to each document returned by the cursor. "
150+
"The ``<function>`` expects a single argument which corresponds to the document "
151+
"from each iteration."
138152
msgstr ""
153+
":method:`forEach(\\<function\\>) <cursor.forEach()>` 迭代整个游标并对每个游标返"
154+
"回的文档执行 ``<function>`` 。 ``<function>`` 参数对应每次迭代的文档。"
139155

140156
#: ../source/tutorial/access-mongo-shell-help.txt:161
141157
msgid ""
142-
"To get a list of the wrapper classes available in the :program:`mongo` "
143-
"shell, such as ``BinData()``, type ``help misc`` in the :program:`mongo` "
144-
"shell:"
158+
"To get a list of the wrapper classes available in the :program:`mongo` shell, "
159+
"such as ``BinData()``, type ``help misc`` in the :program:`mongo` shell:"
145160
msgstr ""
161+
"在 :program:`mongo` shell中获取封装类列表,例如 ``BinData()``,在 :program:"
162+
"`mongo` shell中使用 ``help misc`` 命令:"
146163

147164
#: ../source/tutorial/access-mongo-shell-help.txt:5
148165
msgid "Access the ``mongo`` Shell Help"
149-
msgstr ""
166+
msgstr "获取``mongo`` Shell的帮助"
150167

151168
#: ../source/tutorial/access-mongo-shell-help.txt:0
152169
msgid "On this page"
153-
msgstr ""
170+
msgstr "本页内容"
154171

155172
#: ../source/tutorial/access-mongo-shell-help.txt:15
156173
msgid ""
157-
"In addition to the documentation in the :doc:`MongoDB Manual </index>`, the "
158-
":program:`mongo` shell provides some additional information in its "
159-
"\"online\" help system. This document provides an overview of accessing this"
160-
" help information."
174+
"In addition to the documentation in the :doc:`MongoDB Manual </index>`, the :"
175+
"program:`mongo` shell provides some additional information in its \"online\" "
176+
"help system. This document provides an overview of accessing this help "
177+
"information."
161178
msgstr ""
179+
"除了 :doc:`MongoDB Manual </index>` 文档之外, :program:`mongo` shell还在其 "
180+
"\"online\" 帮助系统中提供额外信息。此文档提供获取这些帮助的概述。"
162181

163182
#: ../source/tutorial/access-mongo-shell-help.txt:46
164183
#: ../source/tutorial/access-mongo-shell-help.txt:79
165184
msgid "In the :program:`mongo` shell:"
166-
msgstr ""
185+
msgstr "在 :program:`mongo` shell中:"
167186

168187
#: ../source/tutorial/access-mongo-shell-help.txt:152
169188
msgid ""
170189
"For examples on iterating a cursor and retrieving the documents from the "
171-
"cursor, see :doc:`cursor handling </tutorial/iterate-a-cursor>`. See also "
172-
":ref:`js-query-cursor-methods` for all available cursor methods."
190+
"cursor, see :doc:`cursor handling </tutorial/iterate-a-cursor>`. See also :ref:"
191+
"`js-query-cursor-methods` for all available cursor methods."
173192
msgstr ""
193+
"迭代游标,检索游标文档的例子请参看 :doc:`cursor handling </tutorial/iterate-a-"
194+
"cursor>`。所有游标方法参看 :ref:`js-query-cursor-methods` 。"
174195

175196
#: ../source/tutorial/access-mongo-shell-help.txt:159
176197
msgid "Wrapper Object Help"
177-
msgstr ""
198+
msgstr "封装对象帮助"
178199

179200
#: ../source/tutorial/access-mongo-shell-help.txt:169
180201
msgid ":doc:`/reference/method`"
181202
msgstr ""
182-
183-
#~ msgid "Access the ``mongo`` Shell Help Information"
184-
#~ msgstr ""
185-
186-
#~ msgid ""
187-
#~ "In addition to the documentation in the :doc:`MongoDB Manual </contents>`, "
188-
#~ "the :program:`mongo` shell provides some additional information in its "
189-
#~ "\"online\" help system. This document provides an overview of accessing this"
190-
#~ " help information."
191-
#~ msgstr ""
192-
193-
#~ msgid ":doc:`mongo Manual Page </reference/program/mongo>`"
194-
#~ msgstr ""
195-
196-
#~ msgid ":doc:`/administration/scripting`, and"
197-
#~ msgstr ""
198-
199-
#~ msgid ":doc:`/reference/mongo-shell`."
200-
#~ msgstr ""
201-
202-
#~ msgid ""
203-
#~ "For examples on iterating a cursor and retrieving the documents from the "
204-
#~ "cursor, see :doc:`cursor handling </core/cursors>`. See also :ref:`js-query-"
205-
#~ "cursor-methods` for all available cursor methods."
206-
#~ msgstr ""
207-
208-
#~ msgid "Type Help"
209-
#~ msgstr ""

0 commit comments

Comments
 (0)