Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b78f43

Browse files
authored
Merge branch '3.12' into cron/sync/3.12
2 parents c336a3d + e7674ce commit 6b78f43

File tree

6 files changed

+86
-63
lines changed

6 files changed

+86
-63
lines changed

library/asyncio-runner.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ msgid ""
5151
"This function runs the passed coroutine, taking care of managing the asyncio "
5252
"event loop, *finalizing asynchronous generators*, and closing the executor."
5353
msgstr ""
54-
"這個函式負責運行被傳入的協程、管理 asyncio 的事件迴圈、*終結非同步產生器*,以及關閉執行器。"
54+
"這個函式負責運行被傳入的協程、管理 asyncio 的事件迴圈、*終結非同步產生器*,以"
55+
"及關閉執行器。"
5556

5657
#: ../../library/asyncio-runner.rst:33 ../../library/asyncio-runner.rst:113
5758
msgid ""

library/ssl.po

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
99
"POT-Creation-Date: 2024-02-18 00:03+0000\n"
10-
"PO-Revision-Date: 2024-01-09 10:47+0800\n"
10+
"PO-Revision-Date: 2024-01-15 15:49+0800\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1313
"tw)\n"
@@ -780,24 +780,31 @@ msgid ""
780780
"possible to trust certificates issued by an intermediate CA without having "
781781
"to trust its ancestor root CA."
782782
msgstr ""
783+
":attr:`SSLContext.verify_flags` 可能的值。它指示 OpenSSL 接受信任存儲中的中"
784+
"間 CAs 作為信任錨,就像自簽名的根 CA 憑證。這樣就能去信任中間 CA 所頒發的憑"
785+
"證,而不一定非要去信任其祖先的根 CA。"
783786

784787
#: ../../library/ssl.rst:573
785788
msgid ":class:`enum.IntFlag` collection of VERIFY_* constants."
786-
msgstr ""
789+
msgstr ":class:`enum.IntFlag` 為 VERIFY_* 常數的其中一個集合。"
787790

788791
#: ../../library/ssl.rst:579
789792
msgid ""
790793
"Selects the highest protocol version that both the client and server "
791794
"support. Despite the name, this option can select both \"SSL\" and \"TLS\" "
792795
"protocols."
793796
msgstr ""
797+
"選擇客戶端及伺服器均可以支援最高協定版本。儘管名稱只有 「TLS」,但實際上"
798+
"「SSL」和「TLS」均可以選擇。"
794799

795800
#: ../../library/ssl.rst:586
796801
msgid ""
797802
"TLS clients and servers require different default settings for secure "
798803
"communication. The generic TLS protocol constant is deprecated in favor of :"
799804
"data:`PROTOCOL_TLS_CLIENT` and :data:`PROTOCOL_TLS_SERVER`."
800805
msgstr ""
806+
"TLS 的客戶端及伺服器端需要不同的預設值來實現安全通訊。通用的 TLS 協定常數已被"
807+
"廢除,並改用 :data:`PROTOCOL_TLS_CLIENT` 和 :data:`PROTOCOL_TLS_SERVER`。"
801808

802809
#: ../../library/ssl.rst:592
803810
msgid ""
@@ -806,12 +813,14 @@ msgid ""
806813
"enables :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` by "
807814
"default."
808815
msgstr ""
816+
"自動協商客戶端和服務器都支援的最高協議版本,並配置客戶端語境連線。該協定預設"
817+
"啟用 :data:`CERT_REQUIRED` 和 :attr:`~SSLContext.check_hostname`。"
809818

810819
#: ../../library/ssl.rst:601
811820
msgid ""
812821
"Auto-negotiate the highest protocol version that both the client and server "
813822
"support, and configure the context server-side connections."
814-
msgstr ""
823+
msgstr "自動協商客戶端和服務器都支援的最高協議版本,並配置客戶端語境連線。"
815824

816825
#: ../../library/ssl.rst:608
817826
msgid "Alias for :data:`PROTOCOL_TLS`."

