diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml
index c1df653b..9673a65a 100644
--- a/src/Resources/Locales/en_US.axaml
+++ b/src/Resources/Locales/en_US.axaml
@@ -281,7 +281,7 @@
Discard {0} files...
Discard Changes in Selected Line(s)
Open External Merge Tool
- Resolve Using '{0}'
+ Resolve Using ${0}$
Save as Patch...
Stage
Stage {0} files
diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml
index e828057d..1f5a39d9 100644
--- a/src/Resources/Locales/zh_CN.axaml
+++ b/src/Resources/Locales/zh_CN.axaml
@@ -284,7 +284,7 @@
放弃 {0} 个文件的更改...
放弃选中的更改
使用外部合并工具打开
- 应用 '{0}'
+ 应用 ${0}$
另存为补丁...
暂存(add)
暂存(add){0} 个文件
diff --git a/src/Resources/Locales/zh_TW.axaml b/src/Resources/Locales/zh_TW.axaml
index b77f3449..27a9b5e4 100644
--- a/src/Resources/Locales/zh_TW.axaml
+++ b/src/Resources/Locales/zh_TW.axaml
@@ -284,7 +284,7 @@
捨棄已選的 {0} 個檔案變更...
捨棄選取的變更
使用外部合併工具開啟
- 使用 '{0}'
+ 使用 ${0}$
另存為修補檔 (patch)...
暫存 (add)
暫存 (add) 已選的 {0} 個檔案
diff --git a/src/ViewModels/WorkingCopy.cs b/src/ViewModels/WorkingCopy.cs
index c329fe6d..458f4374 100644
--- a/src/ViewModels/WorkingCopy.cs
+++ b/src/ViewModels/WorkingCopy.cs
@@ -571,22 +571,23 @@ namespace SourceGit.ViewModels
if (_inProgressContext is RebaseInProgress rebase)
{
- useTheirs.Header = App.Text("FileCM.ResolveUsing", rebase.HeadName);
- useMine.Header = App.Text("FileCM.ResolveUsing", rebase.StoppedAt.SHA.Substring(0, 10));
+ useTheirs.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", rebase.HeadName);
+ useMine.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", rebase.StoppedAt.SHA.Substring(0, 10));
}
else if (_inProgressContext is CherryPickInProgress cherryPick)
{
- useTheirs.Header = App.Text("FileCM.ResolveUsing", cherryPick.Head.SHA.Substring(0, 10));
- useMine.Header = App.Text("FileCM.ResolveUsing", _repo.CurrentBranch.Name);
+ useTheirs.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", cherryPick.Head.SHA.Substring(0, 10));
+ useMine.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", _repo.CurrentBranch.Name);
}
else if (_inProgressContext is MergeInProgress merge)
{
- useTheirs.Header = App.Text("FileCM.ResolveUsing", merge.SourceName);
- useMine.Header = App.Text("FileCM.ResolveUsing", _repo.CurrentBranch.Name);
+ useTheirs.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", merge.SourceName);
+ useMine.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", _repo.CurrentBranch.Name);
}
menu.Items.Add(useTheirs);
menu.Items.Add(useMine);
+ menu.Items.Add(new MenuItem() { Header = "-" });
menu.Items.Add(openMerger);
menu.Items.Add(new MenuItem() { Header = "-" });
}
@@ -910,18 +911,18 @@ namespace SourceGit.ViewModels
if (_inProgressContext is RebaseInProgress rebase)
{
- useTheirs.Header = App.Text("FileCM.ResolveUsing", rebase.HeadName);
- useMine.Header = App.Text("FileCM.ResolveUsing", rebase.StoppedAt.SHA.Substring(0, 10));
+ useTheirs.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", rebase.HeadName);
+ useMine.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", rebase.StoppedAt.SHA.Substring(0, 10));
}
else if (_inProgressContext is CherryPickInProgress cherryPick)
{
- useTheirs.Header = App.Text("FileCM.ResolveUsing", cherryPick.Head.SHA.Substring(0, 10));
- useMine.Header = App.Text("FileCM.ResolveUsing", _repo.CurrentBranch.Name);
+ useTheirs.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", cherryPick.Head.SHA.Substring(0, 10));
+ useMine.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", _repo.CurrentBranch.Name);
}
else if (_inProgressContext is MergeInProgress merge)
{
- useTheirs.Header = App.Text("FileCM.ResolveUsing", merge.SourceName);
- useMine.Header = App.Text("FileCM.ResolveUsing", _repo.CurrentBranch.Name);
+ useTheirs.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", merge.SourceName);
+ useMine.Header = new Views.NameHighlightedTextBlock("FileCM.ResolveUsing", _repo.CurrentBranch.Name);
}
menu.Items.Add(useTheirs);