diff --git a/xdoc/src/plugin-resources/templates/mail-lists.xml b/xdoc/src/plugin-resources/templates/mail-lists.xml index 6ae675f9..fe863180 100644 --- a/xdoc/src/plugin-resources/templates/mail-lists.xml +++ b/xdoc/src/plugin-resources/templates/mail-lists.xml @@ -19,18 +19,18 @@ #macro (displayLink $label $link) - #if ($link && $link.length() != 0) #if ($link.trim().startsWith("http://")) - $label + #else - $label + #end #else #end - #end @@ -71,19 +71,33 @@ + + + + + + #foreach ($list in $project.mailingLists) $list.name - #displayLink("Subscribe" $list.subscribe) - #displayLink("Unsubscribe" $list.unsubscribe) - #displayLink("Archive" $list.archive) + #displayLink("template.mail_lists.section.subscribe" $list.subscribe) + #displayLink("template.mail_lists.section.unsubscribe" $list.unsubscribe) + #displayLink("template.mail_lists.section.post" $list.post) + #displayLink("template.mail_lists.section.archive" $list.archive) + + #foreach ($otherArchive in $list.otherArchives) + #displayLink("template.mail_lists.section.otherArchive" $otherArchive) + #end + #end diff --git a/xdoc/src/plugin-resources/templates/templates.properties b/xdoc/src/plugin-resources/templates/templates.properties index 9cef2d17..b6634d65 100644 --- a/xdoc/src/plugin-resources/templates/templates.properties +++ b/xdoc/src/plugin-resources/templates/templates.properties @@ -99,7 +99,10 @@ template.mail_lists.section.mail_lists=These are the mailing lists that have bee 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 diff --git a/xdoc/src/plugin-resources/templates/templates_de.properties b/xdoc/src/plugin-resources/templates/templates_de.properties index 2c10c41d..0d7d2f01 100644 --- a/xdoc/src/plugin-resources/templates/templates_de.properties +++ b/xdoc/src/plugin-resources/templates/templates_de.properties @@ -100,7 +100,10 @@ template.mail_lists.section.mail_lists = Dies sind die Mailinglisten, die f 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 diff --git a/xdoc/src/plugin-resources/templates/templates_fr.properties b/xdoc/src/plugin-resources/templates/templates_fr.properties index 0f35d1c1..9faeecb4 100644 --- a/xdoc/src/plugin-resources/templates/templates_fr.properties +++ b/xdoc/src/plugin-resources/templates/templates_fr.properties @@ -100,7 +100,10 @@ template.mail_lists.section.mail_lists=Ce sont les listes de diffusion qui ont 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