library/string.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ msgid ""
101101
"This includes the characters space, tab, linefeed, return, formfeed, and "
102102
"vertical tab."
103103
msgstr ""
104-
"包含所有 ASCII 字元的字串都視為空白字元 (whitespace)。 包含空格 (space)、製表符號 (tab)、換行符號"
105-
" (linefeed)、return、換頁符號 (formfeed) 和垂直製表符號 (vertical tab) 這些"
106-
"字元。"
104+
"包含所有 ASCII 字元的字串都視為空白字元 (whitespace)。 包含空格 (space)、製表"
105+
"符號 (tab)、換行符號 (linefeed)、return、換頁符號 (formfeed) 和垂直製表符號 "
106+
"(vertical tab) 這些字元。"
107107

108108
#: ../../library/string.rst:79
109109
msgid "Custom String Formatting"

library/tkinter.colorchooser.po

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6-
#, fuzzy
76
msgid ""
87
msgstr ""
98
"Project-Id-Version: Python 3.12\n"
109
"Report-Msgid-Bugs-To: \n"
1110
"POT-Creation-Date: 2021-09-13 00:11+0000\n"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
11+
"PO-Revision-Date: 2024-02-15 12:16+0800\n"
12+
"Last-Translator: Li-Hung Wang <[email protected]>\n"
1413
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1514
"tw)\n"
1615
"Language: zh_TW\n"
1716
"MIME-Version: 1.0\n"
1817
"Content-Type: text/plain; charset=UTF-8\n"
1918
"Content-Transfer-Encoding: 8bit\n"
19+
"X-Generator: Poedit 3.4\n"
2020

2121
#: ../../library/tkinter.colorchooser.rst:2
2222
msgid ":mod:`tkinter.colorchooser` --- Color choosing dialog"
23-
msgstr ""
23+
msgstr ":mod:`tkinter.colorchooser` --- 顏色選擇對話框"
2424

2525
#: ../../library/tkinter.colorchooser.rst:8
2626
msgid "**Source code:** :source:`Lib/tkinter/colorchooser.py`"
@@ -33,18 +33,23 @@ msgid ""
3333
"modal color choosing dialog window. The ``Chooser`` class inherits from the :"
3434
"class:`~tkinter.commondialog.Dialog` class."
3535
msgstr ""
36+
":mod:`tkinter.colorchooser` 模組提供類別 :class:`Chooser` 當作與原生顏色選擇"
37+
"器對話框的介面。``Chooser`` 實作了一個顏色選擇的互動視窗。類別 ``Chooser`` 繼"
38+
"承了類別 :class:`~tkinter.commondialog.Dialog`。"
3639

3740
#: ../../library/tkinter.colorchooser.rst:21
3841
msgid ""
3942
"Create a color choosing dialog. A call to this method will show the window, "
4043
"wait for the user to make a selection, and return the selected color (or "
4144
"``None``) to the caller."
4245
msgstr ""
46+
"建立一個顏色選擇對話框。一旦呼叫這個方法便會顯示視窗,等待使用者做出選擇後,"
47+
"回傳選擇的顏色(或者是 ``None``)給呼叫者。"
4348

4449
#: ../../library/tkinter.colorchooser.rst:28
4550
msgid "Module :mod:`tkinter.commondialog`"
4651
msgstr ":mod:`tkinter.commondialog` 模組"
4752

4853
#: ../../library/tkinter.colorchooser.rst:29
4954
msgid "Tkinter standard dialog module"
50-
msgstr ""
55+
msgstr "Tkinter 標準對話框模組"

library/tkinter.font.po

Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@ msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
11-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
11+
"PO-Revision-Date: 2024-02-15 23:09+0800\n"
12+
"Last-Translator: RockLeon <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
1515
"Language: zh_TW\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
19+
"X-Generator: Poedit 3.4.2\n"
1920

2021
#: ../../library/tkinter.font.rst:2
2122
msgid ":mod:`tkinter.font` --- Tkinter font wrapper"
22-
msgstr ""
23+
msgstr ":mod:`tkinter.font` --- Tkinter 字型包裝器"
2324

