template updates for internationalization, including updated all.properties

This commit is contained in:
tworrall 2013-05-20 15:36:37 -04:00
parent dbcc75dc20
commit 639f0450ac
86 changed files with 917 additions and 448 deletions

View file

@ -1,9 +1,9 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<div>
<p>This page is not yet configured.</p>
<p>${i18n().page_not_configured}</p>
<p>Implement a <a href="${urls.base}/display?uri=${page.pageUri?url}&switchToDisplayModel=1">link</a> to configure this page if the user has permission.</p>
<p>${i18n().implement_capitalized} <a href="${urls.base}/display?uri=${page.pageUri?url}&switchToDisplayModel=1" title="${i18n().a_link}">${i18n().a_link}</a> ${i18n().configure_page_if_permissable}</p>

View file

@ -9,7 +9,7 @@
<#if htmlExists>
${.globals[variableName]}
<#else>
No HTML specified.
${i18n().no_html_specified}
</#if>

View file

@ -21,14 +21,14 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/browseIndex.css
<#else>
<#assign pagination>
<#if (pages?has_content && pages?size > 1)>
pages:
${i18n().pages}:
<ul class="pagination">
<#list pages as page>
<#if page.selected>
<li class="selectedNavPage">${page.text}</li>
<#else>
<#-- RY Ideally the urls would be generated by the controller; see search-pagedResults.ftl -->
<li><a href="${urls.base}/individuallist?${page.param}&vclassId=${vclassId?url}" title="page text">${page.text}</a></li>
<li><a href="${urls.base}/individuallist?${page.param}&vclassId=${vclassId?url}" title="${i18n().page_text}">${page.text}</a></li>
</#if>
</#list>
</ul>

View file

@ -10,7 +10,7 @@
<#assign sparqlResults = .globals[variableName]/>
</#if>
<h3>Sparql Query Results</h3>
<h3>${i18n().sparql_query_results}</h3>
<#if resultsExist>
<#assign numberRows = sparqlResults?size/>
<#assign firstRow = false/>
@ -31,7 +31,7 @@
</div>
</#list>
<#else>
No results were returned.
${i18n().no_results_returned}
</#if>
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/menupage/sparqlresults.css" />')}

View file

@ -4,29 +4,29 @@
<#if pages?has_content >
<table>
<th>Title</th><th>URI</th>
<th>${i18n().title_capitalized}</th><th>URI</th>
<#list pages as pagex>
<tr>
<td>${(pagex.title)!'-untitled-'}</td>
<td>${(pagex.title)!i18n().untitled}</td>
<#if pagex.pageUri??>
<td><a href="${urls.base}/individual?uri=${pagex.pageUri?url}&switchToDisplayModel=1">${pagex.pageUri}</a></td>
<td><a href="${urls.base}/individual?uri=${pagex.pageUri?url}&switchToDisplayModel=1" title="${i18n().page_uri}">${pagex.pageUri}</a></td>
<#else>
<td>URI for page not defined</td>
<td>${i18n().uri_not_defined}</td>
</#if>
</tr>
</#list>
</table>
<#else>
<p>There are no pages defined yet.</p>
<p>${i18n().no_pages_defined}</p>
</#if>
<form id="addIndividualClass" action="${urls.base}/editRequestDispatch" method="get">
<input type="hidden" name="typeOfNew" value="http://vitro.mannlib.cornell.edu/ontologies/display/1.1#Page">
<input type="hidden" name="switchToDisplayModel" value="1">
<input type="hidden" name="editForm" value="edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.NewIndividualFormGenerator" role="input">
<input type="submit" id="submit" value="Add Page" role="button">
<input type="submit" id="submit" value="${i18n().add_page}" role="button">
</form>
</div>