From 0c77425477a98ce9cc491b7d632a72a1e07b0bf1 Mon Sep 17 00:00:00 2001 From: ShuoBin <61862141+10622130@users.noreply.github.com> Date: Sat, 31 Jan 2026 16:40:53 +0800 Subject: [PATCH 1/3] Working on libray/stdtype --- library/stdtypes.po | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/library/stdtypes.po b/library/stdtypes.po index 4275be44cc..500a93eaab 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -438,7 +438,7 @@ msgstr "" msgid "" "A comparison between numbers of different types behaves as though the exact " "values of those numbers were being compared. [2]_" -msgstr "" +msgstr "儘管數值之間的型別不同只要確切數值相同基本上比較就會成立 [2]_" #: ../../library/stdtypes.rst:280 msgid "" @@ -9318,7 +9318,7 @@ msgstr "" #: ../../library/stdtypes.rst:6332 msgid "Integer string conversion length limitation" -msgstr "" +msgstr "整數字串轉換長度限制" #: ../../library/stdtypes.rst:6334 msgid "" @@ -9327,6 +9327,9 @@ msgid "" "decimal or other non-power-of-two number bases. Hexadecimal, octal, and " "binary conversions are unlimited. The limit can be configured." msgstr "" +"CPython 針對在 :class:`int` 與 :class:`str` 之間轉換時設有一個全域限制," +"用於降低DoS攻擊的風險。且這個限制只適用於十進位或非二進制的數值。" +"十六進位,八進位,還有二進位的轉換則沒有長度限制。此限制值可以被設定與調整。" #: ../../library/stdtypes.rst:6339 msgid "" From f9a9de8d445d6096e93ed90eb31e81430052c007 Mon Sep 17 00:00:00 2001 From: Steven <61862141+10622130@users.noreply.github.com> Date: Wed, 11 Feb 2026 10:34:02 +0800 Subject: [PATCH 2/3] Update library/stdtypes.po Co-authored-by: W. H. Wang --- library/stdtypes.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/stdtypes.po b/library/stdtypes.po index 500a93eaab..53002f2a4c 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -438,7 +438,7 @@ msgstr "" msgid "" "A comparison between numbers of different types behaves as though the exact " "values of those numbers were being compared. [2]_" -msgstr "儘管數值之間的型別不同只要確切數值相同基本上比較就會成立 [2]_" +msgstr "不同型別的數值之間進行比較時,其行為就像是在比較這些數值的實際值 [2]_" #: ../../library/stdtypes.rst:280 msgid "" From d2ec12e5e0cfcb74a56b28b21a6b2cc5b3125c55 Mon Sep 17 00:00:00 2001 From: Steven <61862141+10622130@users.noreply.github.com> Date: Wed, 11 Feb 2026 10:35:00 +0800 Subject: [PATCH 3/3] Update library/stdtypes.po Co-authored-by: W. H. Wang --- library/stdtypes.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/stdtypes.po b/library/stdtypes.po index 53002f2a4c..37d95406e4 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -9328,8 +9328,8 @@ msgid "" "binary conversions are unlimited. The limit can be configured." msgstr "" "CPython 針對在 :class:`int` 與 :class:`str` 之間轉換時設有一個全域限制," -"用於降低DoS攻擊的風險。且這個限制只適用於十進位或非二進制的數值。" -"十六進位,八進位,還有二進位的轉換則沒有長度限制。此限制值可以被設定與調整。" +"用於降低阻斷服務 (DoS) 攻擊的風險。這個限制\\* 只\\* 適用於十進位其他非 2 的冪次進位的數值。" +"十六進位、八進位,還有二進位的轉換則沒有長度限制。此限制值可以被調整。" #: ../../library/stdtypes.rst:6339 msgid ""