From 1c18728f599d13735e42a00281bf13ca3fafbb2b Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 24 Apr 2026 04:14:18 +0000 Subject: [PATCH 1/2] Translate fuzzy entries from upstream sync --- c-api/allocation.po | 7 ++----- c-api/file.po | 9 +++------ c-api/frame.po | 1 - library/calendar.po | 4 ---- library/typing.po | 18 ++++++++---------- using/android.po | 3 +-- 6 files changed, 14 insertions(+), 28 deletions(-) diff --git a/c-api/allocation.po b/c-api/allocation.po index e1754c8847..fc4f138b34 100644 --- a/c-api/allocation.po +++ b/c-api/allocation.po @@ -22,7 +22,6 @@ msgstr "" "X-Generator: Poedit 3.1.1\n" #: ../../c-api/allocation.rst:6 -#, fuzzy msgid "Allocating objects on the heap" msgstr "在 heap 上分配物件" @@ -215,9 +214,8 @@ msgid "To allocate and create extension modules." msgstr "分配記憶體和建立擴充模組。" #: ../../c-api/allocation.rst:157 -#, fuzzy msgid "Soft-deprecated aliases" -msgstr "被棄用的別名" +msgstr "軟性棄用的別名" #: ../../c-api/allocation.rst:161 msgid "" @@ -226,9 +224,8 @@ msgid "" msgstr "" #: ../../c-api/allocation.rst:169 -#, fuzzy msgid "Soft-deprecated alias" -msgstr "已棄用的別名" +msgstr "軟性棄用的別名" #: ../../c-api/allocation.rst:170 msgid "Function" diff --git a/c-api/file.po b/c-api/file.po index 6dd76dec21..a8c54fa86a 100644 --- a/c-api/file.po +++ b/c-api/file.po @@ -22,7 +22,6 @@ msgstr "" "X-Generator: Poedit 3.2.2\n" #: ../../c-api/file.rst:6 -#, fuzzy msgid "File objects" msgstr "檔案物件 (File Objects)" @@ -220,18 +219,16 @@ msgstr "" "的例外狀況。" #: ../../c-api/file.rst:140 -#, fuzzy msgid "Soft-deprecated API" -msgstr "已棄用的 API" +msgstr "軟性棄用的 API" #: ../../c-api/file.rst:144 -#, fuzzy msgid "" "These are APIs that were included in Python's C API by mistake. They are " "documented solely for completeness; use other ``PyFile*`` APIs instead." msgstr "" -"這些是被錯誤地包含在 Python C API 中的\\ :term:`軟性棄用 ` " -"API。它們僅為了完整性而記錄於文件中;請改用其他 ``PyFile*`` API。" +"這些是被錯誤地包含在 Python C API 中的 API。它們僅為了完整性而記錄於文件中;" +"請改用其他 ``PyFile*`` API。" #: ../../c-api/file.rst:150 msgid "" diff --git a/c-api/frame.po b/c-api/frame.po index a4fcef3acf..2f0d059472 100644 --- a/c-api/frame.po +++ b/c-api/frame.po @@ -16,7 +16,6 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: ../../c-api/frame.rst:4 -#, fuzzy msgid "Frame objects" msgstr "Frame 物件" diff --git a/library/calendar.po b/library/calendar.po index 564e2ad64b..5bd6a629c6 100644 --- a/library/calendar.po +++ b/library/calendar.po @@ -107,7 +107,6 @@ msgid "Identical to setting the :attr:`~Calendar.firstweekday` property." msgstr "" #: ../../library/calendar.rst:65 -#, fuzzy msgid "" "Return an iterator for the weekday numbers that will be used for one week. " "The first value from the iterator will be the same as the value of the :attr:" @@ -138,7 +137,6 @@ msgstr "" "之外的日期數字會是 ``0``。" #: ../../library/calendar.rst:88 -#, fuzzy msgid "" "Return an iterator for the month *month* in the year *year* similar to :meth:" "`itermonthdates`, but not restricted by the :class:`datetime.date` range. " @@ -542,7 +540,6 @@ msgid "" msgstr "回傳包含一週每一天的名稱縮寫的標題。*n* 指定每一天的字元寬度。" #: ../../library/calendar.rst:408 -#, fuzzy msgid "" "Returns weekday of first day of the month and number of days in month, for " "the specified *year* and *month*." @@ -583,7 +580,6 @@ msgstr "" "`~TextCalendar.formatyear`。" #: ../../library/calendar.rst:443 -#, fuzzy msgid "" "An unrelated but handy function that takes a time tuple such as returned by " "the :func:`~time.gmtime` function in the :mod:`time` module, and returns the " diff --git a/library/typing.po b/library/typing.po index b10c98af6f..1d92e91fcd 100644 --- a/library/typing.po +++ b/library/typing.po @@ -2080,7 +2080,6 @@ msgid "Special form for annotating higher-order functions." msgstr "用於註釋高階函式的特別型式。" #: ../../library/typing.rst:1172 -#, fuzzy msgid "" "``Concatenate`` can be used in conjunction with :ref:`Callable ` and :class:`ParamSpec` to annotate a higher-order callable which " @@ -2091,13 +2090,13 @@ msgid "" "`ParamSpec` parameters. The last parameter to ``Concatenate`` must be a :" "class:`ParamSpec` or ellipsis (``...``)." msgstr "" -"``Concatenate`` 可以被用在\\ :ref:`可呼叫物件 `\\ 與 :" -"class:`ParamSpec` 的接合 (conjunction) 並註釋一個高階的 Callable 物件可以新" -"增、移除、轉換另一個 Callable 物件的參數。使用方法是依照這個格式 " +"``Concatenate`` 可以被用在\\ :ref:`可呼叫物件 `\\ 與" +"\\ :class:`ParamSpec` 的接合 (conjunction) 並註釋一個高階的 Callable 物件可以" +"新增、移除、轉換另一個 Callable 物件的參數。使用方法是依照這個格式 " "``Concatenate[Arg1Type, Arg2Type, ..., ParamSpecVariable]``。``Concatenate`` " -"目前只在 :ref:`Callable 物件 `\\ 中第一個引數使用時有" -"效。``Concatenate`` 的最後一個參數必須為一個 :class:`ParamSpec` 或是刪節號 " -"(``...``)。" +"可用於\\ :ref:`Callable `\\ 型別提示中,也可在使用\\ :" +"class:`ParamSpec` 參數實例化使用者自訂泛型類別時使用。``Concatenate`` 的最後" +"一個參數必須為一個\\ :class:`ParamSpec` 或是刪節號 (``...``)。" #: ../../library/typing.rst:1182 msgid "" @@ -5447,13 +5446,12 @@ msgid "" msgstr "" #: ../../library/typing.rst:3408 -#, fuzzy msgid "" "Added the ``format`` parameter. See the documentation on :func:" "`annotationlib.get_annotations` for more information." msgstr "" -"新增 ``include_extras`` 參數(如 :pep:`593` 中所述)。更多資訊請見 :data:" -"`Annotated` 的文件。" +"新增 ``format`` 參數。更多資訊請見\\ :func:`annotationlib.get_annotations` 的" +"文件。" #: ../../library/typing.rst:3412 msgid "" diff --git a/using/android.po b/using/android.po index 36daa74894..699cd6f508 100644 --- a/using/android.po +++ b/using/android.po @@ -79,9 +79,8 @@ msgstr "" "驗:" #: ../../using/android.rst:33 -#, fuzzy msgid "`Briefcase `__, from the BeeWare project" -msgstr "`Briefcase `__,由 BeeWare 專案提供" +msgstr "`Briefcase `__,由 BeeWare 專案提供" #: ../../using/android.rst:34 msgid "`Buildozer `__, from the Kivy project" From cc149aeb7ce310d501d57ccb059df17eb500a2b0 Mon Sep 17 00:00:00 2001 From: "W. H. Wang" Date: Sun, 26 Apr 2026 12:05:18 +0800 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: W. H. Wang --- library/typing.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/typing.po b/library/typing.po index 1d92e91fcd..668f104ff8 100644 --- a/library/typing.po +++ b/library/typing.po @@ -2091,12 +2091,12 @@ msgid "" "class:`ParamSpec` or ellipsis (``...``)." msgstr "" "``Concatenate`` 可以被用在\\ :ref:`可呼叫物件 `\\ 與" -"\\ :class:`ParamSpec` 的接合 (conjunction) 並註釋一個高階的 Callable 物件可以" +" :class:`ParamSpec` 的接合 (conjunction) 並註釋一個高階的 Callable 物件可以" "新增、移除、轉換另一個 Callable 物件的參數。使用方法是依照這個格式 " "``Concatenate[Arg1Type, Arg2Type, ..., ParamSpecVariable]``。``Concatenate`` " -"可用於\\ :ref:`Callable `\\ 型別提示中,也可在使用\\ :" +"可用於 :ref:`Callable ` 型別提示中,也可在使用 :" "class:`ParamSpec` 參數實例化使用者自訂泛型類別時使用。``Concatenate`` 的最後" -"一個參數必須為一個\\ :class:`ParamSpec` 或是刪節號 (``...``)。" +"一個參數必須為一個 :class:`ParamSpec` 或是刪節號 (``...``)。" #: ../../library/typing.rst:1182 msgid "" @@ -5450,7 +5450,7 @@ msgid "" "Added the ``format`` parameter. See the documentation on :func:" "`annotationlib.get_annotations` for more information." msgstr "" -"新增 ``format`` 參數。更多資訊請見\\ :func:`annotationlib.get_annotations` 的" +"新增 ``format`` 參數。更多資訊請見 :func:`annotationlib.get_annotations` 的" "文件。" #: ../../library/typing.rst:3412