Skip to content

Commit b3bc048

Browse files
committed
ux: tooltip for More options... in HISTORY selector (#1658)
Signed-off-by: leo <[email protected]>
1 parent 72b7714 commit b3bc048

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

src/Resources/Locales/en_US.axaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@
653653
<x:String x:Key="Text.Repository.HistoriesOrder.ByDate" xml:space="preserve">Commit Date</x:String>
654654
<x:String x:Key="Text.Repository.HistoriesOrder.Topo" xml:space="preserve">Topologically</x:String>
655655
<x:String x:Key="Text.Repository.LocalBranches" xml:space="preserve">LOCAL BRANCHES</x:String>
656+
<x:String x:Key="Text.Repository.MoreOptions" xml:space="preserve">More options...</x:String>
656657
<x:String x:Key="Text.Repository.NavigateToCurrentHead" xml:space="preserve">Navigate to HEAD</x:String>
657658
<x:String x:Key="Text.Repository.NewBranch" xml:space="preserve">Create Branch</x:String>
658659
<x:String x:Key="Text.Repository.Notifications.Clear" xml:space="preserve">CLEAR NOTIFICATIONS</x:String>

src/Resources/Locales/zh_CN.axaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,7 @@
657657
<x:String x:Key="Text.Repository.HistoriesOrder.ByDate" xml:space="preserve">按提交时间</x:String>
658658
<x:String x:Key="Text.Repository.HistoriesOrder.Topo" xml:space="preserve">按拓扑排序</x:String>
659659
<x:String x:Key="Text.Repository.LocalBranches" xml:space="preserve">本地分支</x:String>
660+
<x:String x:Key="Text.Repository.MoreOptions" xml:space="preserve">更多选项...</x:String>
660661
<x:String x:Key="Text.Repository.NavigateToCurrentHead" xml:space="preserve">定位HEAD</x:String>
661662
<x:String x:Key="Text.Repository.NewBranch" xml:space="preserve">新建分支</x:String>
662663
<x:String x:Key="Text.Repository.Notifications.Clear" xml:space="preserve">清空通知列表</x:String>

src/Resources/Locales/zh_TW.axaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,7 @@
657657
<x:String x:Key="Text.Repository.HistoriesOrder.ByDate" xml:space="preserve">依時間排序</x:String>
658658
<x:String x:Key="Text.Repository.HistoriesOrder.Topo" xml:space="preserve">依拓撲排序</x:String>
659659
<x:String x:Key="Text.Repository.LocalBranches" xml:space="preserve">本機分支</x:String>
660+
<x:String x:Key="Text.Repository.MoreOptions" xml:space="preserve">更多選項...</x:String>
660661
<x:String x:Key="Text.Repository.NavigateToCurrentHead" xml:space="preserve">回到 HEAD</x:String>
661662
<x:String x:Key="Text.Repository.NewBranch" xml:space="preserve">新增分支</x:String>
662663
<x:String x:Key="Text.Repository.Notifications.Clear" xml:space="preserve">清除所有通知</x:String>

src/Views/Repository.axaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@
120120
<Button Grid.Column="4"
121121
Classes="icon_button"
122122
Width="26" Height="26"
123-
Click="OnOpenAdvancedHistoriesOption">
123+
Click="OnOpenAdvancedHistoriesOption"
124+
ToolTip.Tip="{DynamicResource Text.Repository.MoreOptions}">
124125
<Path Width="12" Height="12" Data="{StaticResource Icons.More}"/>
125126
</Button>
126127
</Grid>

0 commit comments

Comments
 (0)