Skip to content

Commit 0b22f96

Browse files
sync with cpython 3ddf3972
1 parent c4bbe64 commit 0b22f96

File tree

6 files changed

+266
-239
lines changed

6 files changed

+266
-239
lines changed

c-api/init.po

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-10-31 08:13+0000\n"
10+
"POT-Creation-Date: 2023-03-16 00:18+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -579,10 +579,10 @@ msgid ""
579579
"example, if the program name is ``'/usr/local/bin/python'``, the prefix is "
580580
"``'/usr/local'``. The returned string points into static storage; the caller "
581581
"should not modify its value. This corresponds to the :makevar:`prefix` "
582-
"variable in the top-level :file:`Makefile` and the ``--prefix`` argument to "
583-
"the :program:`configure` script at build time. The value is available to "
584-
"Python code as ``sys.prefix``. It is only useful on Unix. See also the next "
585-
"function."
582+
"variable in the top-level :file:`Makefile` and the :option:`--prefix` "
583+
"argument to the :program:`configure` script at build time. The value is "
584+
"available to Python code as ``sys.prefix``. It is only useful on Unix. See "
585+
"also the next function."
586586
msgstr ""
587587

588588
#: ../../c-api/init.rst:420

c-api/intro.po

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
10+
"POT-Creation-Date: 2023-03-16 00:18+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -117,11 +117,11 @@ msgstr ""
117117
msgid ""
118118
"The header files are typically installed with Python. On Unix, these are "
119119
"located in the directories :file:`{prefix}/include/pythonversion/` and :file:"
120-
"`{exec_prefix}/include/pythonversion/`, where :envvar:`prefix` and :envvar:"
121-
"`exec_prefix` are defined by the corresponding parameters to Python's :"
122-
"program:`configure` script and *version* is ``'%d.%d' % sys."
123-
"version_info[:2]``. On Windows, the headers are installed in :file:"
124-
"`{prefix}/include`, where :envvar:`prefix` is the installation directory "
120+
"`{exec_prefix}/include/pythonversion/`, where :option:`prefix <--prefix>` "
121+
"and :option:`exec_prefix <--exec-prefix>` are defined by the corresponding "
122+
"parameters to Python's :program:`configure` script and *version* is ``'%d."
123+
"%d' % sys.version_info[:2]``. On Windows, the headers are installed in :"
124+
"file:`{prefix}/include`, where ``prefix`` is the installation directory "
125125
"specified to the installer."
126126
msgstr ""
127127

@@ -131,8 +131,8 @@ msgid ""
131131
"compiler's search path for includes. Do *not* place the parent directories "
132132
"on the search path and then use ``#include <pythonX.Y/Python.h>``; this will "
133133
"break on multi-platform builds since the platform independent headers under :"
134-
"envvar:`prefix` include the platform specific headers from :envvar:"
135-
"`exec_prefix`."
134+
"option:`prefix <--prefix>` include the platform specific headers from :"
135+
"option:`exec_prefix <--exec-prefix>`."
136136
msgstr ""
137137

138138
#: ../../c-api/intro.rst:95

library/sys.po

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-03-02 10:05+0000\n"
10+
"POT-Creation-Date: 2023-03-16 00:18+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:12+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1890,10 +1890,10 @@ msgstr ""
18901890
#: ../../library/sys.rst:1308
18911891
msgid ""
18921892
"A string giving the site-specific directory prefix where the platform "
1893-
"independent Python files are installed; on Unix, the default is ``'/usr/"
1894-
"local'``. This can be set at build time with the ``--prefix`` argument to "
1895-
"the :program:`configure` script. See :ref:`installation_paths` for derived "
1896-
"paths."
1893+
"independent Python files are installed; on Unix, the default is :file:`/usr/"
1894+
"local`. This can be set at build time with the :option:`--prefix` argument "
1895+
"to the :program:`configure` script. See :ref:`installation_paths` for "
1896+
"derived paths."
18971897
msgstr ""
18981898

18991899
#: ../../library/sys.rst:1314

library/venv.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-02-13 00:17+0000\n"
10+
"POT-Creation-Date: 2023-03-16 00:18+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:15+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -196,7 +196,7 @@ msgstr ""
196196
msgid ""
197197
"A virtual environment may be \"activated\" using a script in its binary "
198198
"directory (``bin`` on POSIX; ``Scripts`` on Windows). This will prepend that "
199-
"directory to your :envvar:`!PATH`, so that running :program:`!python` will "
199+
"directory to your :envvar:`!PATH`, so that running :program:`python` will "
200200
"invoke the environment's Python interpreter and you can run installed "
201201
"scripts without having to use their full path. The invocation of the "
202202
"activation script is platform-specific (:samp:`{<venv>}` must be replaced by "
@@ -268,7 +268,7 @@ msgid ":samp:`PS C:\\\\> {<venv>}\\\\Scripts\\\\Activate.ps1`"
268268
msgstr ":samp:`PS C:\\\\> {<venv>}\\\\Scripts\\\\Activate.ps1`"
269269

270270
#: ../../library/venv.rst:86
271-
msgid ":program:`!fish` and :program:`!csh` activation scripts."
271+
msgid ":program:`fish` and :program:`csh` activation scripts."
272272
msgstr ""
273273

274274
#: ../../library/venv.rst:89

0 commit comments

Comments
 (0)