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

Skip to content

Commit 18cd0de

Browse files
[po] auto sync
1 parent 806eded commit 18cd0de

1 file changed

Lines changed: 24 additions & 14 deletions

File tree

library/tkinter.ttk.po

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,14 +1832,17 @@ msgid ""
18321832
"identifier; *iid* must not already exist in the tree. Otherwise, a new "
18331833
"unique identifier is generated."
18341834
msgstr ""
1835+
"*parent* 是父项的 ID,若要新建顶级项则为空字符串。 *index* 是整数或“end”,指明在父项的子项列表中的插入位置。如果 "
1836+
"*index* 小于等于0,则在开头插入新节点;如果 *index* 大于或等于当前子节点数,则将其插入末尾。如果给出了 *iid*,则将其用作数据项 "
1837+
"ID; *iid* 不得存在于树中。否则会新生成一个唯一 ID。 "
18351838

18361839
#: ../../library/tkinter.ttk.rst:1123
18371840
msgid "See `Item Options`_ for the list of available points."
1838-
msgstr ""
1841+
msgstr "此处可设置的属性请参阅 `Item Options`_ 。"
18391842

18401843
#: ../../library/tkinter.ttk.rst:1128
18411844
msgid "Query or modify the options for the specified *item*."
1842-
msgstr ""
1845+
msgstr "查询或修改某 *item* 的属性。"
18431846

18441847
#: ../../library/tkinter.ttk.rst:1130
18451848
msgid ""
@@ -1848,10 +1851,11 @@ msgid ""
18481851
"returned. Otherwise, sets the options to the corresponding values as given "
18491852
"by *kw*."
18501853
msgstr ""
1854+
"如果未给出 option,则返回属性/值构成的字典。如果给出了 *option*,则返回该属性的值。否则,将属性设为 *kw* 给出的值。 "
18511855

18521856
#: ../../library/tkinter.ttk.rst:1138
18531857
msgid "Moves *item* to position *index* in *parent*'s list of children."
1854-
msgstr ""
1858+
msgstr "将 *item* 移至指定位置,父项为 *parent* ,子项列表索引为 *index* 。"
18551859

18561860
#: ../../library/tkinter.ttk.rst:1140
18571861
msgid ""
@@ -1860,39 +1864,41 @@ msgid ""
18601864
"than or equal to the number of children, it is moved to the end. If *item* "
18611865
"was detached it is reattached."
18621866
msgstr ""
1867+
"将数据项移入其子项之下是非法的。如果 *index* 小于等于0,*item* 将被移到开头;如果大于等于子项的总数,则被移至最后。如果 *item* "
1868+
"已解除关联,则会被重新连接。"
18631869

18641870
#: ../../library/tkinter.ttk.rst:1148
18651871
msgid ""
18661872
"Returns the identifier of *item*'s next sibling, or '' if *item* is the last"
18671873
" child of its parent."
1868-
msgstr ""
1874+
msgstr "返回 *item* 的下一个相邻项,如果 *item* 是父项的最后一个子项,则返回 ''。"
18691875

18701876
#: ../../library/tkinter.ttk.rst:1154
18711877
msgid ""
18721878
"Returns the ID of the parent of *item*, or '' if *item* is at the top level "
18731879
"of the hierarchy."
1874-
msgstr ""
1880+
msgstr "返回 *item* 的父项 ID,如果 *item* 为顶级节点,则返回 ''。"
18751881

18761882
#: ../../library/tkinter.ttk.rst:1160
18771883
msgid ""
18781884
"Returns the identifier of *item*'s previous sibling, or '' if *item* is the "
18791885
"first child of its parent."
1880-
msgstr ""
1886+
msgstr "返回 *item* 的前一个相邻项,若 *item* 为父项的第一个子项,则返回 ''。"
18811887

18821888
#: ../../library/tkinter.ttk.rst:1166
18831889
msgid "An alias for :meth:`Treeview.move`."
1884-
msgstr ""
1890+
msgstr ":meth:`Treeview.move` 的别名。"
18851891

18861892
#: ../../library/tkinter.ttk.rst:1171
18871893
msgid "Ensure that *item* is visible."
1888-
msgstr ""
1894+
msgstr "确保 *item* 可见。"
18891895

18901896
#: ../../library/tkinter.ttk.rst:1173
18911897
msgid ""
18921898
"Sets all of *item*'s ancestors open option to ``True``, and scrolls the "
18931899
"widget if necessary so that *item* is within the visible portion of the "
18941900
"tree."
1895-
msgstr ""
1901+
msgstr "将 *item* 所有上级的 open 属性设为 ``True``,必要时会滚动控件,让 *item* 处于树的可见部分。"
18961902

18971903
#: ../../library/tkinter.ttk.rst:1180
18981904
msgid ""
@@ -1908,25 +1914,25 @@ msgstr ""
19081914

19091915
#: ../../library/tkinter.ttk.rst:1190
19101916
msgid "*items* becomes the new selection."
1911-
msgstr ""
1917+
msgstr "让 *items* 成为新的选中项。"
19121918

19131919
#: ../../library/tkinter.ttk.rst:1192 ../../library/tkinter.ttk.rst:1200
19141920
#: ../../library/tkinter.ttk.rst:1208 ../../library/tkinter.ttk.rst:1216
19151921
msgid ""
19161922
"*items* can be passed as separate arguments, not just as a single tuple."
1917-
msgstr ""
1923+
msgstr "*items* 可作为多个单独的参数传递,而不是作为一个元组。"
19181924

19191925
#: ../../library/tkinter.ttk.rst:1198
19201926
msgid "Add *items* to the selection."
1921-
msgstr ""
1927+
msgstr "将 *items* 加入选中项。"
19221928

19231929
#: ../../library/tkinter.ttk.rst:1206
19241930
msgid "Remove *items* from the selection."
1925-
msgstr ""
1931+
msgstr "从选中项中移除 *items* 。"
19261932

19271933
#: ../../library/tkinter.ttk.rst:1214
19281934
msgid "Toggle the selection state of each item in *items*."
1929-
msgstr ""
1935+
msgstr "切换 *items* 中各项的选中状态。"
19301936

19311937
#: ../../library/tkinter.ttk.rst:1222
19321938
msgid ""
@@ -1935,13 +1941,17 @@ msgid ""
19351941
"specified *column*. With three arguments, sets the value of given *column* "
19361942
"in given *item* to the specified *value*."
19371943
msgstr ""
1944+
"若带一个参数,则返回指定 *item* 的列/值字典。若带两个参数,则返回 *column* 的当前值。若带三个参数,则将 *item* 的 "
1945+
"*column* 设为 *value*。"
19381946

19391947
#: ../../library/tkinter.ttk.rst:1230
19401948
msgid ""
19411949
"Bind a callback for the given event *sequence* to the tag *tagname*. When an"
19421950
" event is delivered to an item, the callbacks for each of the item's tags "
19431951
"option are called."
19441952
msgstr ""
1953+
"为 tag 为 *tagname* 的数据项绑定事件 *sequence* 的回调函数。当事件分发给该数据项时,tag 参数为 *tagname* "
1954+
"的全部数据项的回调都会被调用到。"
19451955

19461956
#: ../../library/tkinter.ttk.rst:1237
19471957
msgid "Query or modify the options for the specified *tagname*."

0 commit comments

Comments
 (0)