mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java: Fixed mnemonic in Extract Method preview (IDEA-190179)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.refactoring.extractMethod.preview;
|
||||
|
||||
import com.intellij.ide.IdeBundle;
|
||||
import com.intellij.ide.actions.exclusion.ExclusionHandler;
|
||||
import com.intellij.openapi.Disposable;
|
||||
import com.intellij.openapi.actionSystem.CommonDataKeys;
|
||||
@@ -184,7 +185,7 @@ class PreviewPanel extends BorderLayoutPanel implements Disposable, DataProvider
|
||||
myRerunButton.addActionListener(e -> rerunRefactoring());
|
||||
add(myRerunButton);
|
||||
|
||||
myCancelButton = new JButton(RefactoringBundle.message("refactoring.extract.method.preview.button.cancel"));
|
||||
myCancelButton = new JButton(IdeBundle.message("button.cancel"));
|
||||
DialogUtil.registerMnemonic(myRefactorButton);
|
||||
myCancelButton.addActionListener(e -> close());
|
||||
add(myCancelButton);
|
||||
|
||||
@@ -801,9 +801,8 @@ refactoring.extract.method.preview.command=Extracting method
|
||||
refactoring.extract.method.preview.group.method=Method to extract
|
||||
refactoring.extract.method.preview.group.original=Original code fragment
|
||||
refactoring.extract.method.preview.group.duplicates=Duplicate code fragments
|
||||
refactoring.extract.method.preview.button.refactor=Do &Refactor
|
||||
refactoring.extract.method.preview.button.refactor=&Do Refactor
|
||||
refactoring.extract.method.preview.button.rerun=R&erun Refactoring
|
||||
refactoring.extract.method.preview.button.cancel=&Cancel
|
||||
|
||||
search.for.references=Search for re&ferences
|
||||
0.is.not.an.identifier=<b><code>{0}</code></b> is not a correct identifier to use in <b><code>{1}</code></b>
|
||||
|
||||
Reference in New Issue
Block a user