2425
#: ../../library/tkinter.font.rst:8
2526
msgid "**Source code:** :source:`Lib/tkinter/font.py`"
@@ -30,10 +31,11 @@ msgid ""
3031
"The :mod:`tkinter.font` module provides the :class:`Font` class for creating "
3132
"and using named fonts."
3233
msgstr ""
34+
":mod:`tkinter.font` 模組提供類別 :class:`Font`,可以建立及使用已命名的字型。"
3335

3436
#: ../../library/tkinter.font.rst:15
3537
msgid "The different font weights and slants are:"
36-
msgstr ""
38+
msgstr "不同的字重 (font weights) 以及傾斜 (slant) 是:"
3739

3840
#: ../../library/tkinter.font.rst:24
3941
msgid ""
@@ -43,125 +45,130 @@ msgid ""
4345
"as a single object, rather than specifying a font by its attributes with "
4446
"each occurrence."
4547
msgstr ""
48+
"類別 :class:`Font` 代表一個已命名字型。*Font* 實例會被賦予一個的名字,也可以"
49+
"特指他們的字型家族 (font family)、字級 (size)、以及外觀設定。已命名字型是 Tk "
50+
"建立及辨識字型為單一物件的方式,而不是每次出現時特指字型的屬性。"
4651

4752
#: ../../library/tkinter.font.rst:30
4853
msgid "arguments:"
4954
msgstr "引數:"
5055

5156
#: ../../library/tkinter.font.rst:0
5257
msgid "*font* - font specifier tuple (family, size, options)"
53-
msgstr ""
58+
msgstr "*font* - 字型指定符號元組 (family, size, options)"
5459

5560
#: ../../library/tkinter.font.rst:0
5661
msgid "*name* - unique font name"
57-
msgstr ""
62+
msgstr "*name* - 獨特字型名稱"
5863

5964
#: ../../library/tkinter.font.rst:0
6065
msgid "*exists* - self points to existing named font if true"
61-
msgstr ""
66+
msgstr "*exists* - 如果存在的話,指向現有的已命名字型"
6267

6368
#: ../../library/tkinter.font.rst:36
6469
msgid "additional keyword options (ignored if *font* is specified):"
65-
msgstr ""
70+
msgstr "額外的關鍵字選項(若已指定 *font* 則會忽略):"
6671

6772
#: ../../library/tkinter.font.rst:0
6873
msgid "*family* - font family i.e. Courier, Times"
69-
msgstr ""
74+
msgstr "*family* - 字型家族,例如:Courier、Times"
7075

7176
#: ../../library/tkinter.font.rst:0
7277
msgid "*size* - font size"
73-
msgstr ""
78+
msgstr "*size* - 字級"
7479

7580
#: ../../library/tkinter.font.rst:0
7681
msgid "If *size* is positive it is interpreted as size in points."
77-
msgstr ""
82+
msgstr "如果 *size* 是正數則會直譯成以點 (point) 為單位的字級。"
7883

7984
#: ../../library/tkinter.font.rst:0
8085
msgid "If *size* is a negative number its absolute value is treated"
81-
msgstr ""
86+
msgstr "如果 *size* 是負數則會變成絕對值"
8287

8388
#: ../../library/tkinter.font.rst:0
8489
msgid "as size in pixels."
85-
msgstr ""
90+
msgstr "以像素 (pixel) 為單位的字級。"
8691

8792
#: ../../library/tkinter.font.rst:0
8893
msgid "*weight* - font emphasis (NORMAL, BOLD)"
89-
msgstr ""
94+
msgstr "*weight* - 強調字型,例如:NORMAL(標準體)、BOLD(粗體)"
9095

9196
#: ../../library/tkinter.font.rst:0
9297
msgid "*slant* - ROMAN, ITALIC"
93-
msgstr ""
98+
msgstr "*slant* - 例如:ROMAN(正體)、ITALIC(斜體)"
9499

95100
#: ../../library/tkinter.font.rst:0
96101
msgid "*underline* - font underlining (0 - none, 1 - underline)"
97-
msgstr ""
102+
msgstr "*underline* - 字型加上底線(0 - 無底線、 1 - 加上底線)"
98103

