Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite6a2349

Browse files
committed
translateextending/building.po
1 parent5864e8f commite6a2349

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

‎extending/building.po

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2022, Python Software Foundation
1+
# Copyright (C) 2001-2025, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
#
54
# Translators:
5+
# Adrian Liaw <adrianliaw2000@gmail.com>, 2018
6+
# Matt Wang <mattwang44@gmail.com>, 2025
67
msgid ""
78
msgstr ""
89
"Project-Id-Version:Python 3.13\n"
910
"Report-Msgid-Bugs-To:\n"
1011
"POT-Creation-Date:2024-09-01 22:24+0800\n"
11-
"PO-Revision-Date:2018-05-23 14:09+0000\n"
12-
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
12+
"PO-Revision-Date:2025-02-07 14:09+0000\n"
13+
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1314
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1415
"tw)\n"
1516
"Language:zh_TW\n"
@@ -32,21 +33,25 @@ msgstr ""
3233

3334
#:../../extending/building.rst:12
3435
msgid""
35-
"To be importable, the shared library must be availableon :envvar:"
36-
"`PYTHONPATH`, and must be named after the module name, with an appropriate "
37-
"extension. When using setuptools, the correct filename is generated "
38-
"automatically."
36+
"To be importable, the shared library must be available "
37+
"on :envvar:`PYTHONPATH`, and must be named after the module name, with an "
38+
"appropriateextension. When using setuptools, the correct filename is "
39+
"generatedautomatically."
3940
msgstr""
41+
"要能夠被引入,共用函式庫必須在 :envvar:`PYTHONPATH` 上可用,並且必須以模組名"
42+
"稱命名,並且必須有適當的副檔名。使用 setuptools 時,正確的檔名會自動產生。"
4043

4144
#:../../extending/building.rst:16
4245
msgid"The initialization function has the signature:"
43-
msgstr""
46+
msgstr"初始化函式具有簽名:"
4447

4548
#:../../extending/building.rst:20
4649
msgid""
4750
"It returns either a fully initialized module, or a :c:type:`PyModuleDef` "
4851
"instance. See :ref:`initializing-modules` for details."
4952
msgstr""
53+
"它回傳一個完全初始化的模組,或一個 :c:type:`PyModuleDef` 實例。詳細資訊請參"
54+
"見 :ref:`initializing-modules`。"
5055

5156
#:../../extending/building.rst:25
5257
msgid""
@@ -57,6 +62,11 @@ msgid ""
5762
"``PyInitU_<modulename>``, with ``<modulename>`` encoded using Python's "
5863
"*punycode* encoding with hyphens replaced by underscores. In Python::"
5964
msgstr""
65+
"對於僅包含 ASCII 名稱的模組,函式必須以 ``PyInit_<modulename>`` 命名,其中 "
66+
"``<modulename>`` 要替換為模組的名稱。當使用 :ref:`multi-phase-"
67+
"initialization` 時,允許非 ASCII 模組名稱。在這種情況下,初始化函式名稱是 "
68+
"``PyInitU_<modulename>``,其中 ``<modulename>`` 使用 Python 的 *punycode* 編"
69+
"碼,並將連字符號替換為底線。在 Python 中: ::"
6070

6171
#:../../extending/building.rst:32
6272
msgid""
@@ -82,10 +92,13 @@ msgid ""
8292
"function corresponding to the filename is found. See the *\"Multiple modules "
8393
"in one library\"* section in :pep:`489` for details."
8494
msgstr""
95+
"可以透過定義多個初始化函式,來從單一共用函式庫中匯出多個模組。然而要引入它們"
96+
"需要使用符號連結或自訂引入器,因為預設只會找到對應於檔名的函式。詳細資訊請參"
97+
"見 :pep:`489` 中的 *\"Multiple modules in one library\"* 部分。"
8598

8699
#:../../extending/building.rst:52
87100
msgid"Building C and C++ Extensions with setuptools"
88-
msgstr""
101+
msgstr"用 setuptools 建置 C 與 C++ 擴充套件"
89102

90103
#:../../extending/building.rst:54
91104
msgid""
@@ -94,3 +107,6 @@ msgid ""
94107
"setuptools.html to learn more about how build and distribute C/C++ "
95108
"extensions with setuptools."
96109
msgstr""
110+
"Python 3.12 與之後的版本不再帶有 distutils。請在 https://"
111+
"setuptools.readthedocs.io/en/latest/setuptools.html 上參閱 ``setuptools`` 文"
112+
"件,以了解如何使用 setuptools 建置和發佈 C/C++ 擴充套件。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp