template updates for internationalization, including updated all.properties
This commit is contained in:
parent
dbcc75dc20
commit
639f0450ac
86 changed files with 917 additions and 448 deletions
|
@ -4,7 +4,7 @@
|
|||
<div class="copyright">
|
||||
©${copyright.year?c}
|
||||
<#if copyright.url??>
|
||||
<a href="${copyright.url}" title="copyright">${copyright.text}</a>
|
||||
<a href="${copyright.url}" title="${i18n().copyright}">${copyright.text}</a>
|
||||
<#else>
|
||||
${copyright.text}
|
||||
</#if>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<#include "copyright.ftl">
|
||||
|
||||
All Rights Reserved. <a href="${urls.termsOfUse}" title="terms of use">Terms of Use</a>
|
||||
${i18n().all_rights_reserved} <a href="${urls.termsOfUse}" title="${i18n().terms_of_use}">${i18n().terms_of_use}</a>
|
||||
|
||||
<#include "version.ftl">
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<header id="branding" role="banner">
|
||||
<h1 class="vivo-logo"><a href="${urls.home}" title="site name"><span class="displace">${siteName}</span></a></h1>
|
||||
<h1 class="vivo-logo"><a href="${urls.home}" title="${siteName}"><span class="displace">${siteName}</span></a></h1>
|
||||
<#if siteTagline?has_content>
|
||||
<em>${siteTagline}</em>
|
||||
</#if>
|
||||
|
@ -11,31 +11,31 @@
|
|||
<#include "languageSelector.ftl">
|
||||
<#if user.loggedIn>
|
||||
<li role="listitem">${user.loginName}</li>
|
||||
<li role="listitem"><a href="${urls.logout}" title="End your session">Log out</a></li>
|
||||
<li role="listitem"><a href="${urls.logout}" title="${i18n().end_your_Session}">${i18n().log_out}</a></li>
|
||||
<#if user.hasSiteAdminAccess>
|
||||
<li role="listitem"><a href="${urls.siteAdmin}" title="Manage this site">Site Admin</a></li>
|
||||
<li role="listitem"><a href="${urls.siteAdmin}" title="${i18n().manage_site}">${i18n().site_admin}</a></li>
|
||||
</#if>
|
||||
<#else>
|
||||
<li role="listitem"><a href="${urls.login}" title="Log in to manage this site" >Log in</a></li>
|
||||
<li role="listitem"><a href="${urls.login}" title="${i18n().login_to_manage_site}" >${i18n().login_button}</a></li>
|
||||
</#if>
|
||||
<#-- List of links that appear in submenus, like the header and footer. -->
|
||||
<li role="listitem"><a href="${urls.about}" title="More details about this site">About</a></li>
|
||||
<li role="listitem"><a href="${urls.about}" title="${i18n().more_details_about_site}">${i18n().about}</a></li>
|
||||
<#if urls.contact??>
|
||||
<li role="listitem"><a href="${urls.contact}" title="Send us your feedback or ask a question">Contact Us</a></li>
|
||||
<li role="listitem"><a href="${urls.contact}" title="${i18n().send_feedback_questions}">${i18n().contact_us}</a></li>
|
||||
</#if>
|
||||
<li role="listitem"><a href="http://www.vivoweb.org/support" title="Visit the national project web site" target="blank">Support</a></li>
|
||||
<li role="listitem"><a href="${urls.index}" title="View an outline of the content in this site">Index</a></li>
|
||||
<li role="listitem"><a href="http://www.vivoweb.org/support" title="${i18n().visit_project_website}" target="blank">${i18n().support}</a></li>
|
||||
<li role="listitem"><a href="${urls.index}" title="${i18n().view_content_index}">${i18n().index}</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<section id="search" role="region">
|
||||
<fieldset>
|
||||
<legend>Search form</legend>
|
||||
<legend>${i18n().search_form}</legend>
|
||||
|
||||
<form id="search-form" action="${urls.search}" name="search" role="search" accept-charset="UTF-8" method="POST">
|
||||
<div id="search-field">
|
||||
<input type="text" name="querytext" class="search-vitro" value="${querytext!}" autocapitalize="off" />
|
||||
<input type="submit" value="Search" class="submit">
|
||||
<input type="submit" value="${i18n().search_button}" class="submit">
|
||||
</div>
|
||||
</form>
|
||||
</fieldset>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<#if selectLocale??>
|
||||
<li>
|
||||
<#list selectLocale.locales as locale>
|
||||
<a href="${selectLocale.selectLocaleUrl}?selection=${locale.code}">
|
||||
<a href="${selectLocale.selectLocaleUrl}?selection=${locale.code}" title="${i18n().select_locale}">
|
||||
<img src="${locale.imageUrl}" height="15" align="middle" alt="${locale.label}"/>
|
||||
</a>
|
||||
<#if locale_has_next>|</#if>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<nav role="navigation">
|
||||
<ul id="main-nav" role="list">
|
||||
<#list menu.items as item>
|
||||
<li role="listitem"><a href="${item.url}" <#if item.active> class="selected" </#if> title="menu item">${item.linkText}</a></li>
|
||||
<li role="listitem"><a href="${item.url}" <#if item.active> class="selected" </#if> title="${i18n().menu_item}">${item.linkText}</a></li>
|
||||
</#list>
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
<div id="searchBlock">
|
||||
<form id="searchForm" action="${urls.search}" accept-charset="UTF-8" method="POST">
|
||||
<label for="search">Search </label>
|
||||
<label for="search">${i18n().search_button}</label>
|
||||
<input type="text" name="querytext" id="search" class="search-form-item" value="${querytext!}" size="20" autocapitalize="off" />
|
||||
<input class="search-form-submit" name="submit" type="submit" value="Search" />
|
||||
<input class="search-form-submit" name="submit" type="submit" value="${i18n().search_button}" />
|
||||
</form>
|
||||
</div> <!-- end searchBlock -->
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
<#if urls.contact??>
|
||||
<li><a href="${urls.contact}">Contact Us</a></li>
|
||||
</#if>
|
||||
<li><a href="http://www.vivoweb.org/support" title="support">Support</a></li>
|
||||
<li><a href="${urls.index}" title="index">Index</a></li>
|
||||
<li><a href="http://www.vivoweb.org/support" title="${i18n().support}">${i18n().support}</a></li>
|
||||
<li><a href="${urls.index}" title="${i18n().index}">${i18n().index}</a></li>
|
|
@ -5,6 +5,6 @@
|
|||
<#-- Only show version info if user has access -->
|
||||
<#if user.hasRevisionInfoAccess>
|
||||
<div id="revision">
|
||||
Version <a href="${version.moreInfoUrl}" title="version">${version.label}</a>
|
||||
${i18n().version} <a href="${version.moreInfoUrl}" title="${i18n().version}">${version.label}</a>
|
||||
</div>
|
||||
</#if>
|
Loading…
Add table
Add a link
Reference in a new issue