Skip to content

Commit 628501c

Browse files
author
eshujiushiwo
committed
Issue#339:State 1
Issue#339:State 1
1 parent d95088b commit 628501c

File tree

1 file changed

+37
-28
lines changed

1 file changed

+37
-28
lines changed

locale/zh/LC_MESSAGES/tutorial/configure-replica-set-tag-sets.po

Lines changed: 37 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,96 @@
1-
#
1+
#
22
msgid ""
33
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: YEAR-MO-DA HO:MI+ZONE\n"
7+
"PO-Revision-Date: 2014-12-29 11:33+0800\n"
88
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
99
"Language-Team: LANGUAGE <[email protected]>\n"
1010
"MIME-Version: 1.0\n"
1111
"Content-Type: text/plain; charset=UTF-8\n"
1212
"Content-Transfer-Encoding: 8bit\n"
13+
"X-Generator: Poedit 1.6.9\n"
1314

1415
#: ../source/tutorial/configure-replica-set-tag-sets.txt:8
1516
msgid "Configure Replica Set Tag Sets"
16-
msgstr ""
17+
msgstr "配置复制集标签设置"
1718

1819
#: ../source/tutorial/configure-replica-set-tag-sets.txt:12
1920
msgid ""
20-
"Tag sets let you customize :term:`write concern` and :term:`read preferences"
21-
" <read preference>` for a :term:`replica set`. MongoDB stores tag sets in "
22-
"the replica set configuration object, which is the document returned by "
23-
":method:`rs.conf()`, in the :data:`members[n].tags "
24-
"<local.system.replset.members[n].tags>` sub-document."
21+
"Tag sets let you customize :term:`write concern` and :term:`read preferences "
22+
"<read preference>` for a :term:`replica set`. MongoDB stores tag sets in the "
23+
"replica set configuration object, which is the document returned by :method:"
24+
"`rs.conf()`, in the :data:`members[n].tags <local.system.replset.members[n]."
25+
"tags>` sub-document."
2526
msgstr ""
27+
"标签设定让我们可以为 :term:`replica set` 定制 :term:`write concern` 和 :term:"
28+
"`read preferences <read preference>` 。MongoDB将标签存储在复制集配置对象中,"
29+
"可以通过 :method:`rs.conf()` 查看返回信息中的 :data:`members[n].tags <local."
30+
"system.replset.members[n].tags>` 。"
2631

2732
#: ../source/tutorial/configure-replica-set-tag-sets.txt:18
2833
msgid ""
2934
"This section introduces the configuration of tag sets. For an overview on "
3035
"tag sets and their use, see :ref:`Replica Set Write Concern <replica-set-"
3136
"write-concern>` and :ref:`replica-set-read-preference-tag-sets`."
3237
msgstr ""
38+
"本文将介绍复制集标签的配置。有关标签的设定与其用法请参考 :ref:`Replica Set "
39+
"Write Concern <replica-set-write-concern>` 和 :ref:`replica-set-read-"
40+
"preference-tag-sets` 。"
3341

3442
#: ../source/tutorial/configure-replica-set-tag-sets.txt:24
3543
msgid "Differences Between Read Preferences and Write Concerns"
36-
msgstr ""
44+
msgstr "安全写级别和读优先级之间的差异。"
3745

3846
#: ../source/tutorial/configure-replica-set-tag-sets.txt:26
3947
msgid ""
4048
"Custom read preferences and write concerns evaluate tags sets in different "
4149
"ways:"
42-
msgstr ""
50+
msgstr "自定义读优先级和安全写级别使用标签方式是不同的。"
4351

4452
#: ../source/tutorial/configure-replica-set-tag-sets.txt:29
4553
msgid ""
46-
"Read preferences consider the value of a tag when selecting a member to read"
47-
" from."
48-
msgstr ""
54+
"Read preferences consider the value of a tag when selecting a member to read "
55+
"from."
56+
msgstr "当选择一个节点进行读取的时候,读优先级考虑的是标签的值。"
4957

5058
#: ../source/tutorial/configure-replica-set-tag-sets.txt:32
5159
msgid ""
5260
"Write concerns do not use the value of a tag to select a member except to "
5361
"consider whether or not the value is unique."
54-
msgstr ""
62+
msgstr "安全写级别不考虑标签的值,而是考虑标签值是否唯一。"
5563

