* themes/wilma/i18n/ added property files for storing theme dependent translations
* themes/wilma/templates/footer.ftl replaced english words with i18n variables
This commit is contained in:
parent
ecfe5161c7
commit
31c7a968c8
3 changed files with 32 additions and 7 deletions
12
themes/wilma/i18n/all.properties
Normal file
12
themes/wilma/i18n/all.properties
Normal file
|
@ -0,0 +1,12 @@
|
|||
#
|
||||
# Text strings for the controllers and templates
|
||||
#
|
||||
# Default (English)
|
||||
#
|
||||
|
||||
menu_termuse = Terms of Use
|
||||
menu_powered = Powered by
|
||||
menu_about = About
|
||||
menu_contactus = Contact Us
|
||||
menu_support = Support
|
||||
menu_version = Version
|
13
themes/wilma/i18n/all_es.properties
Normal file
13
themes/wilma/i18n/all_es.properties
Normal file
|
@ -0,0 +1,13 @@
|
|||
#
|
||||
# Text strings for the controllers and templates
|
||||
#
|
||||
# Spanish -
|
||||
#
|
||||
# TODO: verify translations from Google Translate are correct
|
||||
|
||||
menu_termuse = Términos de uso
|
||||
menu_powered = Desarrollado por
|
||||
menu_about = Respecto a
|
||||
menu_contactus = Contáctenos
|
||||
menu_support = Apoyar
|
||||
menu_version = Versión
|
|
@ -1,5 +1,5 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#assign i18n = i18n() >
|
||||
</div> <!-- #wrapper-content -->
|
||||
|
||||
<footer role="contentinfo">
|
||||
|
@ -11,21 +11,21 @@
|
|||
<#else>
|
||||
${copyright.text}
|
||||
</#if>
|
||||
| <a class="terms" href="${urls.termsOfUse}" title="terms of use">Terms of Use</a></small> |
|
||||
| <a class="terms" href="${urls.termsOfUse}" title="${i18n.menu_termuse}">${i18n.menu_termuse}</a></small> |
|
||||
</#if>
|
||||
Powered by <a class="powered-by-vivo" href="http://vivoweb.org" target="_blank" title="powered by VIVO"><strong>VIVO</strong></a>
|
||||
${i18n.menu_powered} <a class="powered-by-vivo" href="http://vivoweb.org" target="_blank" title="${i18n.menu_powered} VIVO"><strong>VIVO</strong></a>
|
||||
<#if user.hasRevisionInfoAccess>
|
||||
| Version <a href="${version.moreInfoUrl}" title="version">${version.label}</a>
|
||||
| ${i18n.menu_version} <a href="${version.moreInfoUrl}" title="version">${version.label}</a>
|
||||
</#if>
|
||||
</p>
|
||||
|
||||
<nav role="navigation">
|
||||
<ul id="footer-nav" role="list">
|
||||
<li role="listitem"><a href="${urls.about}" title="about">About</a></li>
|
||||
<li role="listitem"><a href="${urls.about}" title="${i18n.menu_about}">${i18n.menu_about}</a></li>
|
||||
<#if urls.contact??>
|
||||
<li role="listitem"><a href="${urls.contact}" title="contact us">Contact Us</a></li>
|
||||
<li role="listitem"><a href="${urls.contact}" title="${i18n.menu_contactus}">${i18n.menu_contactus}</a></li>
|
||||
</#if>
|
||||
<li role="listitem"><a href="http://www.vivoweb.org/support" target="blank" title="support">Support</a></li>
|
||||
<li role="listitem"><a href="http://www.vivoweb.org/support" target="blank" title="${i18n.menu_support}">${i18n.menu_support}</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</footer>
|
||||
|
|
Loading…
Add table
Reference in a new issue