mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-16 16:05:00 +00:00
localization: change Compare with HEAD
to Compare with <current_branch_name>
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
7934496cff
commit
8b17f3b1f4
13 changed files with 14 additions and 17 deletions
|
@ -1928,15 +1928,15 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
}
|
||||
|
||||
var compareWithHead = new MenuItem();
|
||||
compareWithHead.Header = App.Text("BranchCM.CompareWithHead");
|
||||
compareWithHead.Icon = App.CreateMenuIcon("Icons.Compare");
|
||||
compareWithHead.Click += (_, _) =>
|
||||
var compareWithCurrent = new MenuItem();
|
||||
compareWithCurrent.Header = App.Text("BranchCM.CompareWithCurrent", _currentBranch.Name);
|
||||
compareWithCurrent.Icon = App.CreateMenuIcon("Icons.Compare");
|
||||
compareWithCurrent.Click += (_, _) =>
|
||||
{
|
||||
App.ShowWindow(new BranchCompare(_fullpath, branch, _currentBranch), false);
|
||||
};
|
||||
menu.Items.Add(new MenuItem() { Header = "-" });
|
||||
menu.Items.Add(compareWithHead);
|
||||
menu.Items.Add(compareWithCurrent);
|
||||
|
||||
if (_localChangesCount > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue