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

Skip to content

Commit 0fe4e66

Browse files
[po] auto sync
1 parent db08676 commit 0fe4e66

4 files changed

Lines changed: 24 additions & 10 deletions

File tree

distutils/builtdist.po

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,19 +633,25 @@ msgid ""
633633
" disable this file, you can pass the :option:`!--no-user-cfg` option to "
634634
":file:`setup.py`."
635635
msgstr ""
636+
"显然,即使是在命令行中提供少量的此类选项也是很繁琐易出错的,因此通常最好是将它们放在 setup 配置文件 :file:`setup.cfg` 中,参见"
637+
" :ref:`setup-config` 一节。 如果你要分发或打包许多 Python 模块分发版,你可能会需要将适用于所有这些分发版的选项放在你私人的"
638+
" Distutils 配置文件中 (:file:`~/.pydistutils.cfg`)。 如果你想要临时禁用此文件,你可以将 :option:`!"
639+
"--no-user-cfg` 选项传给 :file:`setup.py`。"
636640

637641
#: ../../distutils/builtdist.rst:262
638642
msgid ""
639643
"There are three steps to building a binary RPM package, all of which are "
640644
"handled automatically by the Distutils:"
641-
msgstr ""
645+
msgstr "构建一个二进制 RPM 包有三个步骤,它们全都是由 Distutils 自动处理的:"
642646

643647
#: ../../distutils/builtdist.rst:265
644648
msgid ""
645649
"create a :file:`.spec` file, which describes the package (analogous to the "
646650
"Distutils setup script; in fact, much of the information in the setup "
647651
"script winds up in the :file:`.spec` file)"
648652
msgstr ""
653+
"创建一个 :file:`.spec` 文件,该文件对包进行了描述(类似于 Distutils setup 脚本;实际上 setup "
654+
"脚本中的许多信息都会出现在 :file:`.spec` 文件中)"
649655

650656
#: ../../distutils/builtdist.rst:269
651657
msgid "create the source RPM"
@@ -655,13 +661,13 @@ msgstr "创建源 RPM"
655661
msgid ""
656662
"create the \"binary\" RPM (which may or may not contain binary code, "
657663
"depending on whether your module distribution contains Python extensions)"
658-
msgstr ""
664+
msgstr "创建“二进制”RPM(其中可能包含二进制代码也可能不包含,具体取决于你的模块分发版是否包含 Python 扩展)"
659665

660666
#: ../../distutils/builtdist.rst:274
661667
msgid ""
662668
"Normally, RPM bundles the last two steps together; when you use the "
663669
"Distutils, all three steps are typically bundled together."
664-
msgstr ""
670+
msgstr "通常,RPM 会将后两个步骤捆绑在一起;当你使用 Distutils 时,三个步骤通常都会捆绑在一起。"
665671

666672
#: ../../distutils/builtdist.rst:277
667673
msgid ""
@@ -673,6 +679,10 @@ msgid ""
673679
":file:`.spec` file winds up deep in the \"build tree,\" in a temporary "
674680
"directory created by :command:`bdist_rpm`.)"
675681
msgstr ""
682+
"如果你愿意,你也可以将这三个步骤分开。 你可以使用 :option:`!--spec-only` 选项来让 :command:`bdist_rpm` "
683+
"只创建 :file:`.spec` 文件并退出;在这种情况下,:file:`.spec` 文件将被写到“分发目录” --- 通常为 "
684+
":file:`dist/`,但可通过 :option:`!--dist-dir` 选项来自定义。 (通常,:file:`.spec` "
685+
"文件会位于“构建树”的深处,在 :command:`bdist_rpm` 所创建的一个临时目录中。)"
676686

677687
#: ../../distutils/builtdist.rst:305
678688
msgid "Creating Windows Installers"

library/imp.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,10 +462,11 @@ msgid ""
462462
"``None`` is inserted into ``sys.path_importer_cache`` instead of an instance"
463463
" of :class:`NullImporter`."
464464
msgstr ""
465+
"将把 ``None`` 插入到 ``sys.path_importer_cache`` 而不是 :class:`NullImporter` 的实例。"
465466

466467
#: ../../library/imp.rst:377
467468
msgid "Insert ``None`` into ``sys.path_importer_cache`` instead."
468-
msgstr ""
469+
msgstr "改为将 ``None`` 插入到 ``sys.path_importer_cache``。"
469470

470471
#: ../../library/imp.rst:384
471472
msgid "Examples"

library/profile.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# Translators:
77
# Alpha Du <[email protected]>, 2019
88
# Zombie110year <[email protected]>, 2019
9-
# Freesand Leo <[email protected]>, 2019
109
# ppcfish <[email protected]>, 2019
10+
# Freesand Leo <[email protected]>, 2022
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
1818
"PO-Revision-Date: 2017-02-16 23:23+0000\n"
19-
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
19+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
2020
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -229,6 +229,7 @@ msgid ""
229229
"methods for manipulating and printing the data saved into a profile results "
230230
"file::"
231231
msgstr ""
232+
":mod:`pstats` 模块的 :class:`~pstats.Stats` 类具有各种方法用来操纵和打印保存到性能分析结果文件的数据。"
232233

233234
#: ../../library/profile.rst:149
234235
msgid ""

library/sysconfig.po

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,17 @@ msgstr "带参数时,返回一个由在配置变量字典中查找每个参数
7979

8080
#: ../../library/sysconfig.rst:43
8181
msgid "For each argument, if the value is not found, return ``None``."
82-
msgstr ""
82+
msgstr "对于每个参数,如果未找到值,则返回 ``None``。"
8383

8484
#: ../../library/sysconfig.rst:48
8585
msgid ""
8686
"Return the value of a single variable *name*. Equivalent to "
8787
"``get_config_vars().get(name)``."
88-
msgstr ""
88+
msgstr "返回单个变量 *name* 的值。 等价于 ``get_config_vars().get(name)``。"
8989

9090
#: ../../library/sysconfig.rst:51
9191
msgid "If *name* is not found, return ``None``."
92-
msgstr ""
92+
msgstr "如果未找到 *name*,则返回 ``None``。"
9393

9494
#: ../../library/sysconfig.rst:53
9595
msgid "Example of usage::"
@@ -106,13 +106,15 @@ msgid ""
106106
":mod:`sysconfig` under unique identifiers based on the value returned by "
107107
":const:`os.name`."
108108
msgstr ""
109+
"Python 会使用根据平台和安装选项区别处理的安装方案。 这些方案保存在 :mod:`sysconfig` 中基于 :const:`os.name` "
110+
"的返回值来确定的唯一标识符下。"
109111

110112
#: ../../library/sysconfig.rst:71
111113
msgid ""
112114
"Every new component that is installed using :mod:`distutils` or a Distutils-"
113115
"based system will follow the same scheme to copy its file in the right "
114116
"places."
115-
msgstr ""
117+
msgstr "每个使用 :mod:`distutils` 或基于 Distutils 的系统安装的新组件都将遵循同样的方案将其文件拷贝到正确的位置。"
116118

117119
#: ../../library/sysconfig.rst:75
118120
msgid "Python currently supports seven schemes:"

0 commit comments

Comments
 (0)