better names for 'duplicate' actions (following IDEA-154167)

This commit is contained in:
Dmitry Batrak
2016-04-08 16:49:59 +03:00
parent 502fc37b7e
commit ed1d6904a1
3 changed files with 4 additions and 4 deletions
@@ -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