MPLUGIN-91: misleading icon on list of goals

o replaced icons by yes/no

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@634970 13f79535-47bb-0310-9956-ffa450edef68
master
Vincent Siveton 2008-03-08 14:09:17 +00:00
parent 50014a564f
commit a4eea2af39
4 changed files with 15 additions and 35 deletions

View File

@ -344,13 +344,13 @@ public class PluginReport
if ( PluginUtils.isMavenReport( mojo.getImplementation(), project ) ) if ( PluginUtils.isMavenReport( mojo.getImplementation(), project ) )
{ {
sink.tableCell(); sink.tableCell();
iconValid( locale ); sink.text( getBundle( locale ).getString( "report.plugin.isReport" ) );
sink.tableCell_(); sink.tableCell_();
} }
else else
{ {
sink.tableCell(); sink.tableCell();
iconError( locale ); sink.text( getBundle( locale ).getString( "report.plugin.isNotReport" ) );
sink.tableCell_(); sink.tableCell_();
} }
} }
@ -590,25 +590,5 @@ public class PluginReport
return jdk; return jdk;
} }
private void iconError( Locale locale )
{
sink.figure();
sink.figureCaption();
sink.text( getBundle( locale ).getString( "report.plugin.icon.error" ) );
sink.figureCaption_();
sink.figureGraphics( "images/icon_error_sml.gif" );
sink.figure_();
}
private void iconValid( Locale locale )
{
sink.figure();
sink.figureCaption();
sink.text( getBundle( locale ).getString( "report.plugin.icon.valid" ) );
sink.figureCaption_();
sink.figureGraphics( "images/icon_success_sml.gif" );
sink.figure_();
}
} }
} }

View File

@ -44,5 +44,5 @@ report.plugin.usage.plugins=To use the plugin goals in your POM or parent POM
report.plugin.usage.reporting=To use the report goals in your POM or parent POM report.plugin.usage.reporting=To use the report goals in your POM or parent POM
report.plugin.configuration.end=For more information, see {"Guide to Configuring Plug-ins", http://maven.apache.org/guides/mini/guide-configuring-plugins.html} report.plugin.configuration.end=For more information, see {"Guide to Configuring Plug-ins", http://maven.apache.org/guides/mini/guide-configuring-plugins.html}
report.plugin.icon.valid=Yes report.plugin.isReport=Yes
report.plugin.icon.error=No report.plugin.isNotReport=No

View File

@ -21,8 +21,8 @@ report.plugin.name=Plugin-Dokumentation
report.plugin.description=Dieser Bericht dokumentiert die Goals des Plugins und deren Parameter. report.plugin.description=Dieser Bericht dokumentiert die Goals des Plugins und deren Parameter.
report.plugin.title=Plugin Dokumentation report.plugin.title=Plugin Dokumentation
report.plugin.goals.nogoal=Keine Goals verfügbar. report.plugin.goals.nogoal=Keine Goals verf\u00fcgbar.
report.plugin.goals.intro=Verfügbare Goals dieses Plugins: report.plugin.goals.intro=Verf\u00fcgbare Goals dieses Plugins:
report.plugin.goals.column.goal=Goal report.plugin.goals.column.goal=Goal
report.plugin.goals.column.isMavenReport=Bericht? report.plugin.goals.column.isMavenReport=Bericht?
report.plugin.goals.column.description=Beschreibung report.plugin.goals.column.description=Beschreibung
@ -30,7 +30,7 @@ report.plugin.goal.nodescription=Keine Beschreibung.
report.plugin.goal.deprecated=Missbilligt. report.plugin.goal.deprecated=Missbilligt.
report.plugin.systemrequirements=Systemvoraussetzungen report.plugin.systemrequirements=Systemvoraussetzungen
report.plugin.systemrequirements.intro=Die folgende Tabelle listet die Mindestanforderungen zum Ausführen dieses Plugins auf: report.plugin.systemrequirements.intro=Die folgende Tabelle listet die Mindestanforderungen zum Ausf\u00fchren dieses Plugins auf:
report.plugin.systemrequirements.nominimum=Keine Mindestanforderung. report.plugin.systemrequirements.nominimum=Keine Mindestanforderung.
report.plugin.systemrequirements.maven=Maven report.plugin.systemrequirements.maven=Maven
report.plugin.systemrequirements.jdk=JDK report.plugin.systemrequirements.jdk=JDK
@ -38,11 +38,11 @@ report.plugin.systemrequirements.memory=Arbeitsspeicher
report.plugin.systemrequirements.diskspace=Festplatte report.plugin.systemrequirements.diskspace=Festplatte
report.plugin.usage=Gebrauch report.plugin.usage=Gebrauch
report.plugin.usage.intro=Sie können "mvn -up" ausführen, um die aktuellste Version dieses Plugins herunterzuladen oder die gewünschte Version in der Plugin-Konfiguration Ihres Projekts angeben: report.plugin.usage.intro=Sie k\u00f6nnen "mvn -up" ausf\u00fchren, um die aktuellste Version dieses Plugins herunterzuladen oder die gew\u00fcnschte Version in der Plugin-Konfiguration Ihres Projekts angeben:
report.plugin.usage.pluginManagement=Zum Definieren der Plugin-Version in der Eltern-POM report.plugin.usage.pluginManagement=Zum Definieren der Plugin-Version in der Eltern-POM
report.plugin.usage.plugins=Zum Verwenden der Plugin-Goals während des Build-Vorgangs eines Projekts report.plugin.usage.plugins=Zum Verwenden der Plugin-Goals w\u00e4hrend des Build-Vorgangs eines Projekts
report.plugin.usage.reporting=Zum Erzeugen der Berichte für die Projektdokumentation report.plugin.usage.reporting=Zum Erzeugen der Berichte f\u00fcr die Projektdokumentation
report.plugin.configuration.end=Für weitergehende Informationen lesen Sie bitte den Artikel {"Guide to Configuring Plug-ins", http://maven.apache.org/guides/mini/guide-configuring-plugins.html}. report.plugin.configuration.end=F\u00fcr weitergehende Informationen lesen Sie bitte den Artikel {"Guide to Configuring Plug-ins", http://maven.apache.org/guides/mini/guide-configuring-plugins.html}.
report.plugin.icon.valid=Ja report.plugin.isReport=Ja
report.plugin.icon.error=Nein report.plugin.isNotReport=Nein

View File

@ -44,5 +44,5 @@ report.plugin.usage.plugins=Pour utiliser les goals du plugin dans votre POM ou
report.plugin.usage.reporting=Pour utiliser les goals de rapports dans votre POM ou POM parent report.plugin.usage.reporting=Pour utiliser les goals de rapports dans votre POM ou POM parent
report.plugin.configuration.end=Pour plus d'informations, consultez {"Guide to Configuring Plug-ins", http://maven.apache.org/guides/mini/guide-configuring-plugins.html} report.plugin.configuration.end=Pour plus d'informations, consultez {"Guide to Configuring Plug-ins", http://maven.apache.org/guides/mini/guide-configuring-plugins.html}
report.plugin.icon.valid=Oui report.plugin.isReport=Oui
report.plugin.icon.error=Non report.plugin.isNotReport=Non