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

Skip to content

Commit 806eded

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

1 file changed

Lines changed: 46 additions & 44 deletions

File tree

library/tkinter.ttk.po

Lines changed: 46 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,50 +1589,52 @@ msgid ""
15891589
"*item*. Note that not specifying *newchildren* results in detaching *item*'s"
15901590
" children."
15911591
msgstr ""
1592+
"对于 *item* 中存在而 *newchildren* 中不存在的数据项,会从树中移除。*newchildren* 中的数据不能是 *item* "
1593+
"的上级。注意,未给出 *newchildren* 会导致 *item* 的子项被移除。"
15921594

15931595
#: ../../library/tkinter.ttk.rst:983
15941596
msgid "Query or modify the options for the specified *column*."
1595-
msgstr ""
1597+
msgstr "查询或修改 *column* 的属性。"
15961598

15971599
#: ../../library/tkinter.ttk.rst:985
15981600
msgid ""
15991601
"If *kw* is not given, returns a dict of the column option values. If "
16001602
"*option* is specified then the value for that *option* is returned. "
16011603
"Otherwise, sets the options to the corresponding values."
1602-
msgstr ""
1604+
msgstr "如果未给出 *kw*,则返回属性值的字典。若指定了 *option*,则会返回该属性值。否则将设置属性值。"
16031605

16041606
#: ../../library/tkinter.ttk.rst:989 ../../library/tkinter.ttk.rst:1044
16051607
msgid "The valid options/values are:"
1606-
msgstr ""
1608+
msgstr "合法的 属性/值 可为:"
16071609

16081610
#: ../../library/tkinter.ttk.rst:991
16091611
msgid "id"
1610-
msgstr ""
1612+
msgstr "id"
16111613

16121614
#: ../../library/tkinter.ttk.rst:992
16131615
msgid "Returns the column name. This is a read-only option."
1614-
msgstr ""
1616+
msgstr "返回列名。这是只读属性。"
16151617

16161618
#: ../../library/tkinter.ttk.rst:994
16171619
msgid "anchor: One of the standard Tk anchor values."
1618-
msgstr ""
1620+
msgstr "anchor:标准的 Tk 锚点值。"
16191621

16201622
#: ../../library/tkinter.ttk.rst:994
16211623
msgid ""
16221624
"Specifies how the text in this column should be aligned with respect to the "
16231625
"cell."
1624-
msgstr ""
1626+
msgstr "指定该列的文本在单元格内的对齐方式。"
16251627

16261628
#: ../../library/tkinter.ttk.rst:998
16271629
msgid "minwidth: width"
1628-
msgstr ""
1630+
msgstr "minwidth:宽度。"
16291631

16301632
#: ../../library/tkinter.ttk.rst:997
16311633
msgid ""
16321634
"The minimum width of the column in pixels. The treeview widget will not make"
16331635
" the column any smaller than specified by this option when the widget is "
16341636
"resized or the user drags a column."
1635-
msgstr ""
1637+
msgstr "列的最小宽度,单位是像素。在缩放控件或用户拖动某一列时,Treeview 会保证列宽不小于此值。"
16361638

16371639
#: ../../library/tkinter.ttk.rst:1001
16381640
msgid "stretch: ``True``/``False``"
@@ -1658,166 +1660,166 @@ msgstr "要配置树的列,则调用此方法并附带参数 column = \"#0\""
16581660

16591661
#: ../../library/tkinter.ttk.rst:1010
16601662
msgid "Delete all specified *items* and all their descendants."
1661-
msgstr ""
1663+
msgstr "删除所有 *items* 及其下属。"
16621664

16631665
#: ../../library/tkinter.ttk.rst:1012
16641666
msgid "The root item may not be deleted."
1665-
msgstr ""
1667+
msgstr "根不能删除。"
16661668

16671669
#: ../../library/tkinter.ttk.rst:1017
16681670
msgid "Unlinks all of the specified *items* from the tree."
1669-
msgstr ""
1671+
msgstr "将所有 *items* 与树解除关联。"
16701672

