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

Skip to content

Commit 7a7479f

Browse files
[po] auto sync
1 parent e1b690d commit 7a7479f

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

library/zipapp.po

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,17 +508,19 @@ msgid ""
508508
"distribution. This will run on any PC with the appropriate architecture (32"
509509
" bit or 64 bit)."
510510
msgstr ""
511+
"若要得到完全独立运行的发行版程序,可将附有应用程序的启动程序,与“内嵌版” Python 打包在一起即可。这样在架构匹配(32位或64位)的任一 PC "
512+
"上都能运行。"
511513

512514
#: ../../library/zipapp.rst:387
513515
msgid "Caveats"
514-
msgstr ""
516+
msgstr "注意事项"
515517

516518
#: ../../library/zipapp.rst:389
517519
msgid ""
518520
"There are some limitations to the process of bundling your application into "
519521
"a single file. In most, if not all, cases they can be addressed without "
520522
"needing major changes to your application."
521-
msgstr ""
523+
msgstr "要将应用程序打包为单个文件,存在一些限制。大多数情况下,无需对应用程序进行重大修改即可解决。"
522524

523525
#: ../../library/zipapp.rst:393
524526
msgid ""
@@ -533,6 +535,10 @@ msgid ""
533535
"(and potentially pick the correct version to add to ``sys.path`` at runtime,"
534536
" based on the user's machine)."
535537
msgstr ""
538+
"如果应用程序依赖某个带有 C "
539+
"扩展的包,则此程序包无法由打包文件运行(这是操作系统的限制,因为可执行代码必须存在于文件系统中,操作系统才能加载)。这时可去除打包文件中的依赖关系,然后要求用户事先安装好该程序包,或者与打包文件一起发布并在"
540+
" ``__main__.py`` 中增加代码,将未打包模块的目录加入 ``sys.path`` "
541+
"中。采用增加代码方式时,一定要为目标架构提供合适的二进制文件(可能还需在运行时根据用户的机器选择正确的版本加入 ``sys.path``)。"
536542

537543
#: ../../library/zipapp.rst:403
538544
msgid ""

0 commit comments

Comments
 (0)