IDEA-78472 Add mnemonics to the Revert button, rename cancel button.

https://github.com/JetBrains/intellij-community/pull/5
Change _ to & in resource files.
This commit is contained in:
Denis Dereka
2012-05-04 20:26:11 +04:00
committed by Kirill Likhodedov
parent 4eb792e7a3
commit 880714d8e8
3 changed files with 4 additions and 2 deletions
@@ -15,6 +15,7 @@
*/
package com.intellij.openapi.vcs.changes.ui;
import com.intellij.CommonBundle;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.DialogWrapper;
import com.intellij.openapi.ui.Messages;
@@ -117,6 +118,7 @@ public class RollbackChangesDialog extends DialogWrapper {
setTitle(VcsBundle.message("changes.action.rollback.custom.title", operationName).replace("_", ""));
setOKButtonText(operationName);
setCancelButtonText(CommonBundle.getCloseButtonText());
myBrowser.setToggleActionTitle("Include in " + operationName.toLowerCase());
for (Change c : 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
@@ -17,7 +17,7 @@ action.hg4idea.mq.rebase.description=Update and rebase patches
hg4idea.mercurial=Mercurial
hg4idea.error=Error
hg4idea.revert=Revert
hg4idea.revert=&Revert
hg4idea.commit=Commit
hg4idea.add.title=Add files to Mercurial