Skip to content

Commit b0abeea

Browse files
committed
Refine translation for library/exceptions
1 parent 41d8e59 commit b0abeea

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Diff for: library/exceptions.po

+12-12
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2024-07-20 00:03+0000\n"
12-
"PO-Revision-Date: 2024-07-13 09:45+0800\n"
12+
"PO-Revision-Date: 2024-09-08 20:13+0800\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1515
"tw)\n"
@@ -145,7 +145,7 @@ msgid ""
145145
"exceptions so that the final line of the traceback always shows the last "
146146
"exception that was raised."
147147
msgstr ""
148-
"在任一種情況下,例外本身總是會顯示在任何連鎖例外的後面,因此回溯的最後一行總"
148+
"在任一種情況下,例外本身總是會顯示在任何連鎖例外的後面,因此回溯的最後一列總"
149149
"是顯示最後一個被引發的例外。"
150150

151151
#: ../../library/exceptions.rst:86
@@ -527,7 +527,7 @@ msgstr ""
527527

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

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

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

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

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

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

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

796796
#: ../../library/exceptions.rst:545

0 commit comments

Comments
 (0)