Skip to content

Commit 3a3cfd5

Browse files
committed
Issue mongodb#51: correct some method labels
1 parent b32bd54 commit 3a3cfd5

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

locale/zh/LC_MESSAGES/tutorial/insert-documents.po

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ msgid ""
3535
"Insert a document into a collection named ``inventory``. The operation will "
3636
"create the collection if the collection does not currently exist."
3737
msgstr ""
38-
"以下示例向名为``inventory``的集合中插入一个文档。若该集合不存在,此方法将创建该集合。"
38+
"以下示例向名为 ``inventory`` 的集合中插入一个文档。若该集合不存在,此方法将创建该集合。"
3939

4040
#: ../source/includes/steps/getting-started-insert.rst:31
4141
msgid ""
@@ -78,7 +78,7 @@ msgid ""
7878
"/object-id>` values in your documents will differ from the ones shown."
7979
msgstr ""
8080
"在返回文档中可以看到,MongoDB 向文档中添加了一个 ``_id`` 字段。"
81-
"如果客户端插入文档不包含 ``_id`` 字段,MongoDB服务器将自动添加该字段并设置其值为 :manual:`ObjectId </reference/object-id>`。"
81+
"如果客户端插入文档不包含 ``_id`` 字段,MongoDB服务器将自动添加该字段并设置其值为 :manual:`ObjectId </reference/object-id>` 。"
8282
"你的文档中的 :manual:`ObjectId </reference/object-id>` 值会和以上显示的不同。"
8383

8484
#: ../source/tutorial/insert-documents.txt:16
@@ -139,11 +139,11 @@ msgstr ""
139139
msgid ""
140140
"The inserted documents will each have an ``_id`` field added by MongoDB."
141141
msgstr ""
142-
"每个插入的文档都将包含MongoDB自动添加的``_id``字段。"
142+
"每个插入的文档都将包含MongoDB自动添加的 ``_id`` 字段。"
143143

144144
#: ../source/tutorial/insert-documents.txt:24
145145
msgid "Insert Multiple Documents with ``Bulk``"
146-
msgstr "用``Bulk``插入多个文档"
146+
msgstr "用 ``Bulk`` 插入多个文档"
147147

148148
#: ../source/tutorial/insert-documents.txt:28
149149
msgid ""
@@ -157,14 +157,14 @@ msgstr ""
157157

158158
#: ../source/includes/steps/getting-started-insert-bulk.rst:8
159159
msgid "Initialize a ``Bulk`` operations builder."
160-
msgstr "初始化一个操作构建器``Bulk``。"
160+
msgstr "初始化一个操作构建器 ``Bulk`` 。"
161161

162162
#: ../source/includes/steps/getting-started-insert-bulk.rst:11
163163
msgid ""
164164
"Initialize a :method:`Bulk` operations builder for the collection "
165165
"``inventory``."
166166
msgstr ""
167-
"给集合``inventory``初始化一个操作构建器 :method:`Bulk` 。"
167+
"给集合 ``inventory`` 初始化一个操作构建器 :method:`Bulk` 。"
168168

169169
#: ../source/includes/steps/getting-started-insert-bulk.rst:20
170170
msgid ""
@@ -187,14 +187,14 @@ msgstr ""
187187

188188
#: ../source/includes/steps/getting-started-insert-bulk.rst:42
189189
msgid "Add insert operations to the ``bulk`` object."
190-
msgstr "向``bulk``对象中添加插入操作。"
190+
msgstr "向 ``bulk`` 对象中添加插入操作。"
191191

192192
#: ../source/includes/steps/getting-started-insert-bulk.rst:45
193193
msgid ""
194194
"Add two insert operations to the ``bulk`` object using the "
195195
":method:`Bulk.insert()` method."
196196
msgstr ""
197-
"使用 :method:`Bulk.insert()` 方法向``bulk``对象中添加两个插入操作。"
197+
"使用 :method:`Bulk.insert()` 方法向 ``bulk`` 对象中添加两个插入操作。"
198198

199199
#: ../source/includes/steps/getting-started-insert-bulk.rst:80
200200
msgid "Execute the bulk operation."
@@ -205,7 +205,7 @@ msgid ""
205205
"Call the :method:`~Bulk.execute()` method on the ``bulk`` object to execute "
206206
"the operations in its list."
207207
msgstr ""
208-
"调用``bulk``对象的:method:`~Bulk.execute()`方法以执行``bulk``对象列表中的所有操作。"
208+
"调用 ``bulk`` 对象的 :method:`~Bulk.execute()` 方法以执行 ``bulk`` 对象列表中的所有操作。"
209209

210210
#: ../source/tutorial/insert-documents.txt:36
211211
msgid "Additional Examples and Methods"
@@ -223,6 +223,6 @@ msgid ""
223223
"individual reference pages for the methods for more information and "
224224
"examples."
225225
msgstr ""
226-
"使用:method:`db.collection.update()`方法、:method:`db.collection.findAndModify()`,以及"
227-
"method:`db.collection.save()`方法也能新增文档。"
226+
"使用 :method:`db.collection.update()` 方法、 :method:`db.collection.findAndModify()` ,以及"
227+
"method:`db.collection.save()` 方法也能新增文档。"
228228
"可分别查看他们的页面获取更多的信息和示例。"

0 commit comments

Comments
 (0)