mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
better names for 'duplicate' actions (following IDEA-154167)
This commit is contained in:
@@ -109,7 +109,7 @@ public class DuplicateAction extends EditorAction {
|
||||
public void update(final Editor editor, final Presentation presentation, final DataContext dataContext) {
|
||||
super.update(editor, presentation, dataContext);
|
||||
if (editor.getSelectionModel().hasSelection()) {
|
||||
presentation.setText(EditorBundle.message("action.duplicate.block"), true);
|
||||
presentation.setText(EditorBundle.message("action.duplicate.selection"), true);
|
||||
}
|
||||
else {
|
||||
presentation.setText(EditorBundle.message("action.duplicate.line"), true);
|
||||
|
||||
@@ -159,8 +159,8 @@ action.EditorKillToWordStart.text=Kill to Word Start
|
||||
action.EditorKillToWordEnd.text=Kill to Word End
|
||||
action.EditorKillRegion.text=Kill Selected Region
|
||||
action.EditorKillRingSave.text=Save to Kill Ring
|
||||
action.EditorDuplicate.text=Duplicate Line or Block
|
||||
action.EditorDuplicateLines.text=Duplicate Lines
|
||||
action.EditorDuplicate.text=Duplicate Line or Selection
|
||||
action.EditorDuplicateLines.text=Duplicate Entire Lines
|
||||
action.EditorSelectWord.text=Extend Selection
|
||||
action.EditorUnSelectWord.text=Shrink Selection
|
||||
action.EditorToggleInsertState.text=Toggle Insert/Overwrite
|
||||
|
||||
@@ -18,7 +18,7 @@ hector.highlighting.level.title=Highlighting Level
|
||||
hector.none.slider.label=None
|
||||
hector.syntax.slider.label=Syntax
|
||||
hector.inspections.slider.label=Inspections
|
||||
action.duplicate.block=&Duplicate Block
|
||||
action.duplicate.selection=&Duplicate Selection
|
||||
action.duplicate.line=&Duplicate Line
|
||||
increase.editor.font=Increase Font Size
|
||||
decrease.editor.font=Decrease Font Size
|
||||
|
||||
Reference in New Issue
Block a user