mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add ellipsis to the RollbackAction name, because it shows the rollback dialog.
But don't add it to the GitRollbackEnvironment.getActionName(), because it is used in dialog titles and on the confirmation button.
This commit is contained in:
@@ -70,7 +70,7 @@ public class RollbackAction extends AnAction implements DumbAware {
|
||||
hasReversibleFiles(e, project);
|
||||
e.getPresentation().setEnabled(isEnabled);
|
||||
String operationName = RollbackUtil.getRollbackOperationName(project);
|
||||
e.getPresentation().setText(operationName);
|
||||
e.getPresentation().setText(operationName + "...");
|
||||
if (isEnabled) {
|
||||
e.getPresentation().setDescription(UIUtil.removeMnemonic(operationName) + " selected changes");
|
||||
}
|
||||
|
||||
@@ -358,7 +358,7 @@ reset.type=Reset &Type:
|
||||
reset.validate.tooltip=Validate the commit pointer and check the content of referenced commit.
|
||||
reset.validate=&Validate
|
||||
resetting.title=Resetting HEAD...
|
||||
revert.action.name=&Revert...
|
||||
revert.action.name=&Revert
|
||||
revert.reverting.mulitple=Reverting {0} files
|
||||
revert.reverting=Reverting files...
|
||||
revision.graph=RevisionGraph
|
||||
|
||||
Reference in New Issue
Block a user