Skip to content

Commit 2ebd2b9

Browse files
authored
Translate library/tk.po (#425)
* feat: translate library/tk.po * chore(scripts): update poetry lock
1 parent 83687cb commit 2ebd2b9

File tree

2 files changed

+27
-31
lines changed

2 files changed

+27
-31
lines changed

.scripts/poetry.lock

+9-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

library/tk.po

+18-6
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2022, Python Software Foundation
1+
# Copyright (C) 2001-2023, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
#
54
# Translators:
65
# Leon H., 2017
6+
# Matt Wang <[email protected]>, 2023
77
msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
12-
"PO-Revision-Date: 2017-09-22 18:27+0000\n"
13-
"Last-Translator: Leon H.\n"
12+
"PO-Revision-Date: 2023-06-24 17:09+0800\n"
13+
"Last-Translator: Matt Wang <[email protected]>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1515
"tw)\n"
1616
"Language: zh_TW\n"
1717
"MIME-Version: 1.0\n"
1818
"Content-Type: text/plain; charset=UTF-8\n"
1919
"Content-Transfer-Encoding: 8bit\n"
2020
"Plural-Forms: nplurals=1; plural=0;\n"
21+
"X-Generator: Poedit 3.3.1\n"
2122

2223
#: ../../library/tk.rst:5
2324
msgid "Graphical User Interfaces with Tk"
24-
msgstr "以 Tk 打造 GUI"
25+
msgstr "以 Tk 打造圖形使用者介面 (Graphical User Interfaces)"
2526

2627
#: ../../library/tk.rst:13
2728
msgid ""
@@ -30,6 +31,9 @@ msgid ""
3031
"programmers using the :mod:`tkinter` package, and its extension, the :mod:"
3132
"`tkinter.tix` and the :mod:`tkinter.ttk` modules."
3233
msgstr ""
34+
"Tk/Tcl 長期以來一直是 Python 不可或缺的一部分。它提供了一個強大且獨立於平台的"
35+
"視窗工具包,可供使用 :mod:`tkinter` 套件及其擴充套件 :mod:`tkinter.tix` 和 :"
36+
"mod:`tkinter.ttk` 模組的 Python 開發者使用。"
3337

3438
#: ../../library/tk.rst:18
3539
msgid ""
@@ -39,6 +43,9 @@ msgid ""
3943
"mod:`tkinter` is a set of wrappers that implement the Tk widgets as Python "
4044
"classes."
4145
msgstr ""
46+
":mod:`tkinter` 套件是 Tcl/Tk 之上的一個輕薄物件導向層。要使用 :mod:"
47+
"`tkinter`,你不需要編寫 Tcl 程式,但會需要查閱 Tk 文件和部份 Tcl 文件。:mod:"
48+
"`tkinter` 是一組將 Tk 小工具 (widget) 實作為 Python 類別的包裝器。"
4249

4350
#: ../../library/tk.rst:24
4451
msgid ""
@@ -51,14 +58,19 @@ msgid ""
5158
"alternative `GUI frameworks and tools <https://wiki.python.org/moin/"
5259
"GuiProgramming>`_."
5360
msgstr ""
61+
":mod:`tkinter` 的主要優點是速度快,而且通常與 Python 捆綁 (bundle) 在一起。儘"
62+
"管其標准文件不是很完整,但還是有些不錯的材料,包括:參考資料、教學、書籍等。:"
63+
"mod:`tkinter` 曾因其過時的外觀而眾所皆知,但這在 Tk 8.5 中得到了極大的改進。"
64+
"此外,還有許多其他你可能會感興趣的 GUI 函式庫。Python wiki 列出了幾個替代的 "
65+
"`GUI 框架和工具 <https://wiki.python.org/moin/GuiProgramming>`_。"
5466

5567
#: ../../library/tk.rst:7
5668
msgid "GUI"
5769
msgstr "GUI"
5870

5971
#: ../../library/tk.rst:7
6072
msgid "Graphical User Interface"
61-
msgstr "圖形使用者介面"
73+
msgstr "Graphical User Interface(圖形使用者介面"
6274

6375
#: ../../library/tk.rst:7
6476
msgid "Tkinter"

0 commit comments

Comments
 (0)