You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by lt...@apache.org on 2005/09/08 19:24:08 UTC
svn commit: r279589 - in
/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates:
downloads.jelly templates.properties templates_de.properties
templates_fr.properties
Author: ltheussl
Date: Thu Sep 8 10:24:06 2005
New Revision: 279589
URL: http://svn.apache.org/viewcvs?rev=279589&view=rev
Log:
Add i18n for Downloads page
Modified:
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/downloads.jelly
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates.properties
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_de.properties
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties
Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/downloads.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/downloads.jelly?rev=279589&r1=279588&r2=279589&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/downloads.jelly (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/downloads.jelly Thu Sep 8 10:24:06 2005
@@ -29,11 +29,17 @@
<document>
<properties>
- <title>Downloads</title>
+ <title key="template.downloads.title"
+ bundle="plugin-resources.templates.templates" >
+ <message key="template.downloads.title"
+ bundle="plugin-resources.templates.templates" />
+ </title>
</properties>
<body>
- <section name="Downloads">
+ <section key="template.downloads.section.title"
+ bundle="plugin-resources.templates.templates"
+ name="Downloads">
<!-- Do not generate the report if the maven.xdoc.distributionUrl
property is not defined -->
@@ -41,8 +47,11 @@
<j:when test="${empty(context.getVariable('maven.xdoc.distributionUrl'))}">
<p>
- You must define the <code>maven.xdoc.distributionUrl</code>
- property if you wish to generate the download report.
+ <message key="template.downloads.section.no_distURL1"
+ bundle="plugin-resources.templates.templates" />
+ <code>maven.xdoc.distributionUrl</code>
+ <message key="template.downloads.section.no_distURL2"
+ bundle="plugin-resources.templates.templates" />
</p>
</j:when>
@@ -51,14 +60,16 @@
<j:choose>
<j:when test="${size(pom.versions) == 0}">
<p>
- This project has not released any version yet.
+ <message key="template.downloads.section.no_Downloads"
+ bundle="plugin-resources.templates.templates" />
</p>
</j:when>
<j:otherwise>
<!-- Find list of versions by looking up the <version> element
in the POM -->
<p>
- List of available downloads.
+ <message key="template.downloads.section.available"
+ bundle="plugin-resources.templates.templates" />
</p>
<!-- Generate a table with download links and release notes. The release notes
@@ -67,9 +78,11 @@
<table>
<tr>
- <th>Download links</th>
+ <th><message key="template.downloads.section.table.header1"
+ bundle="plugin-resources.templates.templates" /></th>
<j:if test="${changesAsFile.exists()}">
- <th>Release notes</th>
+ <th><message key="template.downloads.section.table.header2"
+ bundle="plugin-resources.templates.templates" /></th>
</j:if>
</tr>
@@ -89,7 +102,9 @@
</td>
<j:if test="${changesAsFile.exists()}">
<td>
- <a href="announcements/announcement-${version}.txt">${version} release notes</a>
+ <a href="announcements/announcement-${version}.txt">${version}
+ <message key="template.downloads.section.release.notes"
+ bundle="plugin-resources.templates.templates" /></a>
</td>
</j:if>
</tr>
Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates.properties?rev=279589&r1=279588&r2=279589&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates.properties (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates.properties Thu Sep 8 10:24:06 2005
@@ -63,6 +63,17 @@
template.dependencies.section.url=URL
template.dependencies.section.comment=Comment
+# For downloads.xml
+template.downloads.title=Downloads
+template.downloads.section.title=Downloads
+template.downloads.section.no_distURL1=You must define the
+template.downloads.section.no_distURL2=property if you wish to generate the download report.
+template.downloads.section.no_Downloads=This project has not released any version yet.
+template.downloads.section.available=List of available downloads.
+template.downloads.section.table.header1=Download links
+template.downloads.section.table.header2=Release notes
+template.downloads.section.release.notes=release notes
+
# For issue-tracking.xml
template.issue_tracking.title=Issue Tracking
template.issue_tracking.section.title=Issue Tracking
Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_de.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_de.properties?rev=279589&r1=279588&r2=279589&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_de.properties (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_de.properties Thu Sep 8 10:24:06 2005
@@ -65,6 +65,17 @@
template.dependencies.section.url = URL
template.dependencies.section.comment=Kommentar
+# For downloads.xml
+template.downloads.title=Downloads
+template.downloads.section.title=Verfügbare Downloads
+template.downloads.section.no_distURL1=Sie müssen
+template.downloads.section.no_distURL2=definieren um den Download Report zu erzeugen.
+template.downloads.section.no_Downloads=Dieses Projekt hat noch keine Version herausgebracht.
+template.downloads.section.available=Liste verfügbarer Downloads.
+template.downloads.section.table.header1=Download Link
+template.downloads.section.table.header2=Anmerkungen
+template.downloads.section.release.notes=Anmerkungen
+
# For issue-tracking.xml
template.issue_tracking.title = Fehlerbehandlung
template.issue_tracking.section.title = Fehlerbehandlung
Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties?rev=279589&r1=279588&r2=279589&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/templates_fr.properties Thu Sep 8 10:24:06 2005
@@ -65,6 +65,17 @@
template.dependencies.section.url=URL
template.dependencies.section.comment=Commentaire
+# For downloads.xml
+template.downloads.title=Téléchargement
+template.downloads.section.title=Téléchargement
+template.downloads.section.no_distURL1=Vous devez definir la propriété
+template.downloads.section.no_distURL2=si vous souhaitez produire le rapport de téléchargement.
+template.downloads.section.no_Downloads=Ce projet n'a libéré aucune version encore.
+template.downloads.section.available=Liste de téléchargements disponibles.
+template.downloads.section.table.header1=Lien au téléchargement
+template.downloads.section.table.header2=Remarques
+template.downloads.section.release.notes=Remarques
+
# For issue-tracking.xml
template.issue_tracking.title=Suivi des incidents
template.issue_tracking.section.title=Suivi des incidents
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org