From 2add0478e63edbf429379ccb1093926f3cbc013f Mon Sep 17 00:00:00 2001 From: nik Date: Tue, 25 Apr 2017 16:42:38 +0300 Subject: [PATCH] Ant: replace 'ANT' by 'Ant' in plugin messages Originally Ant was an acronym (Another Neat Tool) but now it's written everywhere as 'Ant' so it's better to always use this name in our plugin for consistency. --- .../src/messages/IdeBundle.properties | 2 +- plugins/ant/src/META-INF/plugin.xml | 2 +- .../lang/ant/config/impl/AntConfigurationImpl.java | 2 +- resources-en/src/messages/AntBundle.properties | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/platform/platform-resources-en/src/messages/IdeBundle.properties b/platform/platform-resources-en/src/messages/IdeBundle.properties index 6cc803c918e2..aedd3cde472f 100644 --- a/platform/platform-resources-en/src/messages/IdeBundle.properties +++ b/platform/platform-resources-en/src/messages/IdeBundle.properties @@ -213,7 +213,7 @@ filetype.description.unknown=UNKNOWN filetype.description.idea.workspace=Idea Workspace filetype.description.xhtml=XHTML files filetype.description.xml=XML files -filetype.description.ant=ANT buildfiles +filetype.description.ant=Ant buildfiles error.name.cannot.be.empty=Name cannot be empty editbox.customfiletype.line.comment=Line comment: editbox.customfiletype.block.comment.start=Block comment start: diff --git a/plugins/ant/src/META-INF/plugin.xml b/plugins/ant/src/META-INF/plugin.xml index 9ad1648a6269..76d407aa2b94 100644 --- a/plugins/ant/src/META-INF/plugin.xml +++ b/plugins/ant/src/META-INF/plugin.xml @@ -3,7 +3,7 @@ AntSupport 1.0 - Editing, maintaining and running ANT build scripts inside IntelliJ IDEA. + Editing, maintaining and running Ant build scripts inside IntelliJ IDEA. JetBrains com.intellij.lang.ant.resources.AntActionsBundle diff --git a/plugins/ant/src/com/intellij/lang/ant/config/impl/AntConfigurationImpl.java b/plugins/ant/src/com/intellij/lang/ant/config/impl/AntConfigurationImpl.java index 564ba38e2d73..a4c9454e59e1 100644 --- a/plugins/ant/src/com/intellij/lang/ant/config/impl/AntConfigurationImpl.java +++ b/plugins/ant/src/com/intellij/lang/ant/config/impl/AntConfigurationImpl.java @@ -636,7 +636,7 @@ public class AntConfigurationImpl extends AntConfigurationBase implements Persis } AntSupport.markFileAsAntFile(file, xmlFile.getProject(), true); if (!AntDomFileDescription.isAntFile(((XmlFile)xmlFile))) { - throw new AntNoFileException("the file is not recognized as an ANT file", file); + throw new AntNoFileException("the file is not recognized as an Ant file", file); } final AntBuildFileImpl buildFile = new AntBuildFileImpl((XmlFile)xmlFile, this); myBuildFiles.add(buildFile); diff --git a/resources-en/src/messages/AntBundle.properties b/resources-en/src/messages/AntBundle.properties index a16ca2a97b1b..d19bded9457d 100644 --- a/resources-en/src/messages/AntBundle.properties +++ b/resources-en/src/messages/AntBundle.properties @@ -39,15 +39,15 @@ build.finished.status.ant.build.completed.with.errors.warnings=Ant build complet {0, choice, 0#no errors|1#one error|2#{0} errors} and {1, choice, 0#no warnings|1#one warning|2#{1} warnings} \ in {2} at {3} project.jdk.not.specified.error.message=Project JDK not specified -jdk.with.name.not.configured.error.message=JDK ({0}) needed to run this ANT target is not configured. Please update your settings in the Project Structure dialog. -jdk.with.name.bad.configured.error.message=JDK ({0}) needed to run this ANT target is incorrectly configured. Please update your settings in the Project Structure dialog. +jdk.with.name.not.configured.error.message=JDK ({0}) needed to run this Ant target is not configured. Please update your settings in the Project Structure dialog. +jdk.with.name.bad.configured.error.message=JDK ({0}) needed to run this Ant target is incorrectly configured. Please update your settings in the Project Structure dialog. ant.installation.not.configured.error.message=Ant installation is not configured. Check out Ant build file properties cancel.button=Cancel background.button=&Background ant.build.progress.dialog.title=Ant Build Progress ant.build.local.history.label=Running Ant: ''{0}'' -run.ant.error.dialog.title=Run ANT -cant.run.ant.error.dialog.title=Cannot Run ANT +run.ant.error.dialog.title=Run Ant +cant.run.ant.error.dialog.title=Cannot Run Ant could.not.start.process.error.dialog.title=Could Not Start Process ant.build.started.status.message=Ant build started canceled.by.user.error.message=Canceled by user @@ -103,8 +103,8 @@ ant.jar.not.found.in.directory.error.message=ant.jar not found in directory ''{0 ant.jar.is.directory.error.message={0} is directory apache.ant.with.version.string.presentation=Apache Ant version {0} cant.read.from.ant.jar.error.message=Can''t read from {0} -cant.run.ant.no.ant.configured.error.message=No ANT configured -cant.run.ant.ant.reference.is.not.configured.error.message=ANT ''{0}'' is not configured +cant.run.ant.no.ant.configured.error.message=No Ant configured +cant.run.ant.ant.reference.is.not.configured.error.message=Ant ''{0}'' is not configured ant.event.after.compilation.presentable.name=After Compilation ant.event.before.compilation.presentable.name=Before Compilation ant.event.before.run.debug.presentable.name=Before Run/Debug