You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2014/12/08 23:10:11 UTC
svn commit: r1643943 - in
/maven/plugins/trunk/maven-project-info-reports-plugin/src/main:
java/org/apache/maven/report/projectinfo/LicenseReport.java
resources/project-info-report.properties
resources/project-info-report_de.properties
Author: michaelo
Date: Mon Dec 8 22:10:11 2014
New Revision: 1643943
URL: http://svn.apache.org/r1643943
Log:
Added localization strings for verbatim copy of a URL-based license
Modified:
maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/LicenseReport.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report.properties
maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report_de.properties
Modified: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/LicenseReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/LicenseReport.java?rev=1643943&r1=1643942&r2=1643943&view=diff
==============================================================================
--- maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/LicenseReport.java (original)
+++ maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/LicenseReport.java Mon Dec 8 22:10:11 2014
@@ -367,9 +367,8 @@ public class LicenseReport
bodyStart = licenseContentLC.indexOf( ">", bodyStart ) + 1;
String body = licenseContent.substring( bodyStart, bodyEnd );
- // TODO Localize the following the strings
- link( licenseUrl.toExternalForm(), "[Original text]" );
- paragraph( "Copy of the license follows." );
+ link( licenseUrl.toExternalForm(), getI18nString( "originalText" ) );
+ paragraph( getI18nString( "copy" ) );
body = replaceRelativeLinks( body, baseURL( licenseUrl ).toExternalForm() );
sink.rawText( body );
Modified: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report.properties?rev=1643943&r1=1643942&r2=1643943&view=diff
==============================================================================
--- maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report.properties (original)
+++ maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report.properties Mon Dec 8 22:10:11 2014
@@ -141,6 +141,8 @@ report.license.name
report.license.nolicense = No license is defined for this project.
report.license.overview.intro = Typically the licenses listed for the project are that of the project itself, and not of dependencies.
report.license.overview.title = Overview
+report.license.originalText = [Original text]
+report.license.copy = Copy of the license follows:
report.license.title = Project License
report.mailing-lists.column.archive = Archive
report.mailing-lists.column.name = Name
Modified: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report_de.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report_de.properties?rev=1643943&r1=1643942&r2=1643943&view=diff
==============================================================================
--- maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report_de.properties (original)
+++ maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report_de.properties Mon Dec 8 22:10:11 2014
@@ -140,6 +140,8 @@ report.license.name
report.license.nolicense = Es wurde keine Lizenz f\u00fcr dieses Projekt definiert.
report.license.overview.intro = Die aufgelisteten Lizenzen beziehen sich typischerweise nur auf das Projekt selbst, nicht auf seine Abh\u00e4ngigkeiten.
report.license.overview.title = \u00dcbersicht
+report.license.originalText = [Originaltext]
+report.license.copy = Nachfolgend ist eine Kopie der Lizenz zu sehen:
report.license.title = Projektlizenz
report.mailing-lists.column.archive = Archiv
report.mailing-lists.column.name = Name