Bug fix: replace "Settings -> Maven" to "File | Settings | Maven"

+review CR-IC-1564
This commit is contained in:
Sergey Evdokimov
2013-07-18 16:56:00 +04:00
parent 5a9943dfc8
commit f4f0e48e05
3 changed files with 5 additions and 3 deletions
@@ -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",
"<html>You have to <a href='#'>enable</a> <b>Settings -> Maven -> Importing -> \"Use Maven3 to import project\"</b> option to use Show Effective POM action</html>",
"<html>You have to <a href='#'>enable</a> <b>" + CommonBundle.settingsActionPath() + " | Maven | Importing | \"Use Maven3 to import project\"</b> option to use Show Effective POM action</html>",
NotificationType.ERROR,
new NotificationListener.Adapter() {
@Override
@@ -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();
@@ -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