PR: MPXDOC-128
Submitted by: Vincent Siveton Reviewed by: Brett Porter, Arnaud Heritier Internationalization support for xdoc. Applied with changes git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@171222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
489cf92482
commit
4e177daa2d
49 files changed
+3470
-1027
No files matched your search
+83
-18
@@ -18,11 +18,11 @@
|
||||
-->
|
||||
|
||||
<document>
|
||||
|
||||
<properties>
|
||||
<title>Xdoc Properties</title>
|
||||
<author email="smor@apache.org">Stéphane MOR</author>
|
||||
<author email="vmassol@apache.org">Vincent Massol</author>
|
||||
<author email="vincent.siveton@gmail.com">Vincent Siveton</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
@@ -113,6 +113,88 @@
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
<section name="I18n Properties">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Property name</th>
|
||||
<th>Optional?</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>maven.xdoc.date.format</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Sets the format of the date to display. Defaults to "dd MMMM
|
||||
yyyy" (eg: "14 August 2002"). For details on the format, see
|
||||
SimpleDateFormat in the jdk documentation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.date.locale</td>
|
||||
<td>Yes</td>
|
||||
<td>Sets the locale used for the date. Defaults to "en", ie english.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.locale.default</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
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.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.locale.supported</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
A comma separated of locales supported by the project, ie "fr,
|
||||
en_CA"
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.bundle.src</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Specifies the location where user bundles are stored. The
|
||||
default value is ${maven.docs.src}.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.bundle</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Specifies the name of the user bundles. The default value is
|
||||
xdocs.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.ui.displayByDefault</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Boolean value to specify the display of the default language, ie
|
||||
"English [By default]". The default value is false.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.ui.localeList.asSelect</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Boolean value to display the language list as an HTML
|
||||
<select/> tag. The default value is false.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.ui.localeList.max</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
An integer value to specify the maximum number of locales
|
||||
displayes without an HTML <select/> tag. The default value is 5.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
<section name="Presentation Properties">
|
||||
<table>
|
||||
<tr>
|
||||
@@ -158,23 +240,6 @@
|
||||
If "maven.xdoc.date" is left empty, no date is shown on the site (default).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.date.format</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Sets the format of the date to display.
|
||||
Defaults to "dd MMMM yyyy" (eg: "14 August 2002").
|
||||
For details on the format, see SimpleDateFormat in the jdk documentation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.date.locale</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Sets the locale used for the date.
|
||||
Defaults to "en", ie english.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.version</td>
|
||||
<td>Yes</td>
|
||||
|
||||
Reference in new issue
Block a user