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

Skip to content

Commit cc8fa41

Browse files
committed
[po] auto sync bot
1 parent ab2d2b7 commit cc8fa41

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

distutils/examples.po

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,17 @@ msgid ""
188188
":file:`__init__.py` files.) Thus, if the default layout grows a sub-"
189189
"package::"
190190
msgstr ""
191+
"如果你有子包,则它们必须显式列在 ``packages`` 中,但是 ``package_dir`` "
192+
"中的任何条目会自动扩展到子包。(也就是说,Distutils *不会* 扫描你的源码树,而是尝试通过查找 :file:`__init__.py` "
193+
"文件,来弄清哪些目录与 Python 包关联。)这样,如果默认排布产生一个子包:"
191194

192195
#: ../../distutils/examples.rst:188
193196
msgid "then the corresponding setup script would be ::"
194-
msgstr ""
197+
msgstr "则相应的配置脚本是:"
195198

196199
#: ../../distutils/examples.rst:200
197200
msgid "Single extension module"
198-
msgstr ""
201+
msgstr "单个扩展模块"
199202

200203
#: ../../distutils/examples.rst:202
201204
msgid ""
@@ -209,7 +212,7 @@ msgstr ""
209212
msgid ""
210213
"If the :mod:`foo` extension belongs in the root package, the setup script "
211214
"for this could be ::"
212-
msgstr ""
215+
msgstr "如果 :mod:`foo` 扩展属于根包,则配置脚本可以是:"
213216

214217
#: ../../distutils/examples.rst:221
215218
msgid ""
@@ -224,7 +227,7 @@ msgstr ""
224227

225228
#: ../../distutils/examples.rst:234
226229
msgid "Checking a package"
227-
msgstr ""
230+
msgstr "检查一个包"
228231

229232
#: ../../distutils/examples.rst:236
230233
msgid ""
@@ -240,11 +243,11 @@ msgstr ""
240243

241244
#: ../../distutils/examples.rst:242
242245
msgid "Let's take an example with a simple script::"
243-
msgstr ""
246+
msgstr "我们来用单个脚本举例:"
244247

245248
#: ../../distutils/examples.rst:248
246249
msgid "Running the ``check`` command will display some warnings:"
247-
msgstr ""
250+
msgstr "运行 ``check`` 命令会显示一些警告:"
248251

249252
#: ../../distutils/examples.rst:259
250253
msgid ""
@@ -255,7 +258,7 @@ msgstr ""
255258

256259
#: ../../distutils/examples.rst:263
257260
msgid "For example, if the :file:`setup.py` script is changed like this::"
258-
msgstr ""
261+
msgstr "比如,如果 :file:`setup.py` 脚本改成:"
259262

260263
#: ../../distutils/examples.rst:278
261264
msgid ""
@@ -265,7 +268,7 @@ msgstr ""
265268

266269
#: ../../distutils/examples.rst:289
267270
msgid "Reading the metadata"
268-
msgstr ""
271+
msgstr "读取元数据"
269272

270273
#: ../../distutils/examples.rst:291
271274
msgid ""
@@ -293,9 +296,11 @@ msgid ""
293296
":class:`distutils.dist.DistributionMetadata` class and its "
294297
":func:`read_pkg_file` method::"
295298
msgstr ""
299+
"你可以读回静态文件,使用 :class:`distutils.dist.DistributionMetadata` 类和它的 "
300+
":func:`read_pkg_file` 方法:"
296301

297302
#: ../../distutils/examples.rst:324
298303
msgid ""
299304
"Notice that the class can also be instantiated with a metadata file path to "
300305
"loads its values::"
301-
msgstr ""
306+
msgstr "注意类也可以用元数据文件载入值,来示例化:"

0 commit comments

Comments
 (0)