diff --git a/plugins/maven/src/main/java/org/jetbrains/idea/maven/project/actions/MavenShowEffectivePom.java b/plugins/maven/src/main/java/org/jetbrains/idea/maven/project/actions/MavenShowEffectivePom.java index 5d2f520d2f47..11b0b80ad8f5 100644 --- a/plugins/maven/src/main/java/org/jetbrains/idea/maven/project/actions/MavenShowEffectivePom.java +++ b/plugins/maven/src/main/java/org/jetbrains/idea/maven/project/actions/MavenShowEffectivePom.java @@ -1,5 +1,6 @@ package org.jetbrains.idea.maven.project.actions; +import com.intellij.CommonBundle; import com.intellij.lang.xml.XMLLanguage; import com.intellij.notification.Notification; import com.intellij.notification.NotificationListener; @@ -34,7 +35,7 @@ public class MavenShowEffectivePom extends AnAction implements DumbAware { private static void showUnsupportedNotification(@NotNull final Project project) { new Notification(MavenUtil.MAVEN_NOTIFICATION_GROUP, "Unsupported action", - "You have to enable Settings -> Maven -> Importing -> \"Use Maven3 to import project\" option to use Show Effective POM action", + "You have to enable " + CommonBundle.settingsActionPath() + " | Maven | Importing | \"Use Maven3 to import project\" option to use Show Effective POM action", NotificationType.ERROR, new NotificationListener.Adapter() { @Override diff --git a/plugins/maven/src/main/java/org/jetbrains/idea/maven/wizards/MavenProjectImportProvider.java b/plugins/maven/src/main/java/org/jetbrains/idea/maven/wizards/MavenProjectImportProvider.java index a6445abb71fa..b54da50c1396 100644 --- a/plugins/maven/src/main/java/org/jetbrains/idea/maven/wizards/MavenProjectImportProvider.java +++ b/plugins/maven/src/main/java/org/jetbrains/idea/maven/wizards/MavenProjectImportProvider.java @@ -20,6 +20,7 @@ */ package org.jetbrains.idea.maven.wizards; +import com.intellij.CommonBundle; import com.intellij.ide.util.projectWizard.ModuleWizardStep; import com.intellij.ide.util.projectWizard.ProjectWizardStepFactory; import com.intellij.ide.util.projectWizard.WizardContext; @@ -56,7 +57,7 @@ public class MavenProjectImportProvider extends ProjectImportProvider { } if (!isElementEnabled(project)) { - stringBuilder.append(" (project is ignored. See Settings -> Maven -> Ignored Files)"); + stringBuilder.append(" (project is ignored. See ").append(CommonBundle.settingsActionPath()).append(" | Maven | Ignored Files)"); } return stringBuilder.toString(); diff --git a/plugins/maven/src/main/resources/RunnerBundle.properties b/plugins/maven/src/main/resources/RunnerBundle.properties index 66293070af5a..a12ded3b17df 100644 --- a/plugins/maven/src/main/resources/RunnerBundle.properties +++ b/plugins/maven/src/main/resources/RunnerBundle.properties @@ -33,7 +33,7 @@ maven.java.home.env=Use JAVA_HOME maven.java.home.undefined=JAVA_HOME environment variable not defined maven.java.home.invalid=JAVA_HOME environment vairable does not point to valid JRE ({0}) maven.java.not.found=Cannot find JRE ''{0}'' -maven.java.not.found.default.config=Cannot find JRE ''{0}''. You can specify JRE to run maven goals in Settings -> Maven -> Runner +maven.java.not.found.default.config=Cannot find JRE ''{0}''. You can specify JRE to run maven goals in Settings | Maven | Runner maven.run.configuration.name=Maven maven.run.configuration.description=Maven build