Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b95c936

Browse files
committed
[po] auto sync bot
1 parent 68b7134 commit b95c936

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

distutils/examples.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ msgid ""
208208
"only affects the source for pure Python modules. The simplest case, a "
209209
"single extension module in a single C source file, is::"
210210
msgstr ""
211+
"扩展模块用 ``ext_modules`` 选项指定。``package_dir`` 对在哪寻找扩展源文件无效;它只对纯 Python "
212+
"模块的源文件有效。最简单的,一个用单个C源文件写的单扩展模块是:"
211213

212214
#: ../../distutils/examples.rst:211
213215
msgid ""
@@ -224,7 +226,7 @@ msgstr "如果扩展在包中,比如 :mod:`foopkg`,那么"
224226
msgid ""
225227
"With exactly the same source tree layout, this extension can be put in the "
226228
":mod:`foopkg` package simply by changing the name of the extension::"
227-
msgstr ""
229+
msgstr "使用完全相同的源文件树排布,通过改变扩展的名字,这个扩展很容易放入 :mod:`foopkg` 包中:"
228230

229231
#: ../../distutils/examples.rst:234
230232
msgid "Checking a package"
@@ -234,13 +236,13 @@ msgstr "检查一个包"
234236
msgid ""
235237
"The ``check`` command allows you to verify if your package meta-data meet "
236238
"the minimum requirements to build a distribution."
237-
msgstr ""
239+
msgstr "``check`` 命令允许你校验你的包的元数据是否满足生成分发的最低要求。"
238240

239241
#: ../../distutils/examples.rst:239
240242
msgid ""
241243
"To run it, just call it using your :file:`setup.py` script. If something is "
242244
"missing, ``check`` will display a warning."
243-
msgstr ""
245+
msgstr "直接使用你的 :file:`setup.py` 脚本来运行它。如果缺了一些东西,``check`` 会显示警告。"
244246

245247
#: ../../distutils/examples.rst:242
246248
msgid "Let's take an example with a simple script::"
@@ -256,6 +258,8 @@ msgid ""
256258
" `docutils`_ is installed you can check if the syntax is fine with the "
257259
"``check`` command, using the ``restructuredtext`` option."
258260
msgstr ""
261+
"如果你在 ``long_description`` 域中使用 reStructuredText 语法,并且安装了`docutils`_ ,你可以用 "
262+
"``check`` 命令,和 ``restructuredtext`` 选项检查语法是否正确。"
259263

260264
#: ../../distutils/examples.rst:263
261265
msgid "For example, if the :file:`setup.py` script is changed like this::"
@@ -265,7 +269,7 @@ msgstr "比如,如果 :file:`setup.py` 脚本改成:"
265269
msgid ""
266270
"Where the long description is broken, ``check`` will be able to detect it by"
267271
" using the :mod:`docutils` parser:"
268-
msgstr ""
272+
msgstr "长描述中有问题的地方,通过使用 :mod:`docutils` 解析器,``check`` 能进行删除:"
269273

270274
#: ../../distutils/examples.rst:289
271275
msgid "Reading the metadata"

0 commit comments

Comments
 (0)