99104
#: ../../library/tkinter.font.rst:0
100105
msgid "*overstrike* - font strikeout (0 - none, 1 - strikeout)"
101-
msgstr ""
106+
msgstr "*overstrike* - 字型加上刪除線(0 - 無刪除線、 1 - 加上刪除線)"
102107

103108
#: ../../library/tkinter.font.rst:50
104109
msgid "Return the attributes of the font."
105-
msgstr ""
110+
msgstr "回傳字型的屬性。"
106111

107112
#: ../../library/tkinter.font.rst:54
108113
msgid "Retrieve an attribute of the font."
109-
msgstr ""
114+
msgstr "取得字型的其中一個屬性。"
110115

111116
#: ../../library/tkinter.font.rst:58
112117
msgid "Modify attributes of the font."
113-
msgstr ""
118+
msgstr "修改字體的多個屬性。"
114119

115120
#: ../../library/tkinter.font.rst:62
116121
msgid "Return new instance of the current font."
117-
msgstr ""
122+
msgstr "回傳目前字體的新實例。"
118123

119124
#: ../../library/tkinter.font.rst:66
120125
msgid ""
121126
"Return amount of space the text would occupy on the specified display when "
122127
"formatted in the current font. If no display is specified then the main "
123128
"application window is assumed."
124129
msgstr ""
130+
"回傳目前字型被格式化時,在特定顯示區域中文字所用的空間。若顯示區域沒有被指"
131+
"定,則會假定主程式視窗為顯示區域。"
125132

126133
#: ../../library/tkinter.font.rst:72
127134
msgid "Return font-specific data. Options include:"
128-
msgstr ""
135+
msgstr "回傳字型特定的資料。其選項包含:"
129136

130137
#: ../../library/tkinter.font.rst:76
131138
msgid "*ascent* - distance between baseline and highest point that a"
132-
msgstr ""
139+
msgstr "*ascent* - 基準線以及最高點的距離"
133140

134141
#: ../../library/tkinter.font.rst:76 ../../library/tkinter.font.rst:79
135142
msgid "character of the font can occupy"
136-
msgstr ""
143+
msgstr "在字型中的一個字母可以佔用的空間"
137144

138145
#: ../../library/tkinter.font.rst:79
139146
msgid "*descent* - distance between baseline and lowest point that a"
140-
msgstr ""
147+
msgstr "*descent* - 基準線以及最低點的距離"
141148

142149
#: ../../library/tkinter.font.rst:82
143150
msgid "*linespace* - minimum vertical separation necessary between any two"
144-
msgstr ""
151+
msgstr "*linespace* - 最小所需的垂直間距"
145152

146153
#: ../../library/tkinter.font.rst:82
147154
msgid "characters of the font that ensures no vertical overlap between lines."
148-
msgstr ""
155+
msgstr "在字型中的任兩個字母之間,確保跨行時不會有垂直重疊。"
149156

150157
#: ../../library/tkinter.font.rst:84
151158
msgid "*fixed* - 1 if font is fixed-width else 0"
152-
msgstr ""
159+
msgstr "*fixed* - 若字型為等寬 (fixed-width) 的則為 1,否則為 0"
153160

154161
#: ../../library/tkinter.font.rst:88
155162
msgid "Return the different font families."
156-
msgstr ""
163+
msgstr "回傳不同的字型家族。"
157164

158165
#: ../../library/tkinter.font.rst:92
159166
msgid "Return the names of defined fonts."
160-
msgstr ""
167+
msgstr "回傳已定義字型的名字。"
161168

162169
#: ../../library/tkinter.font.rst:96
163170
msgid "Return a :class:`Font` representation of a tk named font."
164-
msgstr ""
171+
msgstr "回傳一個 :class:`Font`,代表一個 tk 已命名字型。"
165172

166173
#: ../../library/tkinter.font.rst:98
167174
msgid "The *root* parameter was added."

0 commit comments

Comments
 (0)