Skip to content

Commit bfeeefa

Browse files
Update glossary.po (#322)
* Update glossary Translate the entry "attribute." * Apply suggestions from code review All suggestions are applied. Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com> Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
1 parent 0201eb4 commit bfeeefa

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎glossary.po

+6-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgstr ""
99
"Project-Id-Version: Python 3.10\n"
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2022-09-30 00:28+0000\n"
12-
"PO-Revision-Date: 2022-09-01 12:05+0800\n"
12+
"PO-Revision-Date: 2022-10-05 09:39+0800\n"
1313
"Last-Translator: Steven Hsu <hsuhaochun@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1515
"tw)\n"
@@ -322,8 +322,8 @@ msgid ""
322322
"dotted expressions. For example, if an object *o* has an attribute *a* it "
323323
"would be referenced as *o.a*."
324324
msgstr ""
325-
"一個與某物件相關聯的值,該值大多能透過使用點分隔運算式 (dotted expression) 的名稱"
326-
"被參照。例如,如果物件 *o* 有一個屬性 *a*,則該屬性能以 *o.a* 被參照。"
325+
"一個與某物件相關聯的值,該值大多能透過使用點分隔運算式 (dotted expression) "
326+
"名稱被參照。例如,如果物件 *o* 有一個屬性 *a*,則該屬性能以 *o.a* 被參照。"
327327

328328
#: ../../glossary.rst:144
329329
msgid ""
@@ -333,6 +333,9 @@ msgid ""
333333
"using a dotted expression, and would instead need to be retrieved with :func:"
334334
"`getattr`."
335335
msgstr ""
336+
"如果一個物件允許,給予該物件一個名稱不是由\\ :ref:`identifiers`\\ 所"
337+
"定義之識別符 (identifier) 的屬性是有可能的,例如使用 :func:`setattr`。像這樣"
338+
"的屬性將無法使用點分隔運算式來存取,而是需要使用 :func:`getattr` 來取得它。"
336339

337340
#: ../../glossary.rst:149
338341
msgid "awaitable"

0 commit comments

Comments
 (0)