diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml index 293dd77b..f24d6c65 100644 --- a/src/Resources/Locales/en_US.axaml +++ b/src/Resources/Locales/en_US.axaml @@ -471,6 +471,7 @@ History Commits Show author time instead of commit time in graph Show children in the commit details + Show tags in commit graph Subject Guide Length GIT Enable Auto CRLF @@ -569,8 +570,6 @@ LAYOUT Horizontal Vertical - OPTIONS - Show Tags in Graph COMMITS ORDER Commit Date Topologically diff --git a/src/Resources/Locales/ru_RU.axaml b/src/Resources/Locales/ru_RU.axaml index 24d296e3..707c9ed9 100644 --- a/src/Resources/Locales/ru_RU.axaml +++ b/src/Resources/Locales/ru_RU.axaml @@ -475,6 +475,7 @@ Максимальная длина истории Показывать время автора вместо времени ревизии на графике Показать наследника в деталях комментария + Показывать метки на графике Длина темы ревизии GIT Включить автозавершение CRLF @@ -574,8 +575,6 @@ РАСПОЛОЖЕНИЕ Горизонтально Вертикально - ОПЦИИ - Показывать метки на графике ЗАПРОС РЕВИЗИЙ Дата ревизии Топологически diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml index b8dcf417..93d08bd0 100644 --- a/src/Resources/Locales/zh_CN.axaml +++ b/src/Resources/Locales/zh_CN.axaml @@ -475,6 +475,7 @@ 最大历史提交数 在提交路线图中显示修改时间而非提交时间 在提交详情页中显示子提交列表 + 在提交路线图中显示标签 SUBJECT字数检测 GIT配置 自动换行转换 @@ -573,8 +574,6 @@ 布局方式 水平排布 竖直排布 - 其它设置 - 在提交路线图中显示标签 提交列表排序规则 按提交时间 按拓扑排序 diff --git a/src/Resources/Locales/zh_TW.axaml b/src/Resources/Locales/zh_TW.axaml index 1d2cee7c..d5a7a77c 100644 --- a/src/Resources/Locales/zh_TW.axaml +++ b/src/Resources/Locales/zh_TW.axaml @@ -474,6 +474,7 @@ 最大歷史提交數 在提交路線圖中顯示修改時間而非提交時間 在提交詳細資訊中顯示後續提交 + 在路線圖中顯示標籤 提交標題字數偵測 Git 設定 自動換行轉換 @@ -572,8 +573,6 @@ 版面配置 橫向顯示 縱向顯示 - 其它設定 - 在路線圖中顯示標籤 提交顯示順序 依時間排序 依拓撲排序 diff --git a/src/ViewModels/Repository.cs b/src/ViewModels/Repository.cs index 4f35d215..6ea41e04 100644 --- a/src/ViewModels/Repository.cs +++ b/src/ViewModels/Repository.cs @@ -1505,20 +1505,6 @@ namespace SourceGit.ViewModels ev.Handled = true; }; - var others = new MenuItem(); - others.Header = App.Text("Repository.HistoriesOptions"); - others.IsEnabled = false; - - var showTagsInGraph = new MenuItem(); - showTagsInGraph.Header = App.Text("Repository.HistoriesOptions.ShowTagsInGraph"); - if (Preferences.Instance.ShowTagsInGraph) - showTagsInGraph.Icon = App.CreateMenuIcon("Icons.Check"); - showTagsInGraph.Click += (_, ev) => - { - Preferences.Instance.ShowTagsInGraph = !Preferences.Instance.ShowTagsInGraph; - ev.Handled = true; - }; - var menu = new ContextMenu(); menu.Items.Add(layout); menu.Items.Add(horizontal); @@ -1527,9 +1513,6 @@ namespace SourceGit.ViewModels menu.Items.Add(order); menu.Items.Add(dateOrder); menu.Items.Add(topoOrder); - menu.Items.Add(new MenuItem() { Header = "-" }); - menu.Items.Add(others); - menu.Items.Add(showTagsInGraph); return menu; } diff --git a/src/Views/Preferences.axaml b/src/Views/Preferences.axaml index d2b08467..702ec20f 100644 --- a/src/Views/Preferences.axaml +++ b/src/Views/Preferences.axaml @@ -46,7 +46,7 @@ - + + + -