You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2010/08/01 22:00:29 UTC

svn commit: r981302 - in /maven/plugins/trunk/maven-linkcheck-plugin/src/main: java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java resources/linkcheck-report.properties

Author: dennisl
Date: Sun Aug  1 20:00:29 2010
New Revision: 981302

URL: http://svn.apache.org/viewvc?rev=981302&view=rev
Log:
o Rename properties to be more consistent

Modified:
    maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java
    maven/plugins/trunk/maven-linkcheck-plugin/src/main/resources/linkcheck-report.properties

Modified: maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java?rev=981302&r1=981301&r2=981302&view=diff
==============================================================================
--- maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java (original)
+++ maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java Sun Aug  1 20:00:29 2010
@@ -1039,10 +1039,10 @@ public class LinkcheckReport
 
         getSink().tableRow();
         getSink().tableHeaderCell();
-        getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.table.summary.parameter" ) );
+        getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.summary.table.parameter" ) );
         getSink().tableHeaderCell_();
         getSink().tableHeaderCell();
-        getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.table.summary.value" ) );
+        getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.summary.table.value" ) );
         getSink().tableHeaderCell_();
         getSink().tableRow_();
 
@@ -1050,7 +1050,7 @@ public class LinkcheckReport
         getSink().tableCell();
         getSink().rawText(
                            i18n.getString( "linkcheck-report", locale,
-                                           "report.linkcheck.table.summary.httpFollowRedirect" ) );
+                                           "report.linkcheck.summary.table.httpFollowRedirect" ) );
         getSink().tableCell_();
         getSink().tableCell();
         getSink().text( String.valueOf( httpFollowRedirect ) );
@@ -1062,12 +1062,12 @@ public class LinkcheckReport
         getSink()
                  .rawText(
                            i18n
-                               .getString( "linkcheck-report", locale, "report.linkcheck.table.summary.httpMethod" ) );
+                               .getString( "linkcheck-report", locale, "report.linkcheck.summary.table.httpMethod" ) );
         getSink().tableCell_();
         getSink().tableCell();
         if ( StringUtils.isEmpty( httpMethod ) )
         {
-            getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.table.summary.none" ) );
+            getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.summary.table.none" ) );
         }
         else
         {
@@ -1079,7 +1079,7 @@ public class LinkcheckReport
         getSink().tableRow();
         getSink().tableCell();
         getSink().rawText(
-                           i18n.getString( "linkcheck-report", locale, "report.linkcheck.table.summary.offline" ) );
+                           i18n.getString( "linkcheck-report", locale, "report.linkcheck.summary.table.offline" ) );
         getSink().tableCell_();
         getSink().tableCell();
         getSink().text( String.valueOf( offline ) );
