Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd316efb

Browse files
committed
fix:enum translation枚舉 ->列舉
1 parent0f089d9 commitd316efb

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

‎library/collections.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ msgid ""
613613
"To enumerate all distinct multisets of a given size over a given set of "
614614
"elements, see :func:`itertools.combinations_with_replacement`::"
615615
msgstr""
616-
"若要根據給定的元素集合來枚舉出所有不重複且擁有指定元素數量的 multiset,請見 :"
616+
"若要根據給定的元素集合來列舉出所有不重複且擁有指定元素數量的 multiset,請見 :"
617617
"func:`itertools.combinations_with_replacement`\\ :\n"
618618
"\n"
619619
"::"

‎library/datatypes.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ msgid ""
3030
msgstr""
3131
"本章節所描述的模組 (module) 提供了多樣的專門資料型別,例如日期與時間、固定型"
3232
"別陣列 (fixed-type arrays)、堆積佇列 (heap queues)、雙端佇列 (double-ended "
33-
"queues)與枚舉 (enumerations)。"
33+
"queues)與列舉 (enumerations)。"
3434

3535
#:../../library/datatypes.rst:11
3636
msgid""

‎library/http.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ msgstr "狀態碼"
100100

101101
#:../../library/http.rst:60../../library/http.rst:179
102102
msgid"Enum Name"
103-
msgstr"枚舉名稱"
103+
msgstr"列舉名稱"
104104

105105
#:../../library/http.rst:60../../library/http.rst:179
106106
msgid"Details"
@@ -854,7 +854,7 @@ msgid ""
854854
"equal to the constant name (i.e. ``http.HTTPStatus.OK`` is also available as "
855855
"``http.client.OK``)."
856856
msgstr""
857-
"為了向後相容性,枚舉值也以常數形式出現在 :mod:`http.client` 模組中。枚舉名稱"
857+
"為了向後相容性,列舉值也以常數形式出現在 :mod:`http.client` 模組中。列舉名稱"
858858
"等於常數名稱(例如 ``http.HTTPStatus.OK`` 也可以是 ``http.client.OK``)。"
859859

860860
#:../../library/http.rst:131

‎whatsnew/3.11.po

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ msgstr ""
974974
msgid""
975975
"Added :class:`~enum.StrEnum`, with members that can be used as (and must be) "
976976
"strings."
977-
msgstr"增加 :class:`~enum.StrEnum`,枚舉 (enum) 內的成員必須是字串。"
977+
msgstr"增加 :class:`~enum.StrEnum`,列舉 (enum) 內的成員必須是字串。"
978978

979979
#:../../whatsnew/3.11.rst:665
980980
msgid""
@@ -998,34 +998,34 @@ msgid ""
998998
msgstr""
999999
"改變了 :meth:`Enum.__format__() <enum.Enum.__format__>` (被 :func:"
10001000
"`format`、:meth:`str.format` 和 :term:`f-string` 預設使用),以使其與 :meth:"
1001-
"`enum.Enum.__str__` 產生相同結果:對於繼承自 :class:`~enum.ReprEnum`的枚舉,"
1002-
"這會是成員之值;而其他的枚舉會是枚舉與成員名稱(例如 ``Color.RED``)。"
1001+
"`enum.Enum.__str__` 產生相同結果:對於繼承自 :class:`~enum.ReprEnum`的列舉,"
1002+
"這會是成員之值;而其他的列舉會是列舉與成員名稱(例如 ``Color.RED``)。"
10031003

10041004
#:../../whatsnew/3.11.rst:677
10051005
msgid""
10061006
"Added a new *boundary* class parameter to :class:`~enum.Flag` enums and the :"
10071007
"class:`~enum.FlagBoundary` enum with its options, to control how to handle "
10081008
"out-of-range flag values."
10091009
msgstr""
1010-
"新增 *boundary* 類別參數與其選項到 :class:`~enum.Flag`枚舉和 :class:`~enum."
1011-
"FlagBoundary`枚舉以控制處理超出範圍旗標數值的方法。"
1010+
"新增 *boundary* 類別參數與其選項到 :class:`~enum.Flag`列舉和 :class:`~enum."
1011+
"FlagBoundary`列舉以控制處理超出範圍旗標數值的方法。"
10121012

10131013
#:../../whatsnew/3.11.rst:681
10141014
msgid""
10151015
"Added the :func:`~enum.verify` enum decorator and the :class:`~enum."
10161016
"EnumCheck` enum with its options, to check enum classes against several "
10171017
"specific constraints."
10181018
msgstr""
1019-
"新增了 :func:`~enum.verify`枚舉裝飾器和 :class:`~enum.EnumCheck`枚舉及其選"
1020-
"項,以根據幾個特定限制檢查枚舉類別。"
1019+
"新增了 :func:`~enum.verify`列舉裝飾器和 :class:`~enum.EnumCheck`列舉及其選"
1020+
"項,以根據幾個特定限制檢查列舉類別。"
10211021

10221022
#:../../whatsnew/3.11.rst:685
10231023
msgid""
10241024
"Added the :func:`~enum.member` and :func:`~enum.nonmember` decorators, to "
10251025
"ensure the decorated object is/is not converted to an enum member."
10261026
msgstr""
10271027
"新增 :func:`~enum.member` 與 :func:`~enum.nonmember` 裝飾器以確保被裝飾的物件"
1028-
"會/不會被轉換成一個枚舉成員。"
1028+
"會/不會被轉換成一個列舉成員。"
10291029

10301030
#:../../whatsnew/3.11.rst:688
10311031
msgid""
@@ -1034,7 +1034,7 @@ msgid ""
10341034
"DynamicClassAttribute`."
10351035
msgstr""
10361036
"新增 :func:`~enum.property` 裝飾器,它的作用類似 :func:`property` 但是是用於"
1037-
"枚舉,用以替代 :func:`types.DynamicClassAttribute`。"
1037+
"列舉,用以替代 :func:`types.DynamicClassAttribute`。"
10381038

10391039
#:../../whatsnew/3.11.rst:692
10401040
msgid""
@@ -1044,8 +1044,8 @@ msgid ""
10441044
"the :data:`~re.ASCII` member of :class:`re.RegexFlag` rather than "
10451045
"``'RegexFlag.ASCII'``."
10461046
msgstr""
1047-
"新增 :func:`~enum.global_enum`枚舉裝飾器,用來調整 :meth:`~object.__repr__` "
1048-
"和 :meth:`~object.__str__`以模組成員形式而非枚舉類別來顯示值。例如,:class:"
1047+
"新增 :func:`~enum.global_enum`列舉裝飾器,用來調整 :meth:`~object.__repr__` "
1048+
"和 :meth:`~object.__str__`以模組成員形式而非列舉類別來顯示值。例如,:class:"
10491049
"`re.RegexFlag` 的 :data:`~re.ASCII` 成員的 ``'re.ASCII'``,而非 ``'RegexFlag."
10501050
"ASCII'``。"
10511051

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp