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

Commit6a7e80a

Browse files
committed
Translatelibrary/pyclbr.po
1 parentaec3f95 commit6a7e80a

File tree

1 file changed

+46
-14
lines changed

1 file changed

+46
-14
lines changed

‎library/pyclbr.po‎

Lines changed: 46 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,22 @@
33
# This file is distributed under the same license as the Python package.
44
#
55
# Translators:
6+
# Weilin Du, 2025
67
msgid ""
78
msgstr ""
89
"Project-Id-Version:Python 3.13\n"
910
"Report-Msgid-Bugs-To:\n"
1011
"POT-Creation-Date:2024-05-09 00:03+0000\n"
11-
"PO-Revision-Date:2017-09-22 18:27+0000\n"
12-
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
12+
"PO-Revision-Date:2025-07-09 13:16+0800\n"
13+
"Last-Translator:Weilin Du <1372449351@qq.com>\n"
1314
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1415
"tw)\n"
1516
"Language:zh_TW\n"
1617
"MIME-Version:1.0\n"
1718
"Content-Type:text/plain; charset=UTF-8\n"
1819
"Content-Transfer-Encoding:8bit\n"
1920
"Plural-Forms:nplurals=1; plural=0;\n"
21+
"X-Generator:Poedit 3.6\n"
2022

2123
#:../../library/pyclbr.rst:2
2224
msgid":mod:`!pyclbr` --- Python module browser support"
@@ -36,6 +38,11 @@ msgid ""
3638
"use this module with modules not implemented in Python, including all "
3739
"standard and optional extension modules."
3840
msgstr""
41+
":mod:`pyclbr` 模組可以提供一個使用 Python 編碼的模組中定義的函式、類和方法的"
42+
"有限資訊。 這些資訊足以實作一個模組瀏覽器。 這些資訊是從 Python 原始碼中抽取"
43+
"出來的,而不是透過匯入模組,因此這個模組可以安全地與不信任的程式碼一起使用。"
44+
"此限制使得此模組無法與非 Python 實作的模組一起使用,包括所有標準與可選的擴充"
45+
"模組。"
3946

4047
#:../../library/pyclbr.rst:25
4148
msgid""
@@ -46,12 +53,16 @@ msgid ""
4653
"paths prepended to ``sys.path``, which is used to locate the module source "
4754
"code."
4855
msgstr""
56+
"回傳模組等級的類別名稱與類別描述符對應的字典。 如果可能的話,會包含匯入基類"
57+
"的描述符。 參數 *module* 是包含要讀取的模組名稱的字串;它可以是套件中的模組"
58+
"名稱。 如果給定,*path* 是以 ``sys.path`` 為前綴的目錄路徑序列,用來定位模組"
59+
"原始碼。"
4960

5061
#:../../library/pyclbr.rst:32
5162
msgid""
5263
"This function is the original interface and is only kept for back "
5364
"compatibility. It returns a filtered version of the following."
54-
msgstr""
65+
msgstr"此功能為原始介面,僅保留用於向後相容性。 它會傳回以下經過篩選的版本。"
5566

5667
#:../../library/pyclbr.rst:38
5768
msgid""
@@ -64,18 +75,28 @@ msgid ""
6475
"read is a package, the returned dictionary has a key ``'__path__'`` whose "
6576
"value is a list containing the package search path."
6677
msgstr""
78+
"回傳一個以字典為基礎的樹狀結構,包含在模組中以 `def` 或 `class` 語句定義的每"
79+
"個函式和類別的函式或類別描述符。 回傳的字典會將模組等級的函式和類別名稱映射"
80+
"到它們的描述符。 巢狀物件會輸入其父物件的子字典。 與 readmodule 一樣,"
81+
"*module* 會命名要讀取的模組,而 *path* 則會預先加入 sys.path。 如果要讀取的"
82+
"模組是一個套件,回傳的字典有一個 key ``'__path__'``,其值是一個包含套件搜尋路"
83+
"徑的清單。"
6784

6885
#:../../library/pyclbr.rst:48
6986
msgid""
7087
"Descriptors for nested definitions. They are accessed through the new "
7188
"children attribute. Each has a new parent attribute."
7289
msgstr""
90+
"巢狀定義(nested definitions)的描述符。 這些描述符可透過新的 children 屬性"
91+
"來存取。 每個定義都有一個新的父屬性。"
7392

7493
#:../../library/pyclbr.rst:52
7594
msgid""
7695
"The descriptors returned by these functions are instances of Function and "
7796
"Class classes. Users are not expected to create instances of these classes."
7897
msgstr""
98+
"這些函式所回傳的描述符是 Function 和 Class 類別的實體。 使用者不需要建立這些"
99+
"類別的實體。"
79100

