Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations update from Hosted Weblate #19

Open
wants to merge 7 commits into
base: weblate-source
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions zh_Hant/c-api/call.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,25 @@
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 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 <EMAIL@ADDRESS>\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 <[email protected]>\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 ""
Expand Down
104 changes: 77 additions & 27 deletions zh_Hant/c-api/codec.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,122 +8,156 @@ 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 <[email protected]>\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:44+0000\n"
"Last-Translator: Wei-Hsiang (Matt) Wang <[email protected]>\n"
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
"pydoc-matt-test/c-apicodec/zh_Hant/>\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."
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:"
Expand All @@ -135,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{...}\"\"逃跑了。"
13 changes: 7 additions & 6 deletions zh_Hant/library/argparse.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <adrianliaw2000@gmail.com>\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 <mattwang44@gmail.com>\n"
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
"pydoc-matt-test/libraryargparse/zh_Hant/>\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 ""
Expand Down Expand Up @@ -80,7 +81,7 @@ msgstr ""

#: ../../library/argparse.rst:87
msgid "Creating a parser"
msgstr ""
msgstr "建立一個剖析器"

#: ../../library/argparse.rst:89
msgid ""
Expand Down
13 changes: 7 additions & 6 deletions zh_Hant/library/optparse.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <adrianliaw2000@gmail.com>\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 <mattwang44@gmail.com>\n"
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
"pydoc-matt-test/libraryoptparse/zh_Hant/>\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"
Expand Down Expand Up @@ -310,7 +311,7 @@ msgstr ""

#: ../../library/optparse.rst:246
msgid "Tutorial"
msgstr ""
msgstr "教學"

#: ../../library/optparse.rst:248
msgid ""
Expand Down
13 changes: 7 additions & 6 deletions zh_Hant/library/xml.etree.elementtree.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <adrianliaw2000@gmail.com>\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 <mattwang44@gmail.com>\n"
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
"pydoc-matt-test/libraryxmletreeelementtree/zh_Hant/>\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"
Expand Down Expand Up @@ -49,7 +50,7 @@ msgstr ""

#: ../../library/xml.etree.elementtree.rst:30
msgid "Tutorial"
msgstr ""
msgstr "教學"

#: ../../library/xml.etree.elementtree.rst:32
msgid ""
Expand Down
14 changes: 7 additions & 7 deletions zh_Hant/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <adrianliaw2000@gmail.com>\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 <mattwang44@gmail.com>\n"
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
"pydoc-matt-test/sphinx/zh_Hant/>\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"
Expand Down Expand Up @@ -86,7 +86,7 @@ msgstr ""

#: ../../tools/templates/indexcontent.html:15
msgid "Tutorial"
msgstr "Python 教學"
msgstr "教學"

#: ../../tools/templates/indexcontent.html:16
msgid "start here"
Expand Down