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();
}
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();
siteRenderer.generateDocument( new FileWriter( new File( outputDirectory, outputFileName ) ), template,
attributes, sink );
attributes, sink, Locale.ENGLISH );
}
private void generateProjectReportsPage( InputStream siteDescriptor )
@ -547,7 +547,7 @@ public class DoxiaMojo
sink.body_();
siteRenderer.generateDocument( new FileWriter( new File( outputDirectory, outputFileName ) ), template,
attributes, sink );
attributes, sink, Locale.ENGLISH );
}
private void copyResources( String outputDirectory )

View File

@ -102,14 +102,14 @@
</div>
</div>
<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="clear">
<hr/>
</div>
</div>
<div id="leftColumn"><div id="navcolumn">#mainMenu()<a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
<img alt="Built by Maven" src="$relativePath/images/logos/maven-feather.png"></img>
<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="$i18n.getString( "site-plugin", $locale, "template.builtby" ) Maven" src="$relativePath/images/logos/maven-feather.png"></img>
</a>
</div></div>
<div id="bodyColumn">