You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/02/10 23:01:57 UTC

svn commit: r376875 - in /maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates: mail-lists.xml templates.properties templates_de.properties templates_fr.properties

Author: ltheussl
Date: Fri Feb 10 14:01:56 2006
New Revision: 376875

URL: http://svn.apache.org/viewcvs?rev=376875&view=rev
Log:
Improve Mailing List template: show Post and Other Archives

Modified:
    maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/mail-lists.xml
    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/mail-lists.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/mail-lists.xml?rev=376875&r1=376874&r2=376875&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/mail-lists.xml (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/mail-lists.xml Fri Feb 10 14:01:56 2006
@@ -19,18 +19,18 @@
 
 
 #macro (displayLink $label $link)
-<td>
     #if ($link && $link.length() != 0) 
         #if ($link.trim().startsWith("http://"))
-            <a href="$escape.getText($link)">$label</a>
+            <a href="$escape.getText($link)"><message key="$label"
+                    bundle="plugin-resources.templates.templates" /></a>
         #else
-            <a href="mailto:$link">$label</a>
+            <a href="mailto:$link"><message key="$label"
+                    bundle="plugin-resources.templates.templates" /></a>
         #end 
     #else
         <message key="template.mail_lists.not_available"
             bundle="plugin-resources.templates.templates" />
     #end
-</td>
 #end
 
 <document>
@@ -72,18 +72,32 @@
                                 bundle="plugin-resources.templates.templates" />
                         </th>
                         <th>
+                            <message key="template.mail_lists.section.post"
+                                bundle="plugin-resources.templates.templates" />
+                        </th>
+                        <th>
                             <message key="template.mail_lists.section.archive"
                                 bundle="plugin-resources.templates.templates" />
                         </th>
+                        <th>
+                            <message key="template.mail_lists.section.otherArchives"
+                                bundle="plugin-resources.templates.templates" />
+                        </th>
                     </tr>
                 </thead>
                 <tbody>
                     #foreach ($list in $project.mailingLists)
                     <tr>
                         <td>$list.name</td>
-                        #displayLink("Subscribe" $list.subscribe)
-                        #displayLink("Unsubscribe" $list.unsubscribe)
-                        #displayLink("Archive" $list.archive)
+                        <td>#displayLink("template.mail_lists.section.subscribe" $list.subscribe)</td>
+                        <td>#displayLink("template.mail_lists.section.unsubscribe" $list.unsubscribe)</td>
+                        <td>#displayLink("template.mail_lists.section.post" $list.post)</td>
+                        <td>#displayLink("template.mail_lists.section.archive" $list.archive)</td>
+                        <td>
+                          #foreach ($otherArchive in $list.otherArchives)
+                            #displayLink("template.mail_lists.section.otherArchive" $otherArchive)
+                          #end
+                        </td>
                     </tr>
                     #end
                 </tbody>

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=376875&r1=376874&r2=376875&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 Fri Feb 10 14:01:56 2006
@@ -99,7 +99,10 @@
 template.mail_lists.section.list_name=List Name
 template.mail_lists.section.subscribe=Subscribe
 template.mail_lists.section.unsubscribe=Unsubscribe
+template.mail_lists.section.post=Post
 template.mail_lists.section.archive=Archive
+template.mail_lists.section.otherArchives=Other Archives
+template.mail_lists.section.otherArchive=Other Archive
 
 # For maven-reports.xml
 template.maven_reports.title=Project Reports

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=376875&r1=376874&r2=376875&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 Fri Feb 10 14:01:56 2006
@@ -100,7 +100,10 @@
 template.mail_lists.section.list_name = Name der Mailingliste
 template.mail_lists.section.subscribe = Abonnieren
 template.mail_lists.section.unsubscribe = Abbestellen
+template.mail_lists.section.post = Anschreiben
 template.mail_lists.section.archive = Archiv
+template.mail_lists.section.otherArchives = Andere Archive
+template.mail_lists.section.otherArchive = Anderes Archiv
 
 # For maven-reports.xml
 template.maven_reports.title = Projekt Reporte

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=376875&r1=376874&r2=376875&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 Fri Feb 10 14:01:56 2006
@@ -100,7 +100,10 @@
 template.mail_lists.section.list_name=Nom de la liste
 template.mail_lists.section.subscribe=Souscription
 template.mail_lists.section.unsubscribe=Annulation de souscription
+template.mail_lists.section.post=Poster
 template.mail_lists.section.archive=Archive
+template.mail_lists.section.otherArchives=Autres Archives
+template.mail_lists.section.otherArchive=Autre Archive
 
 # For maven-reports.xml
 template.maven_reports.title=Rapports sur le projet