@@ -18,7 +18,7 @@ msgstr "FAQ: ``mongo`` 命令行"
18
18
19
19
#: ../source/faq/mongo.txt:10
20
20
msgid "How can I enter multi-line operations in the ``mongo`` shell?"
21
- msgstr "如何在``mongo`` 命令行中输入多行命令?"
21
+ msgstr "如何在 ``mongo`` 命令行中输入多行命令?"
22
22
23
23
#: ../source/faq/mongo.txt:12
24
24
msgid ""
@@ -30,8 +30,8 @@ msgid ""
30
30
"closing brace, or the closing bracket before evaluating the code, as in the "
31
31
"following example:"
32
32
msgstr ""
33
- "如果你的结束行是(``'('``)、(``'{'``)或者 (``'['``),那么下面的命令行将会以(``"
34
- "\" ...\" ``)开始,直到你输入与之对应的(``')'``)、(``'}'``)或者 (``']'``)。"
33
+ "如果你的结束行是 (``'('``)、 (``'{'``) 或者 (``'['``) ,那么下面的命令行将会以 (``"
34
+ "\" ...\" ``) 开始,直到你输入与之对应的 (``')'``)、 (``'}'``) 或者 (``']'``)。"
35
35
"`mongo` 命令行程序将会等待你输入配对括号后再执行,正如下面的例子:"
36
36
37
37
#: ../source/faq/mongo.txt:27
@@ -52,7 +52,7 @@ msgid ""
52
52
"database from the ``test`` database:"
53
53
msgstr ""
54
54
"你无须切换数据库就可以使用 :method:`db.getSiblingDB()` 方法连接另一个数据"
55
- "库,如下面的例子:此时正在使用``test`` 数据库,然后连接 ``sampleDB``数据库。"
55
+ "库,如下面的例子:此时正在使用 ``test`` 数据库,然后连接 ``sampleDB``数据库。"
56
56
57
57
#: ../source/faq/mongo.txt:56
58
58
msgid ""
@@ -62,7 +62,7 @@ msgstr "``mongo``命令行支持 ``<Tab>`` 自动完成和其它快捷键吗?"
62
62
63
63
#: ../source/faq/mongo.txt:58
64
64
msgid "The :program:`mongo` shell supports keyboard shortcuts. For example,"
65
- msgstr "`mongo`命令行程序支持快捷键。比如,"
65
+ msgstr "`mongo` 命令行程序支持快捷键。比如,"
66
66
67
67
#: ../source/faq/mongo.txt:60
68
68
msgid ""
@@ -99,7 +99,7 @@ msgstr ""
99
99
100
100
#: ../source/faq/mongo.txt:79
101
101
msgid "How can I customize the ``mongo`` shell prompt?"
102
- msgstr "我可以自定义``mongo``命令行的提示符吗?"
102
+ msgstr "我可以自定义 ``mongo`` 命令行的提示符吗?"
103
103
104
104
#: ../source/faq/mongo.txt:83
105
105
msgid ""
@@ -153,7 +153,7 @@ msgid ""
153
153
msgstr ""
154
154
"在打开 :program:`mongo` 命令行程序之前,通过设置 :envvar:`EDITOR` 环境变量可"
155
155
"以在 :program:`mongo` 命令行中使用你自己的编辑器。打开 :program:`mongo` 命令"
156
- "行之后,你也可以输入``edit <variable>`` 或 ``edit <function>`` 来使用外部指"
156
+ "行之后,你也可以输入 ``edit <variable>`` 或 ``edit <function>`` 来使用外部指"
157
157
"定编辑器,如下面的例子:"
158
158
159
159
#: ../source/faq/mongo.txt:132
@@ -166,7 +166,7 @@ msgstr "启动 :program:`mongo` 命令行程序:"
166
166
167
167
#: ../source/faq/mongo.txt:144
168
168
msgid "Define a function ``myFunction``:"
169
- msgstr "定义一个函数``myFunction``:"
169
+ msgstr "定义一个函数 ``myFunction``:"
170
170
171
171
#: ../source/faq/mongo.txt:150
172
172
msgid "Edit the function using your editor:"
0 commit comments