16711673
#: ../../library/tkinter.ttk.rst:1019
16721674
msgid ""
16731675
"The items and all of their descendants are still present, and may be "
16741676
"reinserted at another point in the tree, but will not be displayed."
1675-
msgstr ""
1677+
msgstr "数据项及其下属依然存在,后续可以重新插入,目前只是不显示出来。"
16761678

16771679
#: ../../library/tkinter.ttk.rst:1022
16781680
msgid "The root item may not be detached."
1679-
msgstr ""
1681+
msgstr "根不能解除关联。"
16801682

16811683
#: ../../library/tkinter.ttk.rst:1027
16821684
msgid "Returns ``True`` if the specified *item* is present in the tree."
1683-
msgstr ""
1685+
msgstr "如果给出的 *item* 位于树中,则返回 ``True``。"
16841686

16851687
#: ../../library/tkinter.ttk.rst:1032
16861688
msgid ""
16871689
"If *item* is specified, sets the focus item to *item*. Otherwise, returns "
16881690
"the current focus item, or '' if there is none."
1689-
msgstr ""
1691+
msgstr "如果给出 *item* 则设为当前焦点。否则返回当前焦点所在数据项,若无则返回 ''。"
16901692

16911693
#: ../../library/tkinter.ttk.rst:1038
16921694
msgid "Query or modify the heading options for the specified *column*."
1693-
msgstr ""
1695+
msgstr "查询或修改某 *column* 的标题。"
16941696

16951697
#: ../../library/tkinter.ttk.rst:1040
16961698
msgid ""
16971699
"If *kw* is not given, returns a dict of the heading option values. If "
16981700
"*option* is specified then the value for that *option* is returned. "
16991701
"Otherwise, sets the options to the corresponding values."
1700-
msgstr ""
1702+
msgstr "若未给出 *kw*,则返回列标题组成的列表。若给出了 *option* 则返回对应属性值。否则,设置属性值。"
17011703

17021704
#: ../../library/tkinter.ttk.rst:1046
17031705
msgid "text: text"
1704-
msgstr ""
1706+
msgstr "text:文本。"
17051707

17061708
#: ../../library/tkinter.ttk.rst:1047
17071709
msgid "The text to display in the column heading."
1708-
msgstr ""
1710+
msgstr "显示为列标题的文本。"
17091711

17101712
#: ../../library/tkinter.ttk.rst:1048
17111713
msgid "image: imageName"
1712-
msgstr ""
1714+
msgstr "image:图片名称"
17131715

17141716
#: ../../library/tkinter.ttk.rst:1049
17151717
msgid "Specifies an image to display to the right of the column heading."
1716-
msgstr ""
1718+
msgstr "指定显示在列标题右侧的图片。"
17171719

17181720
#: ../../library/tkinter.ttk.rst:1051
17191721
msgid "anchor: anchor"
1720-
msgstr ""
1722+
msgstr "anchor:锚点"
17211723

17221724
#: ../../library/tkinter.ttk.rst:1051
17231725
msgid ""
17241726
"Specifies how the heading text should be aligned. One of the standard Tk "
17251727
"anchor values."
1726-
msgstr ""
1728+
msgstr "指定列标题文本的对齐方式。应为标准的 Tk 锚点值。"
17271729

17281730
#: ../../library/tkinter.ttk.rst:1054
17291731
msgid "command: callback"
1730-
msgstr ""
1732+
msgstr "command:回调函数"
17311733

17321734
#: ../../library/tkinter.ttk.rst:1054
17331735
msgid "A callback to be invoked when the heading label is pressed."
1734-
msgstr ""
1736+
msgstr "点击列标题时执行的回调函数。"
17351737

17361738
#: ../../library/tkinter.ttk.rst:1056
17371739
msgid "To configure the tree column heading, call this with column = \"#0\"."
1738-
msgstr ""
1740+
msgstr "若要对 tree 列进行设置,请带上 column = \"#0\" 进行调用。"
17391741

