From bf5f320353d10d8ceb8cda4e2bd67c78bf4d92dc Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Thu, 4 Oct 2012 15:23:47 +0400 Subject: [PATCH] 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. --- .../intellij/openapi/vcs/changes/actions/RollbackAction.java | 2 +- plugins/git4idea/src/git4idea/i18n/GitBundle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/RollbackAction.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/RollbackAction.java index c5f095327f1a..39340ed0b281 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/RollbackAction.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/RollbackAction.java @@ -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"); } diff --git a/plugins/git4idea/src/git4idea/i18n/GitBundle.properties b/plugins/git4idea/src/git4idea/i18n/GitBundle.properties index 9233f1f1d785..75ddd95324ce 100644 --- a/plugins/git4idea/src/git4idea/i18n/GitBundle.properties +++ b/plugins/git4idea/src/git4idea/i18n/GitBundle.properties @@ -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