i18n template

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@180101 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-06-05 15:22:25 +00:00
parent 900449d57e
commit 1330677e6e
2 changed files with 6 additions and 6 deletions

View File

@ -206,7 +206,7 @@ public class DoxiaMojo
outputFile.getParentFile().mkdirs(); outputFile.getParentFile().mkdirs();
} }
siteRenderer.generateDocument( new FileWriter( outputFile ), template, attributes, sink ); siteRenderer.generateDocument( new FileWriter( outputFile ), template, attributes, sink, Locale.ENGLISH );
} }
} }
@ -472,7 +472,7 @@ public class DoxiaMojo
sink.close(); sink.close();
siteRenderer.generateDocument( new FileWriter( new File( outputDirectory, outputFileName ) ), template, siteRenderer.generateDocument( new FileWriter( new File( outputDirectory, outputFileName ) ), template,
attributes, sink ); attributes, sink, Locale.ENGLISH );
} }
private void generateProjectReportsPage( InputStream siteDescriptor ) private void generateProjectReportsPage( InputStream siteDescriptor )
@ -547,7 +547,7 @@ public class DoxiaMojo
sink.body_(); sink.body_();
siteRenderer.generateDocument( new FileWriter( new File( outputDirectory, outputFileName ) ), template, siteRenderer.generateDocument( new FileWriter( new File( outputDirectory, outputFileName ) ), template,
attributes, sink ); attributes, sink, Locale.ENGLISH );
} }
private void copyResources( String outputDirectory ) private void copyResources( String outputDirectory )

View File

@ -102,14 +102,14 @@
</div> </div>
</div> </div>
<div id="breadcrumbs"> <div id="breadcrumbs">
<div class="xleft">Last Published: $currentDate</div> <div class="xleft">$i18n.getString( "site-plugin", $locale, "template.lastpublished" ): $currentDate</div>
<div class="xright">#links()</div> <div class="xright">#links()</div>
<div class="clear"> <div class="clear">
<hr/> <hr/>
</div> </div>
</div> </div>
<div id="leftColumn"><div id="navcolumn">#mainMenu()<a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"> <div id="leftColumn"><div id="navcolumn">#mainMenu()<a href="http://maven.apache.org/" title="$i18n.getString( "site-plugin", $locale, "template.builtby" ) Maven" id="poweredBy">
<img alt="Built by Maven" src="$relativePath/images/logos/maven-feather.png"></img> <img alt="$i18n.getString( "site-plugin", $locale, "template.builtby" ) Maven" src="$relativePath/images/logos/maven-feather.png"></img>
</a> </a>
</div></div> </div></div>
<div id="bodyColumn"> <div id="bodyColumn">