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
|
@ -18,7 +18,7 @@
|
|||
<#assign selected = 'class="selected" ' />
|
||||
<#assign classGroupList>
|
||||
<section id="home-stats" class="home-sections" >
|
||||
<h4>Statistics</h4>
|
||||
<h4>${i18n().statistics}</h4>
|
||||
<ul id="stats">
|
||||
<#assign groupCount = 1>
|
||||
<#list classGroups as group>
|
||||
|
@ -31,6 +31,7 @@
|
|||
<#if !firstPopulatedClassGroup??>
|
||||
<#assign firstPopulatedClassGroup = group />
|
||||
</#if>
|
||||
<#-- MAY BE NECESSARY FOR A SITE TO UPDATE THIS LINE BASED ON HOW IT CUSTOMIZES CLASS GROUP NAMES -->
|
||||
<#if group.displayName != "equipment" && group.displayName != "courses" >
|
||||
<li>
|
||||
<a href="#">
|
||||
|
@ -61,14 +62,14 @@
|
|||
<#if firstPopulatedClassGroup??>
|
||||
${classGroupList}
|
||||
<#else>
|
||||
<h3 id="noContentMsg">There is currently no content in the system, or you need to create class groups and assign your classes to them.</h3>
|
||||
<h3 id="noContentMsg">${i18n().no_content_create_groups_classes}</h3>
|
||||
|
||||
<#if user.loggedIn>
|
||||
<#if user.hasSiteAdminAccess>
|
||||
<p>You can <a href="${urls.siteAdmin}" title="Manage content">add content and manage this site</a> from the Site Administration page.</p>
|
||||
<p>${i18n().you_can} <a href="${urls.siteAdmin}" title="${i18n().add_content_manage_site}">${i18n().add_content_manage_site}</a>${i18n().from_site_admin_page}</p>
|
||||
</#if>
|
||||
<#else>
|
||||
<p>Please <a href="${urls.login}" title="log in to manage this site">log in</a> to manage content.</p>
|
||||
<p>${i18n().please} <a href="${urls.login}" title="${i18n().login_to_manage_site}">${i18n().log_in}</a> ${i18n().to_manage_content.}</p>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
|
|
|
@ -115,11 +115,11 @@ name will be used as the label. -->
|
|||
|
||||
<#macro showAddLink propertyLocalName label url>
|
||||
<#if propertyLocalName == "informationResourceInAuthorship" || propertyLocalName == "webpage" || propertyLocalName == "hasResearchArea">
|
||||
<a class="add-${propertyLocalName}" href="${url}" title="Manage list of ${label?lower_case}">
|
||||
<img class="add-individual" src="${urls.images}/individual/manage-icon.png" alt="manage" /></a>
|
||||
<a class="add-${propertyLocalName}" href="${url}" title="${i18n().manage_list_of} ${label?lower_case}">
|
||||
<img class="add-individual" src="${urls.images}/individual/manage-icon.png" alt="${i18n().manage}" /></a>
|
||||
<#else>
|
||||
<a class="add-${propertyLocalName}" href="${url}" title="Add new ${label?lower_case} entry">
|
||||
<img class="add-individual" src="${urls.images}/individual/addIcon.gif" alt="add" /></a>
|
||||
<a class="add-${propertyLocalName}" href="${url}" title="${i18n().add_new} ${label?lower_case} ${i18n().entry}">
|
||||
<img class="add-individual" src="${urls.images}/individual/addIcon.gif" alt="${i18n().add}" /></a>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
||||
|
@ -151,7 +151,7 @@ name will be used as the label. -->
|
|||
</#macro>
|
||||
|
||||
<#macro showEditLink propertyLocalName url>
|
||||
<a class="edit-${propertyLocalName}" href="${url}" title="edit this entry"><img class="edit-individual" src="${urls.images}/individual/editIcon.gif" alt="edit" /></a>
|
||||
<a class="edit-${propertyLocalName}" href="${url}" title="${i18n().edit_entry}"><img class="edit-individual" src="${urls.images}/individual/editIcon.gif" alt="${i18n().edit_entry}" /></a>
|
||||
</#macro>
|
||||
|
||||
<#macro deleteLink propertyLocalName statement>
|
||||
|
@ -162,14 +162,14 @@ name will be used as the label. -->
|
|||
</#macro>
|
||||
|
||||
<#macro showDeleteLink propertyLocalName url>
|
||||
<a class="delete-${propertyLocalName}" href="${url}" title="delete this entry"><img class="delete-individual" src="${urls.images}/individual/deleteIcon.gif" alt="delete" /></a>
|
||||
<a class="delete-${propertyLocalName}" href="${url}" title="${i18n().delete_entry}"><img class="delete-individual" src="${urls.images}/individual/deleteIcon.gif" alt="${i18n().delete_entry}" /></a>
|
||||
</#macro>
|
||||
|
||||
<#macro verboseDisplay property>
|
||||
<#local verboseDisplay = property.verboseDisplay!>
|
||||
<#if verboseDisplay?has_content>
|
||||
<section class="verbosePropertyListing">
|
||||
<a class="propertyLink" href="${verboseDisplay.propertyEditUrl}" title="name">${verboseDisplay.localName}</a>
|
||||
<a class="propertyLink" href="${verboseDisplay.propertyEditUrl}" title="${i18n().name}">${verboseDisplay.localName}</a>
|
||||
(<span>${property.type?lower_case}</span> property);
|
||||
order in group: <span>${verboseDisplay.displayRank};</span>
|
||||
display level: <span>${verboseDisplay.displayLevel};</span>
|
||||
|
@ -194,15 +194,15 @@ name will be used as the label. -->
|
|||
<#-- Don't assume that if the mainImage property is populated, there is a thumbnail image (though that is the general case).
|
||||
If there's a mainImage statement but no thumbnail image, treat it as if there is no image. -->
|
||||
<#if (mainImage.statements)?has_content && thumbUrl?has_content>
|
||||
<a href="${individual.imageUrl}" title="individual photo">
|
||||
<img class="individual-photo" src="${thumbUrl}" title="click to view larger image" alt="${individual.name}" width="${imageWidth!}" />
|
||||
<a href="${individual.imageUrl}" title="${i18n().alt_thumbnail_photo}">
|
||||
<img class="individual-photo" src="${thumbUrl}" title="${i18n().click_to_view_larger}" alt="${individual.name}" width="${imageWidth!}" />
|
||||
</a>
|
||||
<@editingLinks "${mainImage.localName}" mainImage.first() editable />
|
||||
<#else>
|
||||
<#local imageLabel><@addLinkWithLabel mainImage editable "Photo" /></#local>
|
||||
<#local imageLabel><@addLinkWithLabel mainImage editable "${i18n().photo}" /></#local>
|
||||
${imageLabel}
|
||||
<#if showPlaceholder == "always" || (showPlaceholder="with_add_link" && imageLabel?has_content)>
|
||||
<img class="individual-photo" src="${placeholderImageUrl(individual.uri)}" title = "no image" alt="placeholder image" width="${imageWidth!}" />
|
||||
<img class="individual-photo" src="${placeholderImageUrl(individual.uri)}" title = "${i18n().no_image}" alt="${i18n().placeholder_image}" width="${imageWidth!}" />
|
||||
</#if>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
@ -214,7 +214,7 @@ name will be used as the label. -->
|
|||
<#if (labelCount > 1) && editable >
|
||||
<span class="inline">
|
||||
<a id="manageLabels" href="${urls.base}/manageLabels?subjectUri=${individual.uri!}">
|
||||
manage labels
|
||||
${i18n().manage_labels}
|
||||
</a>
|
||||
</span>
|
||||
<#else>
|
||||
|
|
|
@ -6,9 +6,8 @@
|
|||
<#macro unsupportedBrowser urlsBase>
|
||||
<div id="ie67DisableWrapper">
|
||||
<div id="ie67DisableContent">
|
||||
<img src="${urlsBase}/images/iconAlertBig.png" alt="Alert Icon"/>
|
||||
<p>This form is not supported in versions of Internet Explorer below version 8. Please upgrade your browser, or
|
||||
switch to another browser, such as FireFox.</p>
|
||||
<img src="${urlsBase}/images/iconAlertBig.png" alt="${i18n().alert_icon}"/>
|
||||
<p>${i18n().unsupported_ie_version}</p>
|
||||
</div>
|
||||
</div>
|
||||
</#macro>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue