cr-IDEA-993 fix macro localization

GitOrigin-RevId: 2a69e5318f885baac09d74ea92ff0ebed9d532c7
This commit is contained in:
Dmitry.Krasilschikov
2020-01-08 14:33:55 +00:00
committed by intellij-monorepo-bot
parent bfdb17fb1f
commit 021bd510ab
3 changed files with 5 additions and 6 deletions
@@ -15,10 +15,11 @@
*/
package com.intellij.ide.macro;
import com.intellij.ide.IdeBundle;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.actionSystem.DataContext;
import com.intellij.openapi.fileChooser.*;
import com.intellij.openapi.fileChooser.FileChooser;
import com.intellij.openapi.fileChooser.FileChooserDescriptor;
import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.openapi.vfs.VirtualFile;
@@ -50,6 +51,6 @@ public class FilePromptMacro extends PromptingMacro implements SecondQueueExpand
@Override
public void cachePreview(@NotNull DataContext dataContext) {
myCachedPreview = IdeBundle.message("macro.fileprompt.preview");
myCachedPreview = "<filename>";
}
}
@@ -47,6 +47,6 @@ public final class PromptMacro extends PromptingMacro implements SecondQueueExpa
@Override
public void cachePreview(@NotNull DataContext dataContext) {
myCachedPreview = IdeBundle.message("macro.prompt.preview");
myCachedPreview = "<params>";
}
}
@@ -505,8 +505,6 @@ macro.prompt=Displays a string input dialog
macro.clipboard.content=The clipboard content
prompt.enter.parameters=Enter parameters:
title.input=Input
macro.prompt.preview=<params>
macro.fileprompt.preview=<filename>
macro.sourcepath.entry=Entry in the sourcepath the element belongs to
macro.project.sourcepath=Project's sourcepath
error.plugin.was.not.installed=Plugin "{0}" was not installed: {1}