@@ -1090,12 +1090,12 @@ public class LinkcheckReport
         getSink().tableCell();
         getSink().rawText(
                            i18n.getString( "linkcheck-report", locale,
-                                           "report.linkcheck.table.summary.excludedPages" ) );
+                                           "report.linkcheck.summary.table.excludedPages" ) );
         getSink().tableCell_();
         getSink().tableCell();
         if ( getExcludedPages() == null || getExcludedPages().length == 0 )
         {
-            getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.table.summary.none" ) );
+            getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.summary.table.none" ) );
         }
         else
         {
@@ -1108,12 +1108,12 @@ public class LinkcheckReport
         getSink().tableCell();
         getSink().rawText(
                            i18n.getString( "linkcheck-report", locale,
-                                           "report.linkcheck.table.summary.excludedLinks" ) );
+                                           "report.linkcheck.summary.table.excludedLinks" ) );
         getSink().tableCell_();
         getSink().tableCell();
         if ( excludedLinks == null || excludedLinks.length == 0 )
         {
-            getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.table.summary.none" ) );
+            getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.summary.table.none" ) );
         }
         else
         {
@@ -1126,12 +1126,12 @@ public class LinkcheckReport
         getSink().tableCell();
         getSink().rawText(
                            i18n.getString( "linkcheck-report", locale,
-                                           "report.linkcheck.table.summary.excludedHttpStatusErrors" ) );
+                                           "report.linkcheck.summary.table.excludedHttpStatusErrors" ) );
         getSink().tableCell_();
         getSink().tableCell();
         if ( excludedHttpStatusErrors == null || excludedHttpStatusErrors.length == 0 )
         {
-            getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.table.summary.none" ) );
+            getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.summary.table.none" ) );
         }
         else
         {
@@ -1144,12 +1144,12 @@ public class LinkcheckReport
         getSink().tableCell();
         getSink().rawText(
                            i18n.getString( "linkcheck-report", locale,
-                                           "report.linkcheck.table.summary.excludedHttpStatusWarnings" ) );
+                                           "report.linkcheck.summary.table.excludedHttpStatusWarnings" ) );
         getSink().tableCell_();
         getSink().tableCell();
         if ( excludedHttpStatusWarnings == null || excludedHttpStatusWarnings.length == 0 )
         {
-            getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.table.summary.none" ) );
+            getSink().text( i18n.getString( "linkcheck-report", locale, "report.linkcheck.summary.table.none" ) );
         }
         else
         {
@@ -1360,7 +1360,7 @@ public class LinkcheckReport
                         detail ? i18n.getString( "linkcheck-report", locale,
                                                  "report.linkcheck.detail.table.documents" )
                                         : i18n.getString( "linkcheck-report", locale,
-                                                          "report.linkcheck.table.summary.documents" ) );
+                                                          "report.linkcheck.summary.table.documents" ) );
         getSink().tableHeaderCell_();
         // TODO it is due to DOXIA-78
         getSink().rawText( "<th colspan=\"4\" align=\"center\">" );

Modified: maven/plugins/trunk/maven-linkcheck-plugin/src/main/resources/linkcheck-report.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-linkcheck-plugin/src/main/resources/linkcheck-report.properties?rev=981302&r1=981301&r2=981302&view=diff
==============================================================================
--- maven/plugins/trunk/maven-linkcheck-plugin/src/main/resources/linkcheck-report.properties (original)
+++ maven/plugins/trunk/maven-linkcheck-plugin/src/main/resources/linkcheck-report.properties Sun Aug  1 20:00:29 2010
@@ -23,17 +23,17 @@ report.linkcheck.overview=The Linkcheck 
 report.linkcheck.summary=Summary
 report.linkcheck.summary.overview1=The following table presents the analysis parameters.
 report.linkcheck.summary.overview2=The following table presents the summary of all checked documents.
-report.linkcheck.table.summary.parameter=Parameter
-report.linkcheck.table.summary.value=Value
-report.linkcheck.table.summary.httpFollowRedirect=HTTP redirects activated
-report.linkcheck.table.summary.httpMethod=HTTP method used
-report.linkcheck.table.summary.excludedPages=Pages ignored
-report.linkcheck.table.summary.excludedLinks=Links ignored
-report.linkcheck.table.summary.excludedHttpStatusErrors=HTTP errors ignored
-report.linkcheck.table.summary.excludedHttpStatusWarnings=HTTP warning ignored
-report.linkcheck.table.summary.none=None
-report.linkcheck.table.summary.offline=Offline
-report.linkcheck.table.summary.documents=Number Of Documents Analyzed
+report.linkcheck.summary.table.parameter=Parameter
+report.linkcheck.summary.table.value=Value
+report.linkcheck.summary.table.httpFollowRedirect=HTTP redirects activated
+report.linkcheck.summary.table.httpMethod=HTTP method used
+report.linkcheck.summary.table.excludedPages=Pages ignored
+report.linkcheck.summary.table.excludedLinks=Links ignored
+report.linkcheck.summary.table.excludedHttpStatusErrors=HTTP errors ignored
+report.linkcheck.summary.table.excludedHttpStatusWarnings=HTTP warning ignored
+report.linkcheck.summary.table.none=None
+report.linkcheck.summary.table.offline=Offline
+report.linkcheck.summary.table.documents=Number Of Documents Analyzed
 report.linkcheck.table.links=Links
 report.linkcheck.table.totalLinks=Total
 report.linkcheck.table.validLinks=Valid