diff --git a/plugins/android/resources/messages/AndroidBundle.properties b/plugins/android/resources/messages/AndroidBundle.properties index 25136fc22d19..c02686496a4d 100644 --- a/plugins/android/resources/messages/AndroidBundle.properties +++ b/plugins/android/resources/messages/AndroidBundle.properties @@ -55,6 +55,7 @@ select.target.dialog.text=Please select Android Target default.activity.not.found.error=Default Activity not found activity.not.launchable.error=The Intent Filter of the Activity must contain {0} action new.typed.resource.command.name=New {0} resource file +new.typed.resource.dialog.title=New {0} Resource File new.file.dialog.text=Enter a new file name new.typed.resource.action.description=Create a new {0} resource file new.typed.resource.action.title={0} resource file diff --git a/plugins/android/src/org/jetbrains/android/actions/CreateTypedResourceFileAction.java b/plugins/android/src/org/jetbrains/android/actions/CreateTypedResourceFileAction.java index 604fced099e3..278f4fc3c1b8 100644 --- a/plugins/android/src/org/jetbrains/android/actions/CreateTypedResourceFileAction.java +++ b/plugins/android/src/org/jetbrains/android/actions/CreateTypedResourceFileAction.java @@ -84,7 +84,9 @@ public class CreateTypedResourceFileAction extends CreateElementActionBase { @Override protected PsiElement[] invokeDialog(Project project, PsiDirectory directory) { MyInputValidator validator = new MyInputValidator(project, directory); - Messages.showInputDialog(project, AndroidBundle.message("new.file.dialog.text"), getCommandName(), Messages.getQuestionIcon(), "", validator); + Messages.showInputDialog(project, AndroidBundle.message("new.file.dialog.text"), + AndroidBundle.message("new.typed.resource.dialog.title", myResourcePresentableName), + Messages.getQuestionIcon(), "", validator); return validator.getCreatedElements(); }