diff --git a/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/BranchesView.cs b/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/BranchesView.cs index 6b40f8391..4ce7c2a5f 100644 --- a/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/BranchesView.cs +++ b/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/BranchesView.cs @@ -612,7 +612,7 @@ private void OnTreeNodeGUI(BranchTreeNode node) { EditorUtility.DisplayDialog(Localization.SwitchBranchTitle, String.Format(Localization.SwitchBranchFailedDescription, node.Name), - Localization.Cancel); + Localization.Ok); } }).Start(); } @@ -627,7 +627,7 @@ private void OnTreeNodeGUI(BranchTreeNode node) { EditorUtility.DisplayDialog(Localization.SwitchBranchTitle, String.Format(Localization.SwitchBranchFailedDescription, node.Name), - Localization.Cancel); + Localization.Ok); } }).Start(); } diff --git a/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/HistoryView.cs b/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/HistoryView.cs index c0a2da7c3..e1b3ec667 100644 --- a/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/HistoryView.cs +++ b/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/HistoryView.cs @@ -679,7 +679,7 @@ private void Pull() { EditorUtility.DisplayDialog(Localization.PullActionTitle, Localization.PullFailureDescription, - Localization.Cancel); + Localization.Ok); } }) .Start(); @@ -702,7 +702,7 @@ private void Push() { EditorUtility.DisplayDialog(Localization.PushActionTitle, Localization.PushFailureDescription, - Localization.Cancel); + Localization.Ok); } }) .Start();