mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diff: rename 'Cancel' to 'Revert' button in merge
This action will undo all changes, that was made during merge, so 'cancel' could be not clear enough
This commit is contained in:
@@ -29,7 +29,7 @@ public abstract class ActionButtonPresentation {
|
||||
}
|
||||
};
|
||||
|
||||
public static ActionButtonPresentation CANCEL_WITH_PROMPT = new ActionButtonPresentation(CommonBundle.getCancelButtonText()) {
|
||||
public static ActionButtonPresentation CANCEL_WITH_PROMPT = new ActionButtonPresentation("Revert") {
|
||||
@Override
|
||||
public void run(DialogWrapper dialog) {
|
||||
if (Messages.showYesNoDialog(dialog.getRootPane(),
|
||||
|
||||
+1
-1
@@ -84,7 +84,7 @@ public class ExtMergeFiles extends BaseExternalTool {
|
||||
|
||||
if (Messages.YES == Messages.showYesNoDialog(request.getProject(),
|
||||
"Press \"Mark as Resolved\" when you finish resolving conflicts in the external tool",
|
||||
"Merge In External Tool", "Mark as Resolved", "Cancel", null)) {
|
||||
"Merge In External Tool", "Mark as Resolved", "Revert", null)) {
|
||||
result = DialogWrapper.OK_EXIT_CODE;
|
||||
}
|
||||
((MergeRequestImpl)request).getResultContent().getFile().refresh(false, false);
|
||||
|
||||
Reference in New Issue
Block a user