-
-
Notifications
You must be signed in to change notification settings - Fork 216
Translate library/tkinter.dnd.po #1138
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
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) 2001-2022, Python Software Foundation | ||
# This file is distributed under the same license as the Python package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# Dr-XYZ <[email protected]>, 2025 | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Python 3.13\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-05-09 00:03+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"PO-Revision-Date: 2025-08-21 00:00+0800\n" | ||
"Last-Translator: Dr-XYZ <[email protected]>\n" | ||
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" | ||
"tw)\n" | ||
"Language: zh_TW\n" | ||
|
@@ -30,7 +29,7 @@ msgstr "**原始碼:**\\ :source:`Lib/tkinter/dnd.py`" | |
msgid "" | ||
"This is experimental and due to be deprecated when it is replaced with the " | ||
"Tk DND." | ||
msgstr "" | ||
msgstr "這是一個實驗性的功能,並將在被 Tk DND 取代時棄用。" | ||
|
||
#: ../../library/tkinter.dnd.rst:15 | ||
msgid "" | ||
|
@@ -43,71 +42,78 @@ msgid "" | |
"dragged, and 'event' is the event that invoked the call (the argument to " | ||
"your callback function)." | ||
msgstr "" | ||
":mod:`tkinter.dnd` 模組為單一應用程式內、同一個視窗內或視窗之間的物件提供拖放" | ||
"支援。要讓一個物件可以被拖動,你必須為它建立一個事件繫結來啟動拖放過程。通" | ||
"常,你會將一個 ButtonPress 事件繫結到你所寫的回呼函式(請參閱 :ref:`Bindings-" | ||
"and-Events`)。該函式應該呼叫 :func:`dnd_start`,其中 'source' 是要被拖動的物" | ||
"件,而 'event' 是觸發呼叫的事件(你的回呼函式的引數)。" | ||
|
||
#: ../../library/tkinter.dnd.rst:23 | ||
msgid "Selection of a target object occurs as follows:" | ||
msgstr "" | ||
msgstr "目標物件的選擇過程如下:" | ||
|
||
#: ../../library/tkinter.dnd.rst:25 | ||
msgid "Top-down search of area under mouse for target widget" | ||
msgstr "" | ||
msgstr "由上而下搜尋滑鼠下方的區域以尋找目標元件(widget)" | ||
|
||
#: ../../library/tkinter.dnd.rst:27 | ||
msgid "Target widget should have a callable *dnd_accept* attribute" | ||
msgstr "" | ||
msgstr "目標元件應該要有一個可呼叫的 *dnd_accept* 屬性(attribute)" | ||
|
||
#: ../../library/tkinter.dnd.rst:28 | ||
msgid "" | ||
"If *dnd_accept* is not present or returns ``None``, search moves to parent " | ||
"widget" | ||
msgstr "" | ||
msgstr "如果 *dnd_accept* 不存在或回傳 ``None``,搜尋會移至父元件" | ||
|
||
#: ../../library/tkinter.dnd.rst:29 | ||
msgid "If no target widget is found, then the target object is ``None``" | ||
msgstr "" | ||
msgstr "如果找不到目標元件,則目標物件為 ``None``" | ||
|
||
#: ../../library/tkinter.dnd.rst:31 | ||
msgid "Call to *<old_target>.dnd_leave(source, event)*" | ||
msgstr "" | ||
msgstr "呼叫 *<old_target>.dnd_leave(source, event)*" | ||
|
||
#: ../../library/tkinter.dnd.rst:32 | ||
msgid "Call to *<new_target>.dnd_enter(source, event)*" | ||
msgstr "" | ||
msgstr "呼叫 *<new_target>.dnd_enter(source, event)*" | ||
|
||
#: ../../library/tkinter.dnd.rst:33 | ||
msgid "Call to *<target>.dnd_commit(source, event)* to notify of drop" | ||
msgstr "" | ||
msgstr "呼叫 *<target>.dnd_commit(source, event)* 以通知放下動作" | ||
|
||
#: ../../library/tkinter.dnd.rst:34 | ||
msgid "" | ||
"Call to *<source>.dnd_end(target, event)* to signal end of drag-and-drop" | ||
msgstr "" | ||
msgstr "呼叫 *<source>.dnd_end(target, event)* 以表示拖放結束" | ||
|
||
#: ../../library/tkinter.dnd.rst:39 | ||
msgid "" | ||
"The *DndHandler* class handles drag-and-drop events tracking Motion and " | ||
"ButtonRelease events on the root of the event widget." | ||
msgstr "" | ||
"*DndHandler* 類別處理拖放事件,它會追蹤事件元件的根上的 Motion 和 " | ||
"ButtonRelease 事件。" | ||
|
||
#: ../../library/tkinter.dnd.rst:44 | ||
msgid "Cancel the drag-and-drop process." | ||
msgstr "" | ||
msgstr "取消拖放過程。" | ||
|
||
#: ../../library/tkinter.dnd.rst:48 | ||
msgid "Execute end of drag-and-drop functions." | ||
msgstr "" | ||
msgstr "執行拖放結束函式。" | ||
|
||
#: ../../library/tkinter.dnd.rst:52 | ||
msgid "Inspect area below mouse for target objects while drag is performed." | ||
msgstr "" | ||
msgstr "在拖動過程中檢查滑鼠下方的區域以尋找目標物件。" | ||
|
||
#: ../../library/tkinter.dnd.rst:56 | ||
msgid "Signal end of drag when the release pattern is triggered." | ||
msgstr "" | ||
msgstr "當釋放模式被觸發時,發出拖動結束的訊號。" | ||
|
||
#: ../../library/tkinter.dnd.rst:60 | ||
msgid "Factory function for drag-and-drop process." | ||
msgstr "" | ||
msgstr "用於拖放過程的工廠函式。" | ||
|
||
#: ../../library/tkinter.dnd.rst:64 | ||
msgid ":ref:`Bindings-and-Events`" | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.