From e35e0c1c79abc4f6fb1a77f583af8eba81514ccb Mon Sep 17 00:00:00 2001 From: ltheussl Date: Mon, 24 Oct 2005 02:42:12 +0000 Subject: [PATCH] MPXDOC-177: Internationalized sites have no images git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@327927 13f79535-47bb-0310-9956-ffa450edef68 --- xdoc/plugin.jelly | 27 ++++++++++++++++++++++----- xdoc/plugin.properties | 2 +- xdoc/xdocs/changes.xml | 1 + xdoc/xdocs/properties.xml | 9 +++++---- 4 files changed, 29 insertions(+), 10 deletions(-) diff --git a/xdoc/plugin.jelly b/xdoc/plugin.jelly index 38ea23c9..3ddabd07 100644 --- a/xdoc/plugin.jelly +++ b/xdoc/plugin.jelly @@ -885,12 +885,26 @@ - + + ${maven.xdoc.locale.default}, ${maven.xdoc.locale.supported} + + + + + + + + + + + + + - + @@ -917,7 +931,7 @@ - + @@ -939,10 +953,13 @@ - - + + + + diff --git a/xdoc/plugin.properties b/xdoc/plugin.properties index 3e404ddc..ff1ecbff 100644 --- a/xdoc/plugin.properties +++ b/xdoc/plugin.properties @@ -99,7 +99,7 @@ maven.xdoc.date.locale=${maven.xdoc.locale.default} # The default locale (if null, it is the default locale for this instance of the Java Virtual Machine) # By default it is en to ensure backward compatible -maven.xdoc.locale.default=EN +maven.xdoc.locale.default=en # A comma separated of locales supported by the project maven.xdoc.locale.supported= diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index 57c00756..79f39904 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -27,6 +27,7 @@ + Internationalized sites have no images. New goal xdoc:sitemap to generate a sitemap. Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated :
    diff --git a/xdoc/xdocs/properties.xml b/xdoc/xdocs/properties.xml index 48f31e36..f2e177ee 100644 --- a/xdoc/xdocs/properties.xml +++ b/xdoc/xdocs/properties.xml @@ -169,7 +169,8 @@ maven.xdoc.date.locale Yes - DEPRECATED. Use the property maven.xdoc.locale.default instead.
    Sets the locale used for the date. Defaults to ${maven.xdoc.locale.default}. + DEPRECATED. Use the property maven.xdoc.locale.default instead.
    + Sets the locale used for the date. Defaults to ${maven.xdoc.locale.default}. @@ -178,15 +179,15 @@ Sets the default locale used for the translation. If null, it is the default locale for this instance of the Java Virtual Machine - Defaults to "en", ie english, to ensure backward compatible. + Defaults to "en", ie english, to ensure backwards compatibility. maven.xdoc.locale.supported Yes - A comma separated of locales supported by the project, ie "fr, - en_CA" + A comma separated list of locales supported by the project, + ie "fr, en_CA".