From 411f759d5e38ebb78bf6774416486199cc664c87 Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Fri, 4 Mar 2022 20:23:36 +0000 Subject: [PATCH 1/7] Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (66 of 66 strings) Translation: pydoc-matt-test/sphinx Translate-URL: https://hosted.weblate.org/projects/pydoc-matt-test/sphinx/zh_Hant/ --- zh_Hant/sphinx.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/zh_Hant/sphinx.po b/zh_Hant/sphinx.po index 02d7629cbb..c54162551c 100644 --- a/zh_Hant/sphinx.po +++ b/zh_Hant/sphinx.po @@ -10,16 +10,16 @@ msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-26 16:47+0000\n" -"PO-Revision-Date: 2021-06-02 12:28+0800\n" -"Last-Translator: Adrian Liaw \n" -"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" -"tw)\n" -"Language: zh_TW\n" +"PO-Revision-Date: 2022-03-04 20:24+0000\n" +"Last-Translator: Wei-Hsiang (Matt) Wang \n" +"Language-Team: Chinese (Traditional) \n" +"Language: zh_Hant\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 2.4.3\n" +"X-Generator: Weblate 4.12-dev\n" #: ../../tools/templates/customsourcelink.html:3 msgid "This Page" @@ -86,7 +86,7 @@ msgstr "" #: ../../tools/templates/indexcontent.html:15 msgid "Tutorial" -msgstr "Python 教學" +msgstr "教學" #: ../../tools/templates/indexcontent.html:16 msgid "start here" From 0ddd0ce19190bdf0ff9fd78696a0060f9cd82ed5 Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Fri, 4 Mar 2022 20:24:03 +0000 Subject: [PATCH 2/7] Translated using Weblate (Chinese (Traditional)) Currently translated at 6.5% (19 of 290 strings) Translation: pydoc-matt-test/library/argparse Translate-URL: https://hosted.weblate.org/projects/pydoc-matt-test/libraryargparse/zh_Hant/ --- zh_Hant/library/argparse.po | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/zh_Hant/library/argparse.po b/zh_Hant/library/argparse.po index 00f9ec4851..437bae2b10 100644 --- a/zh_Hant/library/argparse.po +++ b/zh_Hant/library/argparse.po @@ -8,15 +8,16 @@ msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-01-03 00:10+0000\n" -"PO-Revision-Date: 2018-05-23 14:38+0000\n" -"Last-Translator: Adrian Liaw \n" -"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" -"tw)\n" -"Language: zh_TW\n" +"PO-Revision-Date: 2022-03-04 20:24+0000\n" +"Last-Translator: Wei-Hsiang (Matt) Wang \n" +"Language-Team: Chinese (Traditional) \n" +"Language: zh_Hant\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.12-dev\n" #: ../../library/argparse.rst:2 msgid "" @@ -80,7 +81,7 @@ msgstr "" #: ../../library/argparse.rst:87 msgid "Creating a parser" -msgstr "" +msgstr "建立一個剖析器" #: ../../library/argparse.rst:89 msgid "" From 9d212b49549250c05d9c61553691ff94d1633816 Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Fri, 4 Mar 2022 20:23:35 +0000 Subject: [PATCH 3/7] Translated using Weblate (Chinese (Traditional)) Currently translated at 8.3% (34 of 406 strings) Translation: pydoc-matt-test/library/optparse Translate-URL: https://hosted.weblate.org/projects/pydoc-matt-test/libraryoptparse/zh_Hant/ --- zh_Hant/library/optparse.po | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/zh_Hant/library/optparse.po b/zh_Hant/library/optparse.po index 0b5af825d9..506b9de613 100644 --- a/zh_Hant/library/optparse.po +++ b/zh_Hant/library/optparse.po @@ -8,15 +8,16 @@ msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-09-13 00:11+0000\n" -"PO-Revision-Date: 2018-05-23 16:07+0000\n" -"Last-Translator: Adrian Liaw \n" -"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" -"tw)\n" -"Language: zh_TW\n" +"PO-Revision-Date: 2022-03-04 20:24+0000\n" +"Last-Translator: Wei-Hsiang (Matt) Wang \n" +"Language-Team: Chinese (Traditional) \n" +"Language: zh_Hant\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.12-dev\n" #: ../../library/optparse.rst:2 msgid ":mod:`optparse` --- Parser for command line options" @@ -310,7 +311,7 @@ msgstr "" #: ../../library/optparse.rst:246 msgid "Tutorial" -msgstr "" +msgstr "教學" #: ../../library/optparse.rst:248 msgid "" From 30091a7e4044b870024496089d979833b780e8ca Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Fri, 4 Mar 2022 20:23:35 +0000 Subject: [PATCH 4/7] Translated using Weblate (Chinese (Traditional)) Currently translated at 12.0% (28 of 232 strings) Translation: pydoc-matt-test/library/xml.etree.elementtree Translate-URL: https://hosted.weblate.org/projects/pydoc-matt-test/libraryxmletreeelementtree/zh_Hant/ --- zh_Hant/library/xml.etree.elementtree.po | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/zh_Hant/library/xml.etree.elementtree.po b/zh_Hant/library/xml.etree.elementtree.po index 1cab92eecd..f82c47e129 100644 --- a/zh_Hant/library/xml.etree.elementtree.po +++ b/zh_Hant/library/xml.etree.elementtree.po @@ -8,15 +8,16 @@ msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-26 16:47+0000\n" -"PO-Revision-Date: 2018-05-23 16:16+0000\n" -"Last-Translator: Adrian Liaw \n" -"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" -"tw)\n" -"Language: zh_TW\n" +"PO-Revision-Date: 2022-03-04 20:24+0000\n" +"Last-Translator: Wei-Hsiang (Matt) Wang \n" +"Language-Team: Chinese (Traditional) \n" +"Language: zh_Hant\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.12-dev\n" #: ../../library/xml.etree.elementtree.rst:2 msgid ":mod:`xml.etree.ElementTree` --- The ElementTree XML API" @@ -49,7 +50,7 @@ msgstr "" #: ../../library/xml.etree.elementtree.rst:30 msgid "Tutorial" -msgstr "" +msgstr "教學" #: ../../library/xml.etree.elementtree.rst:32 msgid "" From ef7921cdb5e69961d660d3124d721568e70f640e Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Fri, 4 Mar 2022 20:32:22 +0000 Subject: [PATCH 5/7] Translated using Weblate (Chinese (Traditional)) Currently translated at 3.5% (1 of 28 strings) Translation: pydoc-matt-test/c-api/codec Translate-URL: https://hosted.weblate.org/projects/pydoc-matt-test/c-apicodec/zh_Hant/ --- zh_Hant/c-api/codec.po | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/zh_Hant/c-api/codec.po b/zh_Hant/c-api/codec.po index 9c716193a6..c6afcdc79b 100644 --- a/zh_Hant/c-api/codec.po +++ b/zh_Hant/c-api/codec.po @@ -8,19 +8,20 @@ msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-26 16:47+0000\n" -"PO-Revision-Date: 2015-12-09 17:51+0000\n" -"Last-Translator: Liang-Bo Wang \n" -"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" -"tw)\n" -"Language: zh_TW\n" +"PO-Revision-Date: 2022-03-04 20:33+0000\n" +"Last-Translator: Wei-Hsiang (Matt) Wang \n" +"Language-Team: Chinese (Traditional) \n" +"Language: zh_Hant\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.12-dev\n" #: ../../c-api/codec.rst:4 msgid "Codec registry and support functions" -msgstr "" +msgstr "編解碼器註冊表和支援功能" #: ../../c-api/codec.rst:8 msgid "Register a new codec search function." From 18de360430d5eb6988877f178225ca684a4ef4ee Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Fri, 4 Mar 2022 20:39:59 +0000 Subject: [PATCH 6/7] Translated using Weblate (Chinese (Traditional)) Currently translated at 14.2% (4 of 28 strings) Translation: pydoc-matt-test/c-api/codec Translate-URL: https://hosted.weblate.org/projects/pydoc-matt-test/c-apicodec/zh_Hant/ --- zh_Hant/c-api/codec.po | 93 ++++++++++++++++++++++++++++++++---------- 1 file changed, 71 insertions(+), 22 deletions(-) diff --git a/zh_Hant/c-api/codec.po b/zh_Hant/c-api/codec.po index c6afcdc79b..54b56cfac8 100644 --- a/zh_Hant/c-api/codec.po +++ b/zh_Hant/c-api/codec.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-26 16:47+0000\n" -"PO-Revision-Date: 2022-03-04 20:33+0000\n" +"PO-Revision-Date: 2022-03-04 20:44+0000\n" "Last-Translator: Wei-Hsiang (Matt) Wang \n" "Language-Team: Chinese (Traditional) \n" @@ -25,106 +25,139 @@ msgstr "編解碼器註冊表和支援功能" #: ../../c-api/codec.rst:8 msgid "Register a new codec search function." -msgstr "" +msgstr "註冊新的編解碼器搜索函式。" #: ../../c-api/codec.rst:10 +#, fuzzy msgid "" "As side effect, this tries to load the :mod:`encodings` package, if not yet " "done, to make sure that it is always first in the list of search functions." -msgstr "" +msgstr "作為副作用,這會嘗試載入 :mod:'encodings' " +"包(如果尚未完成),以確保它始終位於搜索函數清單中的第一位。" #: ../../c-api/codec.rst:15 +#, fuzzy msgid "" "Unregister a codec search function and clear the registry's cache. If the " "search function is not registered, do nothing. Return 0 on success. Raise an " "exception and return -1 on error." -msgstr "" +msgstr "註銷編解碼器搜索功能並清除註冊表的緩存。如果未註冊搜索功能,則不執行任何操作" +"。成功時返回 0。引發異常並在出錯時返回 -1。" #: ../../c-api/codec.rst:23 +#, fuzzy msgid "" "Return ``1`` or ``0`` depending on whether there is a registered codec for " "the given *encoding*. This function always succeeds." -msgstr "" +msgstr "返回\"1\"或\"0\",具體取決於給定的*編碼*是否有註冊的編解碼器。 " +"此函數始終成功。" #: ../../c-api/codec.rst:28 +#, fuzzy msgid "Generic codec based encoding API." -msgstr "" +msgstr "基於通用編解碼器的編碼 API。" #: ../../c-api/codec.rst:30 +#, fuzzy msgid "" "*object* is passed through the encoder function found for the given " "*encoding* using the error handling method defined by *errors*. *errors* " "may be ``NULL`` to use the default method defined for the codec. Raises a :" "exc:`LookupError` if no encoder can be found." msgstr "" +"*object* 使用 *errors* 定義的錯誤處理方法,通過為給定 *編碼* " +"找到的編碼器函數傳遞。 *errors* 可以是\"NULL\"" +",以使用為編解碼器定義的預設方法。 如果找不到編碼器,則引發 " +":exc:『LookupError』。" #: ../../c-api/codec.rst:37 +#, fuzzy msgid "Generic codec based decoding API." -msgstr "" +msgstr "基於通用編解碼器的解碼 API。" #: ../../c-api/codec.rst:39 +#, fuzzy msgid "" "*object* is passed through the decoder function found for the given " "*encoding* using the error handling method defined by *errors*. *errors* " "may be ``NULL`` to use the default method defined for the codec. Raises a :" "exc:`LookupError` if no encoder can be found." msgstr "" +"*object* 通過為給定 *編碼* 找到的解碼器函數,使用 *errors* " +"定義的錯誤處理方法。 *errors* 可以是\"NULL\"" +",以使用為編解碼器定義的預設方法。 如果找不到編碼器,則引發 " +":exc:『LookupError』。" #: ../../c-api/codec.rst:46 +#, fuzzy msgid "Codec lookup API" -msgstr "" +msgstr "編解碼器查找介面" #: ../../c-api/codec.rst:48 +#, fuzzy msgid "" "In the following functions, the *encoding* string is looked up converted to " "all lower-case characters, which makes encodings looked up through this " "mechanism effectively case-insensitive. If no codec is found, a :exc:" "`KeyError` is set and ``NULL`` returned." msgstr "" +"在以下函數中,查找 *encoding* " +"字串將轉換為所有小寫字元,這使得通過此機制查找的編碼實際上不區分大小寫。 " +"如果未找到編解碼器,則設置 :exc:'KeyError'並返回 ''NULL''。" #: ../../c-api/codec.rst:55 +#, fuzzy msgid "Get an encoder function for the given *encoding*." -msgstr "" +msgstr "獲取給定 *編碼* 的編碼器函數。" #: ../../c-api/codec.rst:59 +#, fuzzy msgid "Get a decoder function for the given *encoding*." -msgstr "" +msgstr "獲取給定 *編碼* 的解碼器函數。" #: ../../c-api/codec.rst:63 msgid "" "Get an :class:`~codecs.IncrementalEncoder` object for the given *encoding*." -msgstr "" +msgstr "獲取和所給定 *encoding* 相對應的 :class:`~codecs.IncrementalEncoder` 物件。" #: ../../c-api/codec.rst:67 msgid "" "Get an :class:`~codecs.IncrementalDecoder` object for the given *encoding*." -msgstr "" +msgstr "獲取和所給定 *encoding* 相對應的 :class:`~codecs.IncrementalDecoder` 物件。" #: ../../c-api/codec.rst:71 +#, fuzzy msgid "" "Get a :class:`~codecs.StreamReader` factory function for the given " "*encoding*." -msgstr "" +msgstr "獲取 :class:'~編解碼器。StreamReader的工廠函數用於給定的*編碼*。" #: ../../c-api/codec.rst:75 +#, fuzzy msgid "" "Get a :class:`~codecs.StreamWriter` factory function for the given " "*encoding*." -msgstr "" +msgstr "獲取 :class:'~編解碼器。StreamWriter 的工廠函數用於給定的 *編碼*。" #: ../../c-api/codec.rst:79 +#, fuzzy msgid "Registry API for Unicode encoding error handlers" -msgstr "" +msgstr "用於 Unicode 編碼錯誤處理程式的註冊表 API" #: ../../c-api/codec.rst:83 +#, fuzzy msgid "" "Register the error handling callback function *error* under the given " "*name*. This callback function will be called by a codec when it encounters " "unencodable characters/undecodable bytes and *name* is specified as the " "error parameter in the call to the encode/decode function." msgstr "" +"在給定的 *name* 下註冊錯誤處理回調函數 *error*。當編解碼器遇到不可編碼的字元/" +"不可解碼的位元組時,此回調函數將由編解碼器調用,並且 *name* " +"被指定為對編碼/解碼函數的調用中的錯誤參數。" #: ../../c-api/codec.rst:88 +#, fuzzy msgid "" "The callback gets a single argument, an instance of :exc:" "`UnicodeEncodeError`, :exc:`UnicodeDecodeError` or :exc:" @@ -136,40 +169,56 @@ msgid "" "integer giving the offset in the original string at which encoding/decoding " "should be resumed." msgstr "" +"回調獲取單個參數,即 :exc:'UnicodeEncodeError'、:exc:" +"'UnicodeDecodeError' 或 :exc:'UnicodeTranslateError' 的實例,其中包含有關字" +"元或位元組的有問題的序列及其在原始字元串中的偏移量的資訊(有關提取此資訊的函" +"數,請參閱 :ref:'unicodeexceptions')。 回調必須引發給定的異常,或者返回一" +"個包含問題序列替換的雙項元組,以及一個整數,該整數在原始字串中給出應恢復編碼/" +"解碼的偏移量。" #: ../../c-api/codec.rst:98 +#, fuzzy msgid "Return ``0`` on success, ``-1`` on error." -msgstr "" +msgstr "成功時返回\"0\",錯誤時返回\"-1\"。" #: ../../c-api/codec.rst:102 +#, fuzzy msgid "" "Lookup the error handling callback function registered under *name*. As a " "special case ``NULL`` can be passed, in which case the error handling " "callback for \"strict\" will be returned." msgstr "" +"查找在 *name* 下註冊的錯誤處理回調函數。 作為特殊情況,可以傳遞\"NULL\"" +",在這種情況下,將返回\"strict\"的錯誤處理回調。" #: ../../c-api/codec.rst:108 +#, fuzzy msgid "Raise *exc* as an exception." -msgstr "" +msgstr "將 *exc* 作為例外。" #: ../../c-api/codec.rst:112 +#, fuzzy msgid "Ignore the unicode error, skipping the faulty input." -msgstr "" +msgstr "忽略 unicode 錯誤,跳過錯誤的輸入。" #: ../../c-api/codec.rst:116 +#, fuzzy msgid "Replace the unicode encode error with ``?`` or ``U+FFFD``." -msgstr "" +msgstr "將 Unicode 編碼錯誤替換為\" \"" #: ../../c-api/codec.rst:120 +#, fuzzy msgid "Replace the unicode encode error with XML character references." -msgstr "" +msgstr "將 Unicode 編碼錯誤替換為 XML 字元引用。" #: ../../c-api/codec.rst:124 +#, fuzzy msgid "" "Replace the unicode encode error with backslash escapes (``\\x``, ``\\u`` " "and ``\\U``)." -msgstr "" +msgstr "將 Unicode 編碼錯誤替換為反斜杠轉義(\"\\x\"、\"\\u\"和\"\\U\")。" #: ../../c-api/codec.rst:129 +#, fuzzy msgid "Replace the unicode encode error with ``\\N{...}`` escapes." -msgstr "" +msgstr "將 Unicode 編碼錯誤替換為\"\\N{...}\"\"逃跑了。" From 14128b572db4574aaa2e82d933a8b59f9e741e51 Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Fri, 4 Mar 2022 21:15:05 +0000 Subject: [PATCH 7/7] Translated using Weblate (Chinese (Traditional)) Currently translated at 23.9% (23 of 96 strings) Translation: pydoc-matt-test/c-api/call Translate-URL: https://hosted.weblate.org/projects/pydoc-matt-test/c-apicall/zh_Hant/ --- zh_Hant/c-api/call.po | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/zh_Hant/c-api/call.po b/zh_Hant/c-api/call.po index 6c2b4eaa3d..0428fb7f92 100644 --- a/zh_Hant/c-api/call.po +++ b/zh_Hant/c-api/call.po @@ -3,24 +3,25 @@ # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-10-07 00:10+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" -"tw)\n" -"Language: zh_TW\n" +"PO-Revision-Date: 2022-03-04 21:15+0000\n" +"Last-Translator: Wei-Hsiang (Matt) Wang \n" +"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-tw)" +"\n" +"Language: zh_Hant\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.12-dev\n" #: ../../c-api/call.rst:6 msgid "Call Protocol" -msgstr "" +msgstr "呼叫協定" #: ../../c-api/call.rst:8 msgid ""