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
|
@ -7,25 +7,25 @@
|
|||
<#if copyright??>
|
||||
<small>©${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>
|
||||
| <a class="terms" href="${urls.termsOfUse}" title="terms of use">Terms of Use</a></small> |
|
||||
| <a class="terms" href="${urls.termsOfUse}" title="${i18n().terms_of_use}">Terms of Use</a></small> |
|
||||
</#if>
|
||||
Powered by <a class="powered-by-vitro" href="http://vitro.sourceforge.net"><strong>Vitro</strong></a>
|
||||
<#if user.hasRevisionInfoAccess>
|
||||
| Version <a href="${version.moreInfoUrl}" title="version">${version.label}</a>
|
||||
| Version <a href="${version.moreInfoUrl}" title="${i18n().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().about}">${i18n().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().contact_us}">${i18n().contact_us}</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().support}">${i18n().support}</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</footer>
|
||||
|
|
|
@ -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="vitro-logo"><a title="VITRO | web-based ontology & instance editor" href="${urls.home}"><span class="displace">${siteName}</span></a></h1>
|
||||
<h1 class="vitro-logo"><a title="${siteName}" href="${urls.home}"><span class="displace">${siteName}</span></a></h1>
|
||||
<#-- Since we are using a graphic text for the tagline, we won't render ${siteTagline}
|
||||
<#if siteTagline?has_content>
|
||||
<em>${siteTagline}</em>
|
||||
|
@ -10,19 +10,19 @@
|
|||
<nav role="navigation">
|
||||
<ul id="header-nav" role="list">
|
||||
<#include "languageSelector.ftl">
|
||||
<li role="listitem"><a href="${urls.index}" title="index">Index</a></li>
|
||||
<li role="listitem"><a href="${urls.index}" title="${i18n().index}">${i18n().index}</a></li>
|
||||
<#if user.loggedIn>
|
||||
<#if user.hasSiteAdminAccess>
|
||||
<li role="listitem"><a href="${urls.siteAdmin}" title="site admin">Site Admin</a></li>
|
||||
<li role="listitem"><a href="${urls.siteAdmin}" title="${i18n().site_admin}">${i18n().site_admin}</a></li>
|
||||
</#if>
|
||||
<li>
|
||||
<ul class="dropdown">
|
||||
<li id="user-menu"><a href="#" title="user">${user.loginName}</a>
|
||||
<li id="user-menu"><a href="#" title="${i18n().current_user}">${user.loginName}</a>
|
||||
<ul class="sub_menu">
|
||||
<#if urls.myAccount??>
|
||||
<li role="listitem"><a href="${urls.myAccount}" title="my account">My account</a></li>
|
||||
<li role="listitem"><a href="${urls.myAccount}" title="${i18n().myAccount_heading}">${i18n().myAccount_heading}</a></li>
|
||||
</#if>
|
||||
<li role="listitem"><a href="${urls.logout}" title="log out">Log out</a></li>
|
||||
<li role="listitem"><a href="${urls.logout}" title="${i18n().log_out}">${i18n().log_out}</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -31,7 +31,7 @@
|
|||
${scripts.add('<script type="text/javascript" src="${urls.base}/js/userMenu/userMenuUtils.js"></script>')}
|
||||
|
||||
<#else>
|
||||
<li role="listitem"><a class="log-out" title="log in to manage this site" href="${urls.login}">Log in</a></li>
|
||||
<li role="listitem"><a class="log-out" title="${i18n().login_to_manage_site}" href="${urls.login}">${i18n().login_button}</a></li>
|
||||
</#if>
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -5,7 +5,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>>${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>
|
||||
|
@ -25,6 +25,6 @@
|
|||
|
||||
<!--[if lte IE 8]>
|
||||
<noscript>
|
||||
<p class="ie-alert">This site uses HTML elements that are not recognized by Internet Explorer 8 and below in the absence of JavaScript. As a result, the site will not be rendered appropriately. To correct this, please either enable JavaScript, upgrade to Internet Explorer 9, or use another browser. Here are the <a href="http://www.enable-javascript.com" title="javascript instructions">instructions for enabling JavaScript in your web browser</a>.</p>
|
||||
<p class="ie-alert">${i18n().javascript_ie_alert_text} Here are the <a href="http://www.enable-javascript.com" title="javascript instructions">${i18n().to_enable_javascript}</a>.</p>
|
||||
</noscript>
|
||||
<![endif]-->
|
|
@ -15,34 +15,34 @@
|
|||
<#include "menu.ftl">
|
||||
|
||||
<section id="intro" role="region">
|
||||
<h2>What is VITRO?</h2>
|
||||
<h2>${i18n().what_is_vitro}</h2>
|
||||
|
||||
<p>Vitro is a general-purpose web-based ontology and instance editor with customizable public browsing. Vitro is a Java web application that runs in a Tomcat servlet container.</p>
|
||||
<p>With Vitro, you can:</p>
|
||||
<p>${i18n().vitro_description}</p>
|
||||
<p>${i18n().with_vitro}</p>
|
||||
|
||||
<ul>
|
||||
<li>Create or load ontologies in OWL format</li>
|
||||
<li>Edit instances and relationships</li>
|
||||
<li>Build a public web site to display your data</li>
|
||||
<li>Search your data</li>
|
||||
<li>${i18n().vitro_bullet_one}</li>
|
||||
<li>${i18n().vitro_bullet_two}</li>
|
||||
<li>${i18n().vitro_bullet_three}</li>
|
||||
<li>${i18n().vitro_bullet_four}</li>
|
||||
</ul>
|
||||
|
||||
<section id="search-home" role="region">
|
||||
<h3>Search VITRO <span class="search-filter-selected">filteredSearch</span></h3>
|
||||
<h3>${i18n().search_vitro} <span class="search-filter-selected">filteredSearch</span></h3>
|
||||
|
||||
<fieldset>
|
||||
<legend>Search form</legend>
|
||||
<form id="search-homepage" action="${urls.search}" name="search-home" role="search" method="post" >
|
||||
<div id="search-home-field">
|
||||
<input type="text" name="querytext" class="search-homepage" value="${querytext!}" autocapitalize="off" />
|
||||
<input type="submit" value="Search" class="search" />
|
||||
<input type="submit" value="${i18n().search_button}" class="search" />
|
||||
<input type="hidden" name="classgroup" class="search-homepage" value="" autocapitalize="off" />
|
||||
</div>
|
||||
|
||||
<a class="filter-search filter-default" href="#" title="Filter search"><span class="displace">filter search</span></a>
|
||||
<a class="filter-search filter-default" href="#" title="${i18n().filter_search}"><span class="displace">${i18n().filter_search}</span></a>
|
||||
|
||||
<ul id="filter-search-nav">
|
||||
<li><a class="active" href="">All</a></li>
|
||||
<li><a class="active" href="">${i18n().all_capitalized}</a></li>
|
||||
<@lh.allClassGroupNames vClassGroups! />
|
||||
</ul>
|
||||
</form>
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
|
||||
<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="search">
|
||||
<input type="submit" value="${i18n().search_button}" class="search">
|
||||
</div>
|
||||
</form>
|
||||
</fieldset>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue