Skip to content

Commit

Permalink
Refine translation for library/exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mindihx committed Sep 8, 2024
1 parent 41d8e59 commit b0abeea
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions library/exceptions.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-20 00:03+0000\n"
"PO-Revision-Date: 2024-07-13 09:45+0800\n"
"PO-Revision-Date: 2024-09-08 20:13+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand Down Expand Up @@ -145,7 +145,7 @@ msgid ""
"exceptions so that the final line of the traceback always shows the last "
"exception that was raised."
msgstr ""
"在任一種情況下,例外本身總是會顯示在任何連鎖例外的後面,因此回溯的最後一行總"
"在任一種情況下,例外本身總是會顯示在任何連鎖例外的後面,因此回溯的最後一列總"
"是顯示最後一個被引發的例外。"

#: ../../library/exceptions.rst:86
Expand Down Expand Up @@ -527,7 +527,7 @@ msgstr ""

#: ../../library/exceptions.rst:365
msgid "A numeric error code from the C variable :c:data:`errno`."
msgstr "從 C 變數 :c:data:`errno` 而來的錯誤代碼數值。"
msgstr "從 C 變數 :c:data:`errno` 而來的數值錯誤代碼。"

#: ../../library/exceptions.rst:369
msgid ""
Expand Down Expand Up @@ -733,15 +733,15 @@ msgid ""
"Which line number in the file the error occurred in. This is 1-indexed: the "
"first line in the file has a ``lineno`` of 1."
msgstr ""
"發生錯誤所在檔案的行數。這是以 1 開始的索引:檔案第一行的 ``lineno`` 是 1。"
"發生錯誤所在檔案的列號。這是以 1 開始的索引:檔案第一列的 ``lineno`` 是 1。"

#: ../../library/exceptions.rst:506
msgid ""
"The column in the line where the error occurred. This is 1-indexed: the "
"first character in the line has an ``offset`` of 1."
msgstr ""
"發生錯誤所在該行的列數。這是以 1 開始的索引:該行第一個字元的 ``offset`` 是 "
"1。"
"發生錯誤所在該列的欄號 (column)。這是以 1 開始的索引:該列第一個字元的 "
"``offset`` 是 1。"

#: ../../library/exceptions.rst:511
msgid "The source code text involved in the error."
Expand All @@ -752,15 +752,15 @@ msgid ""
"Which line number in the file the error occurred ends in. This is 1-indexed: "
"the first line in the file has a ``lineno`` of 1."
msgstr ""
"發生錯誤所在檔案的結束行數。這是以 1 開始的索引:檔案第一行的 ``lineno`` 是 "
"發生錯誤所在檔案的結束列號。這是以 1 開始的索引:檔案第一列的 ``lineno`` 是 "
"1。"

#: ../../library/exceptions.rst:520
msgid ""
"The column in the end line where the error occurred finishes. This is 1-"
"indexed: the first character in the line has an ``offset`` of 1."
msgstr ""
"發生錯誤所在該結束行的列數。這是以 1 開始的索引:該行第一個字元的 ``offset`` "
"發生錯誤所在該結束列的欄號。這是以 1 開始的索引:該列第一個字元的 ``offset`` "
"是 1。"

#: ../../library/exceptions.rst:523
Expand All @@ -770,9 +770,9 @@ msgid ""
"expression. For example, compiling f'Bad {a b} field' results in this args "
"attribute: ('f-string: ...', ('', 1, 2, '(a b)\\n', 1, 5))."
msgstr ""
"對於發生在 f-string 欄位的錯誤,訊息會以 \"f-string: \" 為前綴,而位置 "
"(offset) 是從替代表達式建構的文字的位置。例如編譯 f'Bad {a b} field' 會得到這"
" args 屬性:('f-string: ...', ('', 1, 2, '(a b)\\n', 1, 5))。"
"對於發生在 f-string 欄位的錯誤,訊息會以 \"f-string: \" 為前綴,而偏移量 "
"(offset) 是從替代表達式建構的文字的偏移量。例如編譯 f'Bad {a b} field' 會得到"
"這個 args 屬性:('f-string: ...', ('', 1, 2, '(a b)\\n', 1, 5))。"

#: ../../library/exceptions.rst:528
msgid "Added the :attr:`end_lineno` and :attr:`end_offset` attributes."
Expand All @@ -790,7 +790,7 @@ msgid ""
"Raised when indentation contains an inconsistent use of tabs and spaces. "
"This is a subclass of :exc:`IndentationError`."
msgstr ""
"當縮排包含 tab 和空白的不一致用法時會引發此例外。這是 :exc:"
"當縮排包含製表符號 (tab) 和空白的不一致用法時會引發此例外。這是 :exc:"
"`IndentationError` 的子類別。"

#: ../../library/exceptions.rst:545
Expand Down

0 comments on commit b0abeea

Please sign in to comment.