From 4c19c07f5c160116c700f61d9e9f83ef895274cc Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Tue, 17 Jan 2012 16:14:57 +0400 Subject: [PATCH] typos & capitalization --- .../com/intellij/codeInspection/ex/InspectionProfileImpl.java | 2 +- .../codeInspection/ui/SingleInspectionProfilePanel.java | 2 +- .../src/messages/InspectionsBundle.properties | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ex/InspectionProfileImpl.java b/platform/lang-impl/src/com/intellij/codeInspection/ex/InspectionProfileImpl.java index ef0484fb0c64..924fcea61047 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ex/InspectionProfileImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ex/InspectionProfileImpl.java @@ -360,7 +360,7 @@ public class InspectionProfileImpl extends ProfileEx implements ModifiableModel, ApplicationManager.getApplication().invokeLater(new Runnable() { public void run() { Messages.showErrorDialog(InspectionsBundle.message("inspection.error.loading.message", 0, getName()), - InspectionsBundle.message("inspection.errors.occured.dialog.title")); + InspectionsBundle.message("inspection.errors.occurred.dialog.title")); } }, ModalityState.NON_MODAL); } diff --git a/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/SingleInspectionProfilePanel.java b/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/SingleInspectionProfilePanel.java index aa40602dbc03..efccb3a68430 100644 --- a/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/SingleInspectionProfilePanel.java +++ b/platform/lang-impl/src/com/intellij/profile/codeInspection/ui/SingleInspectionProfilePanel.java @@ -264,7 +264,7 @@ public class SingleInspectionProfilePanel extends JPanel { JPanel parent, String profileName) { - profileName = Messages.showInputDialog(parent, profileName, "Create new inspection profile", Messages.getQuestionIcon()); + profileName = Messages.showInputDialog(parent, profileName, "Create New Inspection Profile", Messages.getQuestionIcon()); if (profileName == null) return null; final ProfileManager profileManager = selectedProfile.getProfileManager(); if (ArrayUtil.find(profileManager.getAvailableProfileNames(), profileName) != -1) { diff --git a/platform/platform-resources-en/src/messages/InspectionsBundle.properties b/platform/platform-resources-en/src/messages/InspectionsBundle.properties index 64f4da21ce50..f493ecdcde2f 100644 --- a/platform/platform-resources-en/src/messages/InspectionsBundle.properties +++ b/platform/platform-resources-en/src/messages/InspectionsBundle.properties @@ -321,13 +321,13 @@ inspection.no.problems.dialog.title=Code Inspection inspection.no.problems.message=No suspicious code found inspection.problems=problems inspection.error.loading.message=Error reading inspection profile {0, choice, 0#from {1}|1#} -inspection.errors.occured.dialog.title=Errors Occured +inspection.errors.occurred.dialog.title=Errors Occurred inspection.profiles.presentable.name=Inspection profiles inspection.severity=&Severity: inspection.description.title=Description inspection.as=As {0} inspection.new.profile.dialog.title=Create new profile -inspection.unable.to.create.profile.dialog.title=Unable to create profile. +inspection.unable.to.create.profile.dialog.title=Unable to Create Profile. inspection.unable.to.create.profile.message=Inspection profile with name ''{0}'' already exists. inspection.profile.unnamed=Unnamed inspection.tool.availability.in.tree.node=(available for editor highlighting)