cosmetics: capitalize dialog title

This commit is contained in:
Eugene Kudelevsky
2012-06-07 16:11:09 +04:00
parent c589a13110
commit e584286529
2 changed files with 4 additions and 1 deletions
@@ -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
@@ -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();
}