Skip to content

Translate faq/gui.po #292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 6, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 41 additions & 9 deletions faq/gui.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,38 @@
#
# Translators:
# Ching-Lung Chuang, 2015
# Steven Hsu, 2022
msgid ""
msgstr ""
"Project-Id-Version: Python 3.10\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-24 00:11+0000\n"
"PO-Revision-Date: 2018-05-23 14:35+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"PO-Revision-Date: 2022-07-02 17:41+0800\n"
"Last-Translator: Steven Hsu <hsuhaochun@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.1\n"

#: ../../faq/gui.rst:5
msgid "Graphic User Interface FAQ"
msgstr "圖形化使用者界面常見問答集"
msgstr "圖形使用者介面常見問答集"

#: ../../faq/gui.rst:8
msgid "Contents"
msgstr "目錄"

#: ../../faq/gui.rst:15
msgid "General GUI Questions"
msgstr "常見圖形化使用者界面(GUI) 問題"
msgstr "一般的圖形使用者介面 (GUI) 問題"

#: ../../faq/gui.rst:18
msgid "What GUI toolkits exist for Python?"
msgstr ""
msgstr "Python 有哪些 GUI 套件?"

#: ../../faq/gui.rst:20
msgid ""
Expand All @@ -44,6 +46,12 @@ msgid ""
"including pointers to the source, see the `Tcl/Tk home page <https://www.tcl."
"tk>`_. Tcl/Tk is fully portable to the macOS, Windows, and Unix platforms."
msgstr ""
"Python 的標準版本會包含一個 Tcl/Tk 小工具集 (widget set) 的物件導向介面,稱"
"為 :ref:`tkinter <Tkinter>`。這可能是最容易安裝(因為它已包含在 Python 的大多"
"數\\ `二進位發行版本 <https://www.python.org/downloads/>`_\\ 中)和使用的。有"
"關 Tk 的詳細資訊(包含指向原始碼的指標),請參閱 `Tcl/Tk 首頁 <https://www."
"tcl.tk>`_\\ 。Tcl/Tk 在 macOS、Windows 和 Unix 平台上是完全可攜 (portable) "
"的。"

#: ../../faq/gui.rst:28
msgid ""
Expand All @@ -53,28 +61,36 @@ msgid ""
"wiki.python.org/moin/GuiProgramming#Platform-specific_Frameworks>`_ GUI "
"frameworks can be found on the python wiki."
msgstr ""
"根據你要使用的平台,還有其他幾種選擇。在 python wiki 上可以找到一份\\ `跨平台"
"的 <https://wiki.python.org/moin/GuiProgramming#Cross-Platform_Frameworks>`_"
"\\ 以及\\ `各平台專屬的 <https://wiki.python.org/moin/"
"GuiProgramming#Platform-specific_Frameworks>`_ GUI 框架清單。"

#: ../../faq/gui.rst:36
msgid "Tkinter questions"
msgstr ""
msgstr "Tkinter 的問答"

#: ../../faq/gui.rst:39
msgid "How do I freeze Tkinter applications?"
msgstr ""
msgstr "如何凍結 Tkinter 應用程式?"

#: ../../faq/gui.rst:41
msgid ""
"Freeze is a tool to create stand-alone applications. When freezing Tkinter "
"applications, the applications will not be truly stand-alone, as the "
"application will still need the Tcl and Tk libraries."
msgstr ""
"凍結 (freeze) 是一個能建立獨立應用程式的工具。在凍結 Tkinter 應用程式時,該應"
"用程式不是真正的獨立,因為該應用程式仍然需要 Tcl 和 Tk 函式庫。"

#: ../../faq/gui.rst:45
msgid ""
"One solution is to ship the application with the Tcl and Tk libraries, and "
"point to them at run-time using the :envvar:`TCL_LIBRARY` and :envvar:"
"`TK_LIBRARY` environment variables."
msgstr ""
"一種解決方法,是將應用程式與 Tcl 和 Tk 函式庫一起提供,並在運行時使用 :"
"envvar:`TCL_LIBRARY` 和 :envvar:`TK_LIBRARY` 環境變數來指向該函式庫。"

#: ../../faq/gui.rst:49
msgid ""
Expand All @@ -83,17 +99,23 @@ msgid ""
"is SAM (stand-alone modules), which is part of the Tix distribution (http://"
"tix.sourceforge.net/)."
msgstr ""
"要得到真正獨立的應用程式,必須將構成函式庫的 Tcl 腳本也整合到應用程式中。一個"
"可支援該方法的工具是 SAM(stand-alone modules,獨立模組),它是 Tix 發行版的"
"一部分 (http://tix.sourceforge.net/)。"

#: ../../faq/gui.rst:54
msgid ""
"Build Tix with SAM enabled, perform the appropriate call to :c:func:"
"`Tclsam_init`, etc. inside Python's :file:`Modules/tkappinit.c`, and link "
"with libtclsam and libtksam (you might include the Tix libraries as well)."
msgstr ""
"請在 SAM 被啟用的情況下建置 Tix,對 Python 的 :file:`Modules/tkappinit.c` 中"
"的 :c:func:`Tclsam_init` 等函式執行適當的呼叫,並與 libtclsam 和 libtksam 連"
"結(你可能也會 include Tix 函式庫)。"

#: ../../faq/gui.rst:61
msgid "Can I have Tk events handled while waiting for I/O?"
msgstr ""
msgstr "是否可以在等待 I/O 時處理 Tk 事件?"

#: ../../faq/gui.rst:63
msgid ""
Expand All @@ -103,17 +125,24 @@ msgid ""
"function which will be called from the Tk mainloop when I/O is possible on a "
"file descriptor. See :ref:`tkinter-file-handlers`."
msgstr ""
"在 Windows 以外的平台上,是可以的,你甚至不需要執行緒!但是,你必須稍微調整你"
"的 I/O 程式碼。Tk 具有等效於 Xt 的 :c:func:`XtAddInput()` 的函式呼叫,它能讓"
"你記錄一個回呼 (callback) 函式,當 I/O 在一個檔案描述符 (descriptor) 上可能可"
"以進行時,該函式將會從 Tk mainloop 被呼叫。請參閱\\ :ref:`tkinter-file-"
"handlers`。"

#: ../../faq/gui.rst:71
msgid "I can't get key bindings to work in Tkinter: why?"
msgstr ""
msgstr "我無法讓鍵連結 (key binding) 在 Tkinter 中作用:為什麼?"

#: ../../faq/gui.rst:73
msgid ""
"An often-heard complaint is that event handlers bound to events with the :"
"meth:`bind` method don't get handled even when the appropriate key is "
"pressed."
msgstr ""
"一個經常聽到的抱怨是,儘管事件處理程式 (event handler) 已經連結到帶有 :meth:"
"`bind` method 的事件,但在按下相應的鍵時,該事件也沒有被處理。"

#: ../../faq/gui.rst:76
msgid ""
Expand All @@ -122,6 +151,9 @@ msgid ""
"focus command. Usually a widget is given the keyboard focus by clicking in "
"it (but not for labels; see the takefocus option)."
msgstr ""
"最常見的原因是,該連結所應用的小工具並沒有「鍵盤焦點」。請查看 Tk 說明文件中"
"關於焦點命令的敘述。通常,點擊一個小工具,會讓它得到鍵盤焦點(但不適用於標"
"籤;請參閱 takefocus 選項)。"

#~ msgid "Qt"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

以下可以刪除了

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All suggestions were applied.
Thanks for the review! 😄

#~ msgstr "Qt"
Expand Down