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

Skip to content

Commit aa1796c

Browse files
[po] auto sync
1 parent 0642cbc commit aa1796c

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.52%", "updated_at": "2024-01-21T14:22:45Z"}
1+
{"translation": "90.53%", "updated_at": "2024-01-22T01:43:10Z"}

c-api/init.po

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,12 @@ msgid ""
635635
"time. The value is available to Python code as ``sys.exec_prefix``. It is "
636636
"only useful on Unix."
637637
msgstr ""
638+
"返回针对已安装的 *依赖于* 平台文件的 *exec-prefix*。 这是通过基于使用 :c:func:`Py_SetProgramName` "
639+
"设置的程序名称和某些环境变量所派生的一系列复杂规则获得的;举例来说,如果程序名称为 ``'/usr/local/bin/python'``,则 "
640+
"exec-prefix 为 ``'/usr/local'``。 返回的字符串将指向静态存储;调用方不应修改其值。 这对应于最高层级 "
641+
":file:`Makefile` 中的 :makevar:`exec_prefix` 变量以及在编译时传给 :program:`configure` "
642+
"脚本的 ``--exec-prefix`` 参数。 该值将以 ``sys.exec_prefix`` 的名称供 Python 代码使用。 它仅适用于 "
643+
"Unix。"
638644

639645
#: ../../c-api/init.rst:404
640646
msgid ""
@@ -644,6 +650,9 @@ msgid ""
644650
"files may be installed in the :file:`/usr/local/plat` subtree while platform"
645651
" independent may be installed in :file:`/usr/local`."
646652
msgstr ""
653+
"背景:当依赖于平台的文件(如可执行文件和共享库)是安装于不同的目录树中的时候 exec-prefix 将会不同于 prefix。 "
654+
"在典型的安装中,依赖于平台的文件可能安装于 the :file:`/usr/local/plat` 子目录树而不依赖于平台的文件可能安装于 "
655+
":file:`/usr/local`。"
647656

648657
#: ../../c-api/init.rst:410
649658
msgid ""

0 commit comments

Comments
 (0)