17401742
#: ../../library/tkinter.ttk.rst:1061
17411743
msgid ""
17421744
"Returns a description of the specified *component* under the point given by "
17431745
"*x* and *y*, or the empty string if no such *component* is present at that "
17441746
"position."
1745-
msgstr ""
1747+
msgstr "返回 *x*、*y* 位置上 *component* 控件的描述信息,如果此处没有这种控件,则返回空字符串。"
17461748

17471749
#: ../../library/tkinter.ttk.rst:1068
17481750
msgid "Returns the item ID of the item at position *y*."
1749-
msgstr ""
1751+
msgstr "返回 *y* 位置上的数据项 ID。"
17501752

17511753
#: ../../library/tkinter.ttk.rst:1073
17521754
msgid "Returns the data column identifier of the cell at position *x*."
1753-
msgstr ""
1755+
msgstr "返回 *x* 位置上的单元格所在的数据列 ID。"
17541756

17551757
#: ../../library/tkinter.ttk.rst:1075
17561758
msgid "The tree column has ID #0."
1757-
msgstr ""
1759+
msgstr "tree 列的 ID 为 #0 。"
17581760

17591761
#: ../../library/tkinter.ttk.rst:1080
17601762
msgid "Returns one of:"
1761-
msgstr ""
1763+
msgstr "返回以下值之一:"
17621764

17631765
#: ../../library/tkinter.ttk.rst:1083
17641766
msgid "region"
17651767
msgstr "region"
17661768

17671769
#: ../../library/tkinter.ttk.rst:1083
17681770
msgid "meaning"
1769-
msgstr ""
1771+
msgstr "区域"
17701772

17711773
#: ../../library/tkinter.ttk.rst:1085
17721774
msgid "heading"
1773-
msgstr ""
1775+
msgstr "标题栏"
17741776

17751777
#: ../../library/tkinter.ttk.rst:1085
17761778
msgid "Tree heading area."
1777-
msgstr ""
1779+
msgstr "树的标题栏区域。"
17781780

17791781
#: ../../library/tkinter.ttk.rst:1087
17801782
msgid "separator"
1781-
msgstr ""
1783+
msgstr "heading"
17821784

17831785
#: ../../library/tkinter.ttk.rst:1087
17841786
msgid "Space between two columns headings."
1785-
msgstr ""
1787+
msgstr "两个列标题之间的间隔区域。"
17861788

17871789
#: ../../library/tkinter.ttk.rst:1089
17881790
msgid "tree"
17891791
msgstr "tree"
17901792

17911793
#: ../../library/tkinter.ttk.rst:1089
17921794
msgid "The tree area."
1793-
msgstr ""
1795+
msgstr "树区域。"
17941796

17951797
#: ../../library/tkinter.ttk.rst:1091
17961798
msgid "cell"
1797-
msgstr ""
1799+
msgstr "cell"
17981800

17991801
#: ../../library/tkinter.ttk.rst:1091
18001802
msgid "A data cell."
1801-
msgstr ""
1803+
msgstr "数据单元格。"
18021804

18031805
#: ../../library/tkinter.ttk.rst:1094 ../../library/tkinter.ttk.rst:1101
18041806
msgid "Availability: Tk 8.6."
1805-
msgstr ""
1807+
msgstr "可用性:Tk 8.6。"
18061808

18071809
#: ../../library/tkinter.ttk.rst:1099
18081810
msgid "Returns the element at position *x*, *y*."
1809-
msgstr ""
1811+
msgstr "返回位于 *x* 、*y* 的数据项。"
18101812

18111813
#: ../../library/tkinter.ttk.rst:1106
18121814
msgid ""
18131815
"Returns the integer index of *item* within its parent's list of children."
1814-
msgstr ""
1816+
msgstr "返回 *item* 在其数据项列表中的整数索引。"
18151817

18161818
#: ../../library/tkinter.ttk.rst:1111
18171819
msgid ""
18181820
"Creates a new item and returns the item identifier of the newly created "
18191821
"item."
1820-
msgstr ""
1822+
msgstr "新建一个数据项并返回其 ID。"
18211823

18221824
#: ../../library/tkinter.ttk.rst:1114
18231825
msgid ""

0 commit comments

Comments
 (0)