From b0abeea788c9c1f1c2227ea5aa2730598bd5196c Mon Sep 17 00:00:00 2001 From: mindihx Date: Sun, 8 Sep 2024 20:15:29 +0800 Subject: [PATCH] Refine translation for library/exceptions --- library/exceptions.po | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/library/exceptions.po b/library/exceptions.po index 5d1b7e0757..21682eccb8 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -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 \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -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 @@ -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 "" @@ -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." @@ -752,7 +752,7 @@ 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 @@ -760,7 +760,7 @@ 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 @@ -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." @@ -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