5664
#: ../source/tutorial/configure-replica-set-tag-sets.txt:35
5765
msgid ""
5866
"For example, a tag set for a read operation may resemble the following "
5967
"document:"
60-
msgstr ""
68+
msgstr "举个栗子,一个读操作使用如下的条件:"
6169

6270
#: ../source/tutorial/configure-replica-set-tag-sets.txt:42
6371
msgid ""
6472
"To fulfill such a read operation, a member would need to have both of these "
6573
"tags. Any of the following tag sets would satisfy this requirement:"
6674
msgstr ""
75+
"为了完成这样的读操作,该节点的标签必须包含这两个标签。下列任意标签组合都可以"
76+
"实现:"
6777

6878
#: ../source/tutorial/configure-replica-set-tag-sets.txt:52
6979
msgid "The following tag sets would *not* be able to fulfill this query:"
70-
msgstr ""
80+
msgstr "这样的标签将*不*会满足之前的查询:"
7181

7282
#: ../source/tutorial/configure-replica-set-tag-sets.txt:63
7383
msgid "Add Tag Sets to a Replica Set"
74-
msgstr ""
84+
msgstr "为复制集新增标签"
7585

7686
#: ../source/tutorial/configure-replica-set-tag-sets.txt:65
7787
msgid "Given the following replica set configuration:"
7888
msgstr ""
7989

8090
#: ../source/tutorial/configure-replica-set-tag-sets.txt:88
8191
msgid ""
82-
"You could add tag sets to the members of this replica set with the following"
83-
" command sequence in the :program:`mongo` shell:"
92+
"You could add tag sets to the members of this replica set with the following "
93+
"command sequence in the :program:`mongo` shell:"
8494
msgstr ""
8595

8696
#: ../source/tutorial/configure-replica-set-tag-sets.txt:99
@@ -112,8 +122,8 @@ msgstr ""
112122
#: ../source/tutorial/configure-replica-set-tag-sets.txt:145
113123
msgid ""
114124
"Create a custom write concern to require confirmation from two data centers "
115-
"using replica set tags, using the following sequence of operations in the "
116-
":program:`mongo` shell:"
125+
"using replica set tags, using the following sequence of operations in the :"
126+
"program:`mongo` shell:"
117127
msgstr ""
118128

119129
#: ../source/tutorial/configure-replica-set-tag-sets.txt:149
@@ -135,8 +145,7 @@ msgstr ""
135145
#: ../source/tutorial/configure-replica-set-tag-sets.txt:208
136146
#: ../source/tutorial/configure-replica-set-tag-sets.txt:290
137147
msgid ""
138-
"Reconfigure the replica set using the modified ``conf`` configuration "
139-
"object:"
148+
"Reconfigure the replica set using the modified ``conf`` configuration object:"
140149
msgstr ""
141150

142151
#: ../source/tutorial/configure-replica-set-tag-sets.txt:182
@@ -148,9 +157,9 @@ msgstr ""
148157

149158
#: ../source/tutorial/configure-replica-set-tag-sets.txt:190
150159
msgid ""
151-
"Alternatively, if you want to ensure that each write operation propagates to"
152-
" at least 2 racks in each facility, reconfigure the replica set as follows "
153-
"in the :program:`mongo` shell:"
160+
"Alternatively, if you want to ensure that each write operation propagates to "
161+
"at least 2 racks in each facility, reconfigure the replica set as follows in "
162+
"the :program:`mongo` shell:"
154163
msgstr ""
155164

156165
#: ../source/tutorial/configure-replica-set-tag-sets.txt:194
@@ -215,8 +224,8 @@ msgstr ""
215224
msgid ""
216225
"However, to create comparable write concern modes, you would specify a "
217226
"different set of :data:`~local.system.replset.settings.getLastErrorModes` "
218-
"configuration. Consider the following sequence of operations in the "
219-
":program:`mongo` shell:"
227+
"configuration. Consider the following sequence of operations in the :program:"
228+
"`mongo` shell:"
220229
msgstr ""
221230

222231
#: ../source/tutorial/configure-replica-set-tag-sets.txt:272

0 commit comments

Comments
 (0)