Skip to content

Commit dc8069c

Browse files
author
henushang
committed
translated
1 parent 628501c commit dc8069c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

locale/zh/LC_MESSAGES/tutorial/isolate-sequence-of-operations.po

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ msgstr ""
44
"Project-Id-Version: mongodb-manual 2.6\n"
55
"Report-Msgid-Bugs-To: \n"
66
"POT-Creation-Date: 2014-09-03 15:39-0400\n"
7-
"PO-Revision-Date: 2014-12-17 16:51+0800\n"
7+
"PO-Revision-Date: 2014-12-29 12:00+0800\n"
88
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
99
"Language-Team: LANGUAGE <[email protected]>\n"
1010
"MIME-Version: 1.0\n"
@@ -130,6 +130,9 @@ msgid ""
130130
"original document was not modified, rather than ensuring that as single "
131131
"field was not changed."
132132
msgstr ""
133+
"在 :method:`~db.collection.update()` 操作里使用整个文档作为查询条件,以使这个"
134+
"操作更加通用( generalize the operation)并且保证原始的文档未被修改,而不仅仅"
135+
"是保证单个字段未改变。"
133136

134137
#: ../source/tutorial/isolate-sequence-of-operations.txt:103
135138
msgid ""
@@ -138,15 +141,22 @@ msgid ""
138141
"expression. You must be able to ensure that *all* clients that connect to "
139142
"your database obey this constraint."
140143
msgstr ""
144+
"为这个文档添加一个版本变量,that applications increment upon each update "
145+
"operation to the documents. 在查询表达式中使用这个版本变量。你必须能够保"
146+
"证 *所有* 连接到你的数据库的客户端遵从这个约束。"
141147

142148
#: ../source/tutorial/isolate-sequence-of-operations.txt:108
143149
msgid ""
144150
"Use :update:`$set` in the update expression to modify only your fields and "
145151
"prevent overriding other fields."
146152
msgstr ""
153+
"在更新表达式中使用 :update:`$set` 来仅仅修改你的(要修改的)字段,并且预防覆"
154+
"盖其他字段。"
147155

148156
#: ../source/tutorial/isolate-sequence-of-operations.txt:111
149157
msgid ""
150158
"Use one of the methods described in :doc:`/tutorial/create-an-auto-"
151159
"incrementing-field`."
152160
msgstr ""
161+
"使用 :doc:`/tutorial/create-an-auto-incrementing-field` 中描述的方法中的一"
162+
"个。"

0 commit comments

Comments
 (0)