-
-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathcurses.panel.po
More file actions
138 lines (115 loc) · 5.5 KB
/
curses.panel.po
File metadata and controls
138 lines (115 loc) · 5.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-01-03 16:35+0000\n"
"PO-Revision-Date: 2025-09-22 17:54+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../library/curses.panel.rst:2
msgid ":mod:`curses.panel` --- A panel stack extension for curses"
msgstr ":mod:`curses.panel` --- curses 的面板栈扩展"
#: ../../library/curses.panel.rst:11
msgid ""
"Panels are windows with the added feature of depth, so they can be stacked "
"on top of each other, and only the visible portions of each window will be "
"displayed. Panels can be added, moved up or down in the stack, and removed."
msgstr ""
"面板是具有添加深度功能的窗口,因此它们可以从上至下堆叠为栈,只有显示每个窗口的可见部分会显示出来。 面板可以在栈中被添加、上移或下移,也可以被移除。"
#: ../../library/curses.panel.rst:19
msgid "Functions"
msgstr "函数"
#: ../../library/curses.panel.rst:21
msgid "The module :mod:`curses.panel` defines the following functions:"
msgstr ":mod:`curses.panel` 模块定义了以下函数:"
#: ../../library/curses.panel.rst:26
msgid "Returns the bottom panel in the panel stack."
msgstr "返回面板栈中的底部面板。"
#: ../../library/curses.panel.rst:31
msgid ""
"Returns a panel object, associating it with the given window *win*. Be aware"
" that you need to keep the returned panel object referenced explicitly. If "
"you don't, the panel object is garbage collected and removed from the panel "
"stack."
msgstr ""
"返回一个面板对象,将其与给定的窗口 *win* 相关联。 请注意你必须显式地保持所返回的面板对象。 "
"如果你不这样做,面板对象会被垃圾回收并从面板栈中被移除。"
#: ../../library/curses.panel.rst:38
msgid "Returns the top panel in the panel stack."
msgstr "返回面板栈中的顶部面板。"
#: ../../library/curses.panel.rst:43
msgid ""
"Updates the virtual screen after changes in the panel stack. This does not "
"call :func:`curses.doupdate`, so you'll have to do this yourself."
msgstr "在面板栈发生改变后更新虚拟屏幕。 这不会调用 :func:`curses.doupdate`,因此你不必自己执行此操作。"
#: ../../library/curses.panel.rst:50
msgid "Panel Objects"
msgstr "Panel 对象"
#: ../../library/curses.panel.rst:52
msgid ""
"Panel objects, as returned by :func:`new_panel` above, are windows with a "
"stacking order. There's always a window associated with a panel which "
"determines the content, while the panel methods are responsible for the "
"window's depth in the panel stack."
msgstr ""
"Panel 对象,如上面 :func:`new_panel` 所返回的对象,是带有栈顺序的多个窗口。 "
"总是会有一个窗口与确定内容的面板相关联,面板方法会负责窗口在面板栈中的深度。"
#: ../../library/curses.panel.rst:57
msgid "Panel objects have the following methods:"
msgstr "Panel 对象具有以下方法:"
#: ../../library/curses.panel.rst:62
msgid "Returns the panel above the current panel."
msgstr "返回当前面板之上的面板。"
#: ../../library/curses.panel.rst:67
msgid "Returns the panel below the current panel."
msgstr "返回当前面板之下的面板。"
#: ../../library/curses.panel.rst:72
msgid "Push the panel to the bottom of the stack."
msgstr "将面板推至栈底部。"
#: ../../library/curses.panel.rst:77
msgid ""
"Returns ``True`` if the panel is hidden (not visible), ``False`` otherwise."
msgstr "如果面板被隐藏(不可见)则返回 ``True``,否则返回 ``False``。"
#: ../../library/curses.panel.rst:82
msgid ""
"Hide the panel. This does not delete the object, it just makes the window on"
" screen invisible."
msgstr "隐藏面板。 这不会删除对象,它只是让窗口在屏幕上不可见。"
#: ../../library/curses.panel.rst:88
msgid "Move the panel to the screen coordinates ``(y, x)``."
msgstr "将面板移至屏幕坐标 ``(y, x)``。"
#: ../../library/curses.panel.rst:93
msgid "Change the window associated with the panel to the window *win*."
msgstr "将与面板相关联的窗口改为窗口 *win*。"
#: ../../library/curses.panel.rst:98
msgid ""
"Set the panel's user pointer to *obj*. This is used to associate an "
"arbitrary piece of data with the panel, and can be any Python object."
msgstr "将面板的用户指向设为 *obj*。 这被用来将任意数据与面板相关联,数据可以是任何 Python 对象。"
#: ../../library/curses.panel.rst:104
msgid "Display the panel (which might have been hidden)."
msgstr "显示面板(面板可能已被隐藏)。"
#: ../../library/curses.panel.rst:109
msgid "Push panel to the top of the stack."
msgstr "将面板推至栈顶部。"
#: ../../library/curses.panel.rst:114
msgid ""
"Returns the user pointer for the panel. This might be any Python object."
msgstr "返回面板的用户指针。 这可以是任何 Python 对象。"
#: ../../library/curses.panel.rst:119
msgid "Returns the window object associated with the panel."
msgstr "返回与面板相关联的窗口对象。"