Merge pull request #12 from lmann99/move-i18n.tld
Modify taglib config to correct /WEB-INF/tld/i18n.tld not found errors
This commit is contained in:
commit
87f1650003
2 changed files with 27 additions and 1 deletions
|
|
@ -2,6 +2,6 @@
|
||||||
<config-name>i18n</config-name>
|
<config-name>i18n</config-name>
|
||||||
<taglib>
|
<taglib>
|
||||||
<taglib-uri>http://org.libreplan.web/i18n</taglib-uri>
|
<taglib-uri>http://org.libreplan.web/i18n</taglib-uri>
|
||||||
<taglib-location>libreplan-webapp/WEB-INF/tld/i18n.tld</taglib-location>
|
<taglib-location>/metainfo/tld/i18n.tld</taglib-location>
|
||||||
</taglib>
|
</taglib>
|
||||||
</config>
|
</config>
|
||||||
26
libreplan-webapp/src/main/resources/metainfo/tld/i18n.tld
Normal file
26
libreplan-webapp/src/main/resources/metainfo/tld/i18n.tld
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||||
|
<taglib>
|
||||||
|
<uri>http://org.libreplan.web/i18n</uri>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
<function>
|
||||||
|
<name>_</name>
|
||||||
|
<function-class>org.libreplan.web.I18nHelper</function-class>
|
||||||
|
<function-signature>
|
||||||
|
java.lang.String _(java.lang.String name)
|
||||||
|
</function-signature>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<!-- Pass one extra argument -->
|
||||||
|
<function>
|
||||||
|
<name>__</name>
|
||||||
|
<function-class>org.libreplan.web.I18nHelper</function-class>
|
||||||
|
<function-signature>
|
||||||
|
java.lang.String _(java.lang.String name, java.lang.Object arg0)
|
||||||
|
</function-signature>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</function>
|
||||||
|
</taglib>
|
||||||
Loading…
Add table
Reference in a new issue