80101
#:../../library/pyclbr.rst:60
81102
msgid"Function Objects"
@@ -86,70 +107,76 @@ msgid ""
86107
"Class :class:`!Function` instances describe functions defined by def "
87108
"statements. They have the following attributes:"
88109
msgstr""
110+
"Class :class:`!Function` 實例描述由 def 語句定義的函式。 它們具有以下屬性:"
89111

90112
#:../../library/pyclbr.rst:70
91113
msgid"Name of the file in which the function is defined."
92-
msgstr""
114+
msgstr"定義函式的檔案名稱。"
93115

94116
#:../../library/pyclbr.rst:75
95117
msgid"The name of the module defining the function described."
96-
msgstr""
118+
msgstr"定義所述功能的模組名稱。"
97119

98120
#:../../library/pyclbr.rst:80
99121
msgid"The name of the function."
100-
msgstr""
122+
msgstr"函式的名稱。"
101123

102124
#:../../library/pyclbr.rst:85../../library/pyclbr.rst:140
103125
msgid"The line number in the file where the definition starts."
104-
msgstr""
126+
msgstr"檔案中定義開始的行號。"
105127

106128
#:../../library/pyclbr.rst:90
107129
msgid"For top-level functions, ``None``. For nested functions, the parent."
108130
msgstr""
131+
"對於頂層函式(top-level functions),``None``。 對於巢狀函式,則使用父函式。"
109132

110133
#:../../library/pyclbr.rst:97
111134
msgid""
112135
"A :class:`dictionary <dict>` mapping names to descriptors for nested "
113136
"functions and classes."
114-
msgstr""
137+
msgstr"一個 :class:`dictionary <dict>` 將名稱對應到巢狀函式和類別的描述符。"
115138

116139
#:../../library/pyclbr.rst:105
117140
msgid""
118141
"``True`` for functions that are defined with the :keyword:`async <async "
119142
"def>` prefix, ``False`` otherwise."
120143
msgstr""
144+
"對於使用 :keyword:`async <async def>` 前綴定義的函式是 ``真``,否則是 ``假"
145+
"``。"
121146

122147
#:../../library/pyclbr.rst:114
123148
msgid"Class Objects"
124-
msgstr""
149+
msgstr"類別物件"
125150

126151
#:../../library/pyclbr.rst:118
127152
msgid""
128153
"Class :class:`!Class` instances describe classes defined by class "
129154
"statements. They have the same attributes as :class:`Functions <Function>` "
130155
"and two more."
131156
msgstr""
157+
"Class :class:`!Class` 實例描述由 class 語句定義的類別。 它們具有"
158+
"與 :class:`Functions <Function>` 相同的屬性,以及另外兩個屬性。"
132159

133160
#:../../library/pyclbr.rst:125
134161
msgid"Name of the file in which the class is defined."
135-
msgstr""
162+
msgstr"定義類別的檔案名稱。"
136163

137164
#:../../library/pyclbr.rst:130
138165
msgid"The name of the module defining the class described."
139-
msgstr""
166+
msgstr"定義所述類別的模組名稱。"
140167

141168
#:../../library/pyclbr.rst:135
142169
msgid"The name of the class."
143-
msgstr""
170+
msgstr"類別的名稱。"
144171

145172
#:../../library/pyclbr.rst:145
146173
msgid"For top-level classes, ``None``. For nested classes, the parent."
147-
msgstr""
174+
msgstr"對於頂層函式,``None``。 對於巢狀函式,則使用父函式。"
148175

149176
#:../../library/pyclbr.rst:152
150177
msgid""
151178
"A dictionary mapping names to descriptors for nested functions and classes."
152-
msgstr""
179+
msgstr"將名稱對應到巢狀函式和類別的描述符的字典。"
153180

154181
#:../../library/pyclbr.rst:160
155182
msgid""
@@ -158,10 +185,15 @@ msgid ""
158185
"which are not discoverable by :func:`readmodule_ex` are listed as a string "
159186
"with the class name instead of as :class:`!Class` objects."
160187
msgstr""
188+
"描述被描述類別的直接基類的 :class:`!Class` 物件清單。 被命名為超類但無法"
189+
"被 :func:`readmodule_ex` 發現的類會以類名的字串形式列出,而不是 :class:`!"
190+
"Class` 物件。"
161191

162192
#:../../library/pyclbr.rst:169
163193
msgid""
164194
"A :class:`dictionary <dict>` mapping method names to line numbers. This can "
165195
"be derived from the newer :attr:`children` dictionary, but remains for back-"
166196
"compatibility."
167197
msgstr""
198+
"一個 :class:`dictionary <dict>` 方法名稱對應到行號。 這可以從較新"
199+
"的 :attr:`children` 字典衍生出來,但為了向後相容性而保留。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp