Skip to content

Commit 719e92e

Browse files
committed
Issue #22 Translated
1 parent d2a842a commit 719e92e

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

locale/zh/LC_MESSAGES/tutorial/install-mongodb-on-os-x.po

Lines changed: 18 additions & 4 deletions
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: 2015-02-05 00:43-0000\n"
7+
"PO-Revision-Date: 2015-02-05 12:08-0000\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=UTF-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"
@@ -207,6 +207,9 @@ msgid ""
207207
"`dbpath` option when starting the :program:`mongod` process later in this "
208208
"procedure."
209209
msgstr ""
210+
"在你第一次打开MongoDB之前,创建一个 :program:`mongod` 将要写入数据的目录。默"
211+
"认情况下, :program:`mongod` 会使用 ``/data/db`` 目录。如果创建了其它目录,"
212+
"你需要使用 :program:`mongod` 中的 :setting:`dbpath` 选项修改数据目录。"
210213

211214
#: ../source/includes/steps/run-mongodb-on-linux.rst:19
212215
msgid ""
@@ -223,6 +226,8 @@ msgid ""
223226
"account running :program:`mongod` has read and write permissions for the "
224227
"directory."
225228
msgstr ""
229+
"在第一次运行 :program:`mongod` 之前,确保运行 :program:`mongod` 的用户拥有写"
230+
"入的权限。"
226231

227232
#: ../source/includes/steps/run-mongodb-on-linux.rst:57
228233
msgid "Run MongoDB."
@@ -234,39 +239,48 @@ msgid ""
234239
"necessary, specify the path of the :program:`mongod` or the data directory. "
235240
"See the following examples."
236241
msgstr ""
242+
"在系统命令行中通过 :program:`mongod` 运行MongoDB。如果必要的话,通过 :"
243+
"program:`mongod` 指定数据目录。参照下面的例子:"
237244

238245
#: ../source/includes/steps/run-mongodb-on-linux.rst:66
239246
msgid "Run without specifying paths"
240-
msgstr ""
247+
msgstr "不通过指定目录运行"
241248

242249
#: ../source/includes/steps/run-mongodb-on-linux.rst:70
243250
msgid ""
244251
"If your system ``PATH`` variable includes the location of the :program:"
245252
"`mongod` binary and if you use the default data directory (i.e., ``/data/"
246253
"db``), simply enter ``mongod`` at the system prompt:"
247254
msgstr ""
255+
"如果系统的 ``PATH`` 变量含有 :program:`mongod` 二进制文件的路径并且你正在使"
256+
"用默认数据路径 (i.e., ``/data/db``), 那么你可以直接在系统命令行中输入 "
257+
"\"mongod\":"
248258

249259
#: ../source/includes/steps/run-mongodb-on-linux.rst:81
250260
msgid "Specify the path of the :program:`mongod`"
251-
msgstr ""
261+
msgstr "指定 :program:`mongod` 的目录"
252262

253263
#: ../source/includes/steps/run-mongodb-on-linux.rst:85
254264
msgid ""
255265
"If your ``PATH`` does not include the location of the :program:`mongod` "
256266
"binary, enter the full path to the :program:`mongod` binary at the system "
257267
"prompt:"
258268
msgstr ""
269+
"如果系统的 \"PATH\" 变量中不含有 :program:`mongod` 的二进制文件路径,在系统"
270+
"命令行 :program:`mongod` 中输入绝对路径:"
259271

260272
#: ../source/includes/steps/run-mongodb-on-linux.rst:96
261273
msgid "Specify the path of the data directory"
262-
msgstr ""
274+
msgstr "指定数据目录的路径"
263275

264276
#: ../source/includes/steps/run-mongodb-on-linux.rst:100
265277
msgid ""
266278
"If you do not use the default data directory (i.e., ``/data/db``), specify "
267279
"the path to the data directory using the :option:`--dbpath <mongod --"
268280
"dbpath>` option:"
269281
msgstr ""
282+
"如果你没有使用默认的数据目录 (i.e., ``/data/db``), 通过 :option:`--dbpath "
283+
"<mongod --dbpath>` 选项设置数据目录的路径。"
270284

271285
#: ../source/includes/steps/run-mongodb-on-linux.rst:121
272286
msgid "Stop MongoDB as needed."

0 commit comments

Comments
 (0)