template changes for internationalization -- replaced displayed text with calls to properties file containing actual strings

This commit is contained in:
tworrall 2013-05-13 12:10:57 -04:00
parent 1214292e6d
commit 47466e98cc
45 changed files with 381 additions and 173 deletions

View file

@ -17,8 +17,8 @@
<#assign departmentalGrantsExtension>
<div id="activeGrantsLink">
<img src="${urls.base}/images/individual/arrow-green.gif">
<a href="${urls.base}/deptGrants?individualURI=${individual.uri}">
View all active grants
<a href="${urls.base}/deptGrants?individualURI=${individual.uri}" title="${i18n().view_all_active_grants}">
${i18n().view_all_active_grants}
</a>
</div>
</#assign>

View file

@ -36,7 +36,7 @@
<header>
<#if relatedSubject??>
<h2>${relatedSubject.relatingPredicateDomainPublic} for ${relatedSubject.name}</h2>
<p><a href="${relatedSubject.url}" title="return to">&larr; return to ${relatedSubject.name}</a></p>
<p><a href="${relatedSubject.url}" title="${i18n().return_to(relatedSubject.name)}">&larr; ${i18n().return_to(relatedSubject.name)}</a></p>
<#else>
<h1 class="vcard foaf-person fn" <#if !editable>style="float:left;border-right:1px solid #A6B1B0;"</#if>>
<#-- Label -->
@ -68,8 +68,8 @@
<!-- The text in this h2 element is set via the wilma.css file -->
<h2></h2>
<select id="profilePageType">
<option value="standard" <#if profileType == "standard" || profileType == "none">selected</#if> >Standard profile view</option>
<option value="quickView" <#if profileType == "quickView">selected</#if> >Quick profile view</option>
<option value="standard" <#if profileType == "standard" || profileType == "none">selected</#if> >${i18n().standard_view}</option>
<option value="quickView" <#if profileType == "quickView">selected</#if> >${i18n().quick_view}</option>
</select>
</div>
</#if>
@ -94,7 +94,7 @@
<div id="webpagesContainer">
<#assign webpage = propertyGroups.pullProperty("${core}webpage")!>
<#if webpage?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<h2 id="webpage" class="mainPropGroup">Websites <@p.addLink webpage editable ""/></h2>
<h2 id="webpage" class="mainPropGroup">${i18n().websites} <@p.addLink webpage editable ""/></h2>
<@p.verboseDisplay webpage />
<#assign localName = webpage.localName>
<ul id="individual-${localName}" role="list">
@ -120,7 +120,7 @@
<#if targetedView?has_content || user.loggedIn >
<span id="quickViewLink" >
<a href="${urls.base}/display/${individual.localName}?destination=quickView" >
<img id="quickViewIcon" src="${urls.images}/individual/quickViewIcon.png" alt="full view icon"/>
<img id="quickViewIcon" src="${urls.images}/individual/quickViewIcon.png" alt="${i18n().quick_view_icon}"/>
</a>
</span>
</#if>

View file

@ -46,7 +46,7 @@
<header>
<#if relatedSubject??>
<h2>${relatedSubject.relatingPredicateDomainPublic} for ${relatedSubject.name}</h2>
<p><a href="${relatedSubject.url}" title="return to">&larr; return to ${relatedSubject.name}</a></p>
<p><a href="${relatedSubject.url}" title="${i18n().return_to(relatedSubject.name)}">&larr; ${i18n().return_to(relatedSubject.name)}</a></p>
<#else>
<#-- Image -->
<div id="photo-wrapper">${individualImage}</div>
@ -84,8 +84,8 @@
<!-- The text in this h2 element is set via the wilma.css file -->
<h2></h2>
<select id="profilePageType">
<option value="standard" <#if profileType == "standard" || profileType == "none">selected</#if> >Standard profile view</option>
<option value="quickView" <#if profileType == "quickView">selected</#if> >Quick profile view</option>
<option value="standard" <#if profileType == "standard" || profileType == "none">selected</#if> >${i18n().standard_view}</option>
<option value="quickView" <#if profileType == "quickView">selected</#if> >${i18n().quick_view}</option>
</select>
</div>
</#if>
@ -102,7 +102,7 @@
<#assign webpage = propertyGroups.pullProperty("${core}webpage")!>
<#if webpage?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<#if editable>
<h2 class="websites" >Websites <@p.addLink webpage editable ""/></h2>
<h2 class="websites" >${i18n().websites} <@p.addLink webpage editable ""/></h2>
</#if>
<@p.verboseDisplay webpage />
<#assign localName = webpage.localName>
@ -124,7 +124,7 @@
<!-- Geographic Focus -->
<#assign geographicFocus = propertyGroups.pullProperty("${core}geographicFocus")!>
<#if geographicFocus?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<h2 id="geoFocus" class="mainPropGroup">Geographic Focus <@p.addLink geographicFocus editable ""/></h2>
<h2 id="geoFocus" class="mainPropGroup">${i18n().geographic_focus} <@p.addLink geographicFocus editable ""/></h2>
<@p.verboseDisplay geographicFocus />
<#assign localName = geographicFocus.localName>
@ -148,7 +148,7 @@
<!-- Webpages -->
<#assign webpage = propertyGroups.pullProperty("${core}webpage")!>
<#if webpage?has_content>
<h2 id="webpage" class="mainPropGroup">Websites <@p.addLink webpage editable ""/></h2>
<h2 id="webpage" class="mainPropGroup">${i18n().websites} <@p.addLink webpage editable ""/></h2>
<@p.verboseDisplay webpage />
<#assign localName = webpage.localName>
<ul id="individual-${localName}" role="list">

View file

@ -13,7 +13,9 @@
the targetedView variable gets set.
This template could also be used to load just the "individual--foaf-person-2column.ftl"
without enabling profile page types.
without enabling profile page types. "individual--foaf-person-2column.ftl" is a slightly
different design than the "individual--foaf-person.ftl" template in the themes/wilma
directory.
-->
@ -44,15 +46,4 @@
<#assign selectedTemplate = "individual--foaf-person-quickview.ftl" >
</#if>
</#if>
<#include selectedTemplate >
${scripts.add('<script type="text/javascript" src="${urls.base}/js/individual/individualUtils.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/individual/propertyGroupControls.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/individual/individualUriRdf.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/jquery-ui/js/jquery-ui-1.8.9.custom.min.js"></script>',
'<script type="text/javascript" src="${urls.base}/js/imageUpload/imageUploadUtils.js"></script>')}
<script type="text/javascript">
i18n_confirmDelete = "${i18n().confirm_delete}"
</script>
<#include selectedTemplate >

View file

@ -1,23 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Template for admin panel on individual profile page -->
<#import "lib-form.ftl" as form>
<#if individual.showAdminPanel>
<section id="admin">
<h3 id="adminPanel">Admin Panel</h3><a class="edit-individual" href="${individual.controlPanelUrl()}" title="edit this individual">Edit this individual</a>
<section id = "verbose-mode">
<#if verbosePropertySwitch?has_content>
<#assign anchorId = "verbosePropertySwitch">
<#assign currentValue = verbosePropertySwitch.currentValue?string("on", "off")>
<#assign newValue = verbosePropertySwitch.currentValue?string("off", "on")>
<span>Verbose property display is <b>${currentValue}</b> | </span>
<a id="${anchorId}" class="verbose-toggle small" href="${verbosePropertySwitch.url}#${anchorId}" title="verbose control">Turn ${newValue}</a>
</#if>
</section>
<p class="uri-link">Resource URI: <a href="${individual.uri}" target="_blank" title="resource uri">${individual.uri}</a></p>
</section>
</#if>

View file

@ -6,7 +6,7 @@
<#assign email = propertyGroups.pullProperty("${core}email")!>
<#if editable || ( phone?has_content || pEmail?has_content || email?has_content ) >
<h2 id="contactHeading" class="mainPropGroup">Contact</h2>
<h2 id="contactHeading" class="mainPropGroup">${i18n().contact_capitalized}</h2>
</#if>
<#-- the layout is different in edit mode -->
@ -50,10 +50,10 @@
<#macro emailLinks property email>
<#if property == "${core}primaryEmail">
<#local listId = "primary-email">
<#local label = "primary email">
<#local label = "${i18n().primary_email}">
<#else>
<#local listId = "additional-emails">
<#local label = "additional emails">
<#local label = "${i18n().additional_emails}">
</#if>
<#if email?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<#if editable>
@ -65,7 +65,7 @@
<#list email.statements as statement>
<li role="listitem" <#if editable>style="padding-left:10px;"</#if>>
<a class="email" href="mailto:${statement.value}" title="email">${statement.value}</a>
<a class="email" href="mailto:${statement.value}" title="${i18n().email}">${statement.value}</a>
<@p.editingLinks "${email.localName}" statement editable />
</li>
</#list>

View file

@ -7,7 +7,7 @@
<#assign addlEmail = propertyGroups.pullProperty("${core}email")!>
<#if phone?has_content || primaryEmail?has_content || addlEmail?has_content >
<ul style="font-size:1em;padding-bottom:4px"><li><strong>Contact Info</strong></li></ul>
<ul style="font-size:1em;padding-bottom:4px"><li><strong>${i18n().contact_info}</strong></li></ul>
</#if>
<#-- Primary Email -->
@ -35,10 +35,10 @@
<#macro emailLinks property email>
<#if property == "${core}primaryEmail">
<#local listId = "primary-email">
<#local label = "Primary Email">
<#local label = "${i18n().primary_email_capitalized}">
<#else>
<#local listId = "additional-emails">
<#local label = "Additional Emails">
<#local label = "${i18n().additional_emails_capitalized}">
</#if>
<#if email?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<@p.addLinkWithLabel email editable label/>
@ -46,7 +46,7 @@
<ul id="${listId}" class="individual-emails" role="list" <#if editable>style="list-style:none;margin-left:0;"</#if>>
<#list email.statements as statement>
<li role="listitem">
<a class="email" href="mailto:${statement.value}" title="email">${statement.value}</a>
<a class="email" href="mailto:${statement.value}" title="${i18n().email}">${statement.value}</a>
<@p.editingLinks "${email.localName}" statement editable />
</li>
</#list>

View file

@ -4,23 +4,23 @@
<#if deptGrants?has_content>
<section id="pageList">
<#list deptGrants as firstRow>
<h2>Active Grants for ${firstRow["deptLabel"]}</h2>
<h2>${i18n().active_grants_for} ${firstRow["deptLabel"]}</h2>
<#break>
</#list>
<table id="pageList" >
<tr>
<th>Grant Name</th>
<th>Close Date</th>
<th>${i18n().grant_name}</th>
<th>${i18n().close_date}</th>
</tr>
<#list deptGrants as resultRow>
<tr>
<td><a href="${urls.base}/individual${resultRow["activity"]?substring(resultRow["activity"]?last_index_of("/"))}">${resultRow["activityLabel"]}</a></td>
<td><a href="${urls.base}/individual${resultRow["activity"]?substring(resultRow["activity"]?last_index_of("/"))}" title="${i18n().activity_name}">${resultRow["activityLabel"]}</a></td>
<td>${dt.formatXsdDateTimeShort(resultRow["dt"], "yearMonthDayPrecision")}</td>
</tr>
</#list>
</table>
<#else>
There are currently no active grants for this department.
${i18n().no_active_grants}
</#if>
</section>

View file

@ -5,7 +5,7 @@
<#list deptMemberships as firstRow>
<div class="tab">
<h2>${firstRow["orgLabel"]}</h2>
<p>Here are the faculty in the ${firstRow["deptLabel"]} department who are members of this organization. <a href="${urls.base}/display${firstRow["orgURI"]?substring(firstRow["orgURI"]?last_index_of("/"))}" title="view all cornell faculty">View all the members of this organization.</a></p>
<p>${i18n().faculty_who_are_members_of_org(firstRow["deptLabel"])} <a href="${urls.base}/display${firstRow["orgURI"]?substring(firstRow["orgURI"]?last_index_of("/"))}" title="${i18n().view_all_faculty}">${i18n().view_all_members_of_org}</a></p>
</div>
<#break>
</#list>
@ -14,7 +14,7 @@
<ul role="list" class="deptDetailsList">
<#list deptMemberships as resultRow>
<li class="deptDetailsListItem">
<a href="${urls.base}/individual${resultRow["person"]?substring(resultRow["person"]?last_index_of("/"))}">${resultRow["personLabel"]}</a>
<a href="${urls.base}/individual${resultRow["person"]?substring(resultRow["person"]?last_index_of("/"))}" title="${i18n().person_name}">${resultRow["personLabel"]}</a>
</li>
</#list>
</ul>

View file

@ -1,12 +1,12 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#if membershipResults?has_content>
<h2 id="facultyMemberships" class="mainPropGroup">Faculty Memberships</h2>
<h2 id="facultyMemberships" class="mainPropGroup">${i18n().faculty_memberships}</h2>
<#assign numberRows = membershipResults?size/>
<ul id="individual-facultyMemberships" role="list">
<#list membershipResults as resultRow>
<li class="raLink">
<a class="raLink" href="${urls.base}/deptGradFields?deptURI=${individual.uri}&actURI=${resultRow["activity"]}">
<a class="raLink" href="${urls.base}/deptGradFields?deptURI=${individual.uri}&actURI=${resultRow["activity"]}" title="${i18n().activity_name}">
${resultRow["actLabel"]}
</a>
</li>

View file

@ -4,7 +4,7 @@
<#list deptResearchAreas as firstRow>
<div class="tab">
<h2>${firstRow["raLabel"]}</h2>
<p>Here are the faculty in the ${firstRow["deptLabel"]} department who have an interest in this research area. <a href="${urls.base}/display${firstRow["raURI"]?substring(firstRow["raURI"]?last_index_of("/"))}">View all Cornell faculty with an interest in this area.</a></p>
<p>${i18n().faculty_with_researh_area(firstRow["deptLabel"])} <a href="${urls.base}/display${firstRow["raURI"]?substring(firstRow["raURI"]?last_index_of("/"))}">${i18n().view_all_faculty_in_area}</a></p>
</div>
<#break>
</#list>
@ -13,7 +13,7 @@
<ul role="list" class="deptDetailsList">
<#list deptResearchAreas as resultRow>
<li class="deptDetailsListItem">
<a href="${urls.base}/individual${resultRow["person"]?substring(resultRow["person"]?last_index_of("/"))}">${resultRow["personLabel"]}</a>
<a href="${urls.base}/individual${resultRow["person"]?substring(resultRow["person"]?last_index_of("/"))}" title="${i18n().person_name}">${resultRow["personLabel"]}</a>
</li>
</#list>
</ul>

View file

@ -1,7 +1,7 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#if researchAreaResults?has_content>
<h2 id="facultyResearchAreas" class="mainPropGroup">
Faculty Research Areas
${i18n().faculty_research_areas}
</h2>
<#assign numberRows = researchAreaResults?size/>
@ -10,7 +10,7 @@
<#assign moreDisplayed = false>
<#list researchAreaResults as resultRow>
<#if ( totalLength > 380 ) && !moreDisplayed >
<li id="raMoreContainer" style="border:none">(...<a id="raMore" href="javascript:">more</a>)</li>
<li id="raMoreContainer" style="border:none">(...<a id="raMore" href="javascript:">${i18n().display_more}</a>)</li>
<li class="raLinkMore" style="display:none">
<#assign moreDisplayed = true>
<#elseif ( totalLength > 380 ) && moreDisplayed >
@ -18,13 +18,13 @@
<#else>
<li class="raLink">
</#if>
<a class="raLink" href="${urls.base}/deptResearchAreas?deptURI=${individual.uri}&raURI=${resultRow["ra"]}">
<a class="raLink" href="${urls.base}/deptResearchAreas?deptURI=${individual.uri}&raURI=${resultRow["ra"]}" title="${i18n().research_area}">
${resultRow["raLabel"]}
</a>
</li>
<#assign totalLength = totalLength + resultRow["raLabel"]?length >
</#list>
<#if ( totalLength > 380 ) ><li id="raLessContainer" style="display:none">(<a id="raLess" href="javascript:">less</a>)</li></#if>
<#if ( totalLength > 380 ) ><li id="raLessContainer" style="display:none">(<a id="raLess" href="javascript:">${i18n().display_less}</a>)</li></#if>
</ul>
</#if>
<script>

View file

@ -2,14 +2,15 @@
<#-- Icon controls displayed in upper-right corner -->
<img id="uriIcon" title="${individual.uri}" src="${urls.images}/individual/share-uri-icon.png" alt="share the uri" />
<img id="uriIcon" title="${individual.uri}" src="${urls.images}/individual/share-uri-icon.png" alt="${i18n().share_the_uri}" />
<@qr.renderCode qrCodeIcon />
<#--
Some contact information is displayed on the profile page by default; e.g., phone numbes and email addresses. If an institution
has an additional location for contact info, such as a university directory, a third "contact" icon is available that can be used
to direct users to that directory. The <a> tag below shows an example using Cornell University's directory.
Some contact information is displayed on the profile page by default; e.g., phone numbes and
email addresses. If an institution has an additional location for contact info, such as a
university directory, a third "contact" icon is available that can be used to direct users to
that directory. The <a> tag below shows an example using Cornell University's directory.
<#assign netid = individual.selfEditingId()!>
<#if netid?has_content>

View file

@ -32,16 +32,16 @@
<#macro renderCode imageFile display="icon" width="125">
<#if hasValidVCard()>
<#local qrData = individual.qrData()>
<#local qrCodeLinkedImage><a title="Export QR codes" href="${qrData.exportQrCodeUrl}" title="QR Code"><@qrCodeVCard qrCodeWidth=width /></a></#local>
<#local qrCodeLinkedImage><a title="${i18n().export_qr_codes}" href="${qrData.exportQrCodeUrl}"><@qrCodeVCard qrCodeWidth=width /></a></#local>
<#if (display == "full")>
<h5 class="qrCode">vCard QR</h5>
${qrCodeLinkedImage}
<#elseif (display == "icon")>
<a id="qrIcon" title="vCard QR Code" href="${qrData.exportQrCodeUrl}" title="QR Code"><img src="${urls.images}/individual/${imageFile!}" alt="qr icon" /></a>
<span id="qrCodeImage" class="hidden">${qrCodeLinkedImage} <a class="qrCloseLink" href="#" title="QR Code">Close</a></span>
<a id="qrIcon" title="${i18n().vcard_qr_code}" href="${qrData.exportQrCodeUrl}"><img src="${urls.images}/individual/${imageFile!}" alt="${i18n().qr_icon}" /></a>
<span id="qrCodeImage" class="hidden">${qrCodeLinkedImage} <a class="qrCloseLink" href="#" title="${i18n().qr_code}">Close</a></span>
<#else>
<p class="notice">You have passed an invalid value for the qrCode display parameter.</p>
<p class="notice">${i18n().invalid_qr_code_parameter}</p>
</#if>
</#if>

View file

@ -6,7 +6,7 @@
<#assign localName = researchAreas.localName>
<h2 id="${localName}" class="mainPropGroup">
${researchAreas.name?capitalize}
<img id="researchAreaIcon" src="${urls.images}/individual/research-group-icon.png" alt="research areas" />
<img id="researchAreaIcon" src="${urls.images}/individual/research-group-icon.png" alt="${i18n().research_areas}" />
<@p.addLink researchAreas editable /> <@p.verboseDisplay researchAreas />
</h2>
<ul id="individual-${localName}" role="list" >

View file

@ -23,7 +23,7 @@
<#assign googleJSAPI = "https://www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B%22name%22%3A%22visualization%22%2C%22version%22%3A%221%22%2C%22packages%22%3A%5B%22imagesparkline%22%5D%7D%5D%7D">
<span id="sparklineHeading">Publications in VIVO</span>
<span id="sparklineHeading">${i18n().publications_in_vivo}</span>
<div id="vis_container_coauthor">&nbsp;</div>
@ -31,18 +31,18 @@
<div id="coauthorship_link_container" class="collaboratorship-link-container">
<div class="collaboratorship-icon">
<a href="${coAuthorVisUrl}" title="co-author"><img src="${coAuthorIcon}" alt="Co-author network icon" width="25px" height="25px" /></a>
<a href="${coAuthorVisUrl}" title="${i18n().co_author}"><img src="${coAuthorIcon}" alt="${i18n().co_author}" width="25px" height="25px" /></a>
</div>
<div class="collaboratorship-link"><a href="${coAuthorVisUrl}" title="co-author network">Co-Author Network</a></div>
<div class="collaboratorship-link"><a href="${coAuthorVisUrl}" title="${i18n().co_author_network}">${i18n().co_author_network}</a></div>
</div>
<div class="collaboratorship-link-separator"></div>
<div id="mapofscience_link_container" class="collaboratorship-link-container">
<div class="collaboratorship-icon">
<a href="${mapOfScienceVisUrl}" title="map of science"><img src="${mapOfScienceIcon}" alt="Map Of Science icon" width="25px" height="25px" /></a>
<a href="${mapOfScienceVisUrl}" title="${i18n().map_of_science}"><img src="${mapOfScienceIcon}" alt="${i18n().map_of_science}" width="25px" height="25px" /></a>
</div>
<div class="collaboratorship-link"><a href="${mapOfScienceVisUrl}" title="map of science">Map Of Science</a></div>
<div class="collaboratorship-link"><a href="${mapOfScienceVisUrl}" title="${i18n().map_of_science}">${i18n().map_of_science_capitalized}</a></div>
</div>
${scripts.add('<script type="text/javascript" src="${googleJSAPI}"></script>',
@ -65,9 +65,9 @@
<div id="coinvestigator_link_container" class="collaboratorship-link-container">
<div class="collaboratorship-icon">
<a href="${coInvestigatorVisUrl}" title="co-investigator network"><img src="${coInvestigatorIcon}" alt="Co-investigator network icon" width="25px" height="25px" /></a>
<a href="${coInvestigatorVisUrl}" title="${i18n().co_investigator_network}"><img src="${coInvestigatorIcon}" alt="${i18n().co_investigator_network}" width="25px" height="25px" /></a>
</div>
<div class="collaboratorship-link"><a href="${coInvestigatorVisUrl}" title="co-investigator network">Co-Investigator Network</a></div>
<div class="collaboratorship-link"><a href="${coInvestigatorVisUrl}" title="${i18n().co_investigator_network}">${i18n().co_investigator_network_capitalized}</a></div>
</div>
</#if>
</#if>

View file

@ -3,5 +3,5 @@
<#-- Map Of Science visualization -->
<div id="map-of-science">
<h3><img src="${urls.images}/visualization/mapofscience/scimap_icon.png" width="25" height="25"/><a href="${individual.mapOfScienceUrl()}" title="map of science">Map of Science</a></h3>
<h3><img src="${urls.images}/visualization/mapofscience/scimap_icon.png" width="25" height="25"/><a href="${individual.mapOfScienceUrl()}" title="${i18n().map_of_science}">${i18n().map_of_science_capitalized}</a></h3>
</div>

View file

@ -16,22 +16,22 @@
<#assign coauthor = "">
<#assign coinvestigator = "">
<#assign mapofscience = "">
<h2 class="mainPropGroup">Networks</h2>
<h2 class="mainPropGroup">${i18n().networks}Networks</h2>
<#if isAuthor>
<#assign coAuthorIcon = "${urls.images}/visualization/coauthorship/co_author_icon.png">
<#assign mapOfScienceIcon = "${urls.images}/visualization/mapofscience/scimap_icon.png">
<#assign coAuthorVisUrl = individual.coAuthorVisUrl()>
<#assign mapOfScienceVisUrl = individual.mapOfScienceUrl()>
<#assign coauthor = "<li><a href='${coAuthorVisUrl}' title='co-author' style='vertical-align:top;'><img src='${coAuthorIcon}' alt='Co-author network icon' width='20px' height='20px' style='padding-right:8px'/></a><a href='${coAuthorVisUrl}' title='co-author network'>Co-Authors</a></li>" >
<#assign coauthor = "<li><a href='${coAuthorVisUrl}' title='${i18n().co_author}' style='vertical-align:top;'><img src='${coAuthorIcon}' alt='${i18n().co_author}' width='20px' height='20px' style='padding-right:8px'/></a><a href='${coAuthorVisUrl}' title='${i18n().co_author_network}'>${i18n().co_authors}Co-Authors</a></li>" >
<#assign mapofscience = "<li><a href='${mapOfScienceVisUrl}' title='map of science' style='vertical-align:top;'><img src='${mapOfScienceIcon} ' alt='Map Of Science icon' width='20px' height='20px' style='padding-right:8px'/></a><a href='${mapOfScienceVisUrl}' title='map of science'>Map Of Science</a></li>" >
<#assign mapofscience = "<li><a href='${mapOfScienceVisUrl}' title='${i18n().map_of_science}' style='vertical-align:top;'><img src='${mapOfScienceIcon} ' alt='${i18n().map_of_science}' width='20px' height='20px' style='padding-right:8px'/></a><a href='${mapOfScienceVisUrl}' title='${i18n().map_of_science}'>${i18n().map_of_science_capitalized}</a></li>" >
</#if>
<#if isInvestigator>
<#assign coInvestigatorVisUrl = individual.coInvestigatorVisUrl()>
<#assign coInvestigatorIcon = "${urls.images}/visualization/coauthorship/co_investigator_icon.png">
<#assign coinvestigator = "<li><a href='${coInvestigatorVisUrl}' title='co-investigator network' style='vertical-align:top;'><img src='${coInvestigatorIcon}' alt='Co-investigator network icon' width='20px' height='20px' style='padding-right:8px'/></a><a href='${coInvestigatorVisUrl}' title='co-investigator network'>Co-Investigators</a></li>">
<#assign coinvestigator = "<li><a href='${coInvestigatorVisUrl}' title='${i18n().co_investigator_network}' style='vertical-align:top;'><img src='${coInvestigatorIcon}' alt='${i18n().co_investigator_network}' width='20px' height='20px' style='padding-right:8px'/></a><a href='${coInvestigatorVisUrl}' title='${i18n().co_investigator_network}'>${i18n().co_investigator_network_capitalized}</a></li>">
</#if>
<ul id="individual-visualization">
${coauthor}

View file

@ -3,5 +3,5 @@
<#-- Temporal graph visualization -->
<div id="temporal-graph">
<h3><img src="${urls.images}/visualization/temporalgraph/temporal_graph_icon.png" width="25px" height="25px" /><a href="${individual.temporalGraphUrl()}" title="temporal graph">Temporal Graph</a></h3>
<h3><img src="${urls.images}/visualization/temporalgraph/temporal_graph_icon.png" width="25px" height="25px" alt="${i18n().temporal_graph}"/><a href="${individual.temporalGraphUrl()}" title="${i18n().temporal_graph}">${i18n().temporal_graph_capitalized}</a></h3>
</div>

View file

@ -11,9 +11,9 @@
<#assign webpage = propertyGroups.pullProperty("${core}webpage")!>
<#if webpage?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<#if !editable && individual.person() >
<ul style="font-size:0.9em;padding-bottom:4px"><li><strong>Websites</strong></li></ul>
<ul style="font-size:0.9em;padding-bottom:4px"><li><strong>${i18n().websites}</strong></li></ul>
</#if>
<@p.addLinkWithLabel webpage editable "Websites"/>
<@p.addLinkWithLabel webpage editable i18n().websites/>
<#assign localName = webpage.localName>
<ul id="individual-${localName}" class="individual-urls" role="list" <#if individual.organization() && !editable>style="font-size:1.15em"</#if>>
<@p.objectProperty webpage editable />

View file

@ -16,16 +16,16 @@
<#local linkedIndividual>
<#if statement.advisee??>
<#if statement.degreeLabel?? || statement.dateTimeStart?? || statement.dateTimeEnd?? >
<a href="${profileUrl(statement.uri("advisee"))}" title="advisee label">${statement.adviseeLabel!}</a>,
<a href="${profileUrl(statement.uri("advisee"))}" title="${i18n().advisee_label}">${statement.adviseeLabel!}</a>,
<#else>
<a href="${profileUrl(statement.uri("advisee"))}" title="advisee label">${statement.adviseeLabel!}</a>
<a href="${profileUrl(statement.uri("advisee"))}" title="${i18n().advisee_label}">${statement.adviseeLabel!}</a>
</#if>
<#if statement.degreeLabel??>
${statement.degreeAbbr!statement.degreeLabel!}
<#if statement.dateTimeStart?? || statement.dateTimeEnd?? >&nbsp;candidate,<#else>&nbsp;candidate</#if>
<#if statement.dateTimeStart?? || statement.dateTimeEnd?? >&nbsp;${i18n().candidate},<#else>&nbsp;${i18n().candidate}</#if>
</#if>
<#elseif statement.advisoryLabel??>
<a href="${profileUrl(statement.uri("advisory"))}" title="advisory label">${statement.advisoryLabel!statement.localName}</a>
<a href="${profileUrl(statement.uri("advisory"))}" title="${i18n().advisory_label}">${statement.advisoryLabel!statement.localName}</a>
</#if>
</#local>

View file

@ -101,13 +101,13 @@
<#local resourceTitle>
<#if statement.infoResource??>
<#if citationDetails?has_content>
<a href="${profileUrl(statement.uri("infoResource"))}" title="resource name">${statement.infoResourceName}</a>.&nbsp;
<a href="${profileUrl(statement.uri("infoResource"))}" title="${i18n().resource_name}">${statement.infoResourceName}</a>.&nbsp;
<#else>
<a href="${profileUrl(statement.uri("infoResource"))}" title="resource name">${statement.infoResourceName}</a>
<a href="${profileUrl(statement.uri("infoResource"))}" title="${i18n().resource_name}">${statement.infoResourceName}</a>
</#if>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("authorship"))}" title="missing resource">missing information resource</a>
<a href="${profileUrl(statement.uri("authorship"))}" title="${i18n().missing_info_resource}">missing information resource</a>
</#if>
</#local>

View file

@ -15,9 +15,9 @@
<#local linkedIndividual>
<#if statement.award??>
<a href="${profileUrl(statement.uri("award"))}" title="award name">${statement.awardLabel!statement.localName}</a>
<a href="${profileUrl(statement.uri("award"))}" title="${i18n().award_name}">${statement.awardLabel!statement.localName}</a>
<#else>
<a href="${profileUrl(statement.uri("awardReceipt"))}" title="award receipt name">${statement.receiptLabel!statement.localName}</a>
<a href="${profileUrl(statement.uri("awardReceipt"))}" title="${i18n().award_receipt_name}">${statement.receiptLabel!statement.localName}</a>
</#if>
</#local>
@ -31,7 +31,7 @@
<#local conferredByOrg>
<#if statement.conferredBy?has_content && statement.conferredByLabel?has_content>
conferred by <a href="${profileUrl(statement.uri("conferredBy"))}" title="conferred by">${statement.conferredByLabel}</a>
${i18n().conferred_by} <a href="${profileUrl(statement.uri("conferredBy"))}" title="${i18n().conferred_by}">${statement.conferredByLabel}</a>
</#if>
</#local>

View file

@ -13,7 +13,7 @@
-->
<#if ! statement.valueStart?? && ! statement.valueEnd?? && ! statement.label?? >
<a href="${profileUrl(statement.uri("dateTimeInterval"))}" title="incomplete date time">incomplete date/time interval</a>
<a href="${profileUrl(statement.uri("dateTimeInterval"))}" title="${i18n().incomplete_date_time}">incomplete date/time interval</a>
<#else>
<#if statement.label??>
${statement.label!}

View file

@ -10,7 +10,7 @@
<#-- No core:dateTime data property assigned. Display a link to the core:DateTimeValue object -->
<#if ! statement.dateTime??>
<a href="${profileUrl(statement.uri("dateTimeValue"))}" title="incomplete date time">incomplete date/time</a>
<a href="${profileUrl(statement.uri("dateTimeValue"))}" title="${i18n().incomplete_date_time}">incomplete date/time</a>
<#else>
${dt.formatXsdDateTimeLong(statement.dateTime, statement.precision!)}
</#if>

View file

@ -10,7 +10,7 @@
<#macro showStatement statement>
<#-- The query retrieves a type only for Persons. Post-processing will remove all but one. -->
<a href="${profileUrl(statement.uri("object"))}" title="name">${statement.label!statement.localName!}</a> ${statement.title!statement.type!}
<a href="${profileUrl(statement.uri("object"))}" title="${i18n().name}">${statement.label!statement.localName!}</a> ${statement.title!statement.type!}
</#macro>

View file

@ -8,7 +8,6 @@
<#import "lib-sequence.ftl" as s>
<#import "lib-datetime.ftl" as dt>
<#-- Coming from propDelete, individual is not defined, but we are editing. -->
<@showEducationalTraining statement=statement editable=(!individual?? || individual.editable) />
@ -18,10 +17,6 @@
<#local degree>
<#if statement.degreeName??>
<#-- RY Giving up on join here. Freemarker insists on removing the space before "in"
and leaving no space between the degree and major field, even though compress
should only delete consecutive spaces. Even &nbsp; doesn't help.
<@s.join [ statement.degreeAbbr!statement.degreeName, statement.majorField! ], " in " /> -->
${statement.degreeAbbr!statement.degreeName}
<#if statement.majorField??> in ${statement.majorField}</#if>
<#elseif statement.typeName??>
@ -31,10 +26,10 @@
<#local linkedIndividual>
<#if statement.org??>
<a href="${profileUrl(statement.uri("org"))}" title="organization name">${statement.orgName}</a>
<a href="${profileUrl(statement.uri("org"))}" title="${i18n().organization_name}">${statement.orgName}</a>
<#elseif editable>
<#-- Show the link to the context node only if the user is editing the page. -->
<a href="${profileUrl(statement.uri("edTraining"))}" title="missing organization">missing organization</a>
<a href="${profileUrl(statement.uri("edTraining"))}" title="${i18n().missing_organization}">missing organization</a>
</#if>
</#local>

View file

@ -5,15 +5,14 @@
This template must be self-contained and not rely on other variables set for the individual page, because it
is also used to generate the property statement during a deletion.
-->
<@showConcept statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
next statement -->
<#macro showConcept statement>
<#if statement.vocabularySourceName??>
<a href="${profileUrl(statement.uri("concept"))}" title="concept name">${statement.conceptLabel!statement.conceptName}</a> (${statement.vocabularySourceName})
<a href="${profileUrl(statement.uri("concept"))}" title="${i18n().concept_name}">${statement.conceptLabel!statement.conceptName}</a> (${statement.vocabularySourceName})
<#else>
<a href="${profileUrl(statement.uri("concept"))}" title="concept name">${statement.conceptLabel!statement.conceptName}</a>
<a href="${profileUrl(statement.uri("concept"))}" title="${i18n().concept_name}">${statement.conceptLabel!statement.conceptName}</a>
</#if>
</#macro>

View file

@ -8,7 +8,6 @@
<#import "lib-sequence.ftl" as s>
<#import "lib-datetime.ftl" as dt>
<@showRole statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
@ -16,10 +15,10 @@
<#macro showRole statement>
<#local linkedIndividual>
<#if statement.event1??>
<a href="${profileUrl(statement.uri("event1"))}" title="event name">${statement.event1Label!statement.event1Name}</a>
<a href="${profileUrl(statement.uri("event1"))}" title="${i18n().event_name}">${statement.event1Label!statement.event1Name}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("role"))}" title="event name">missing event</a>
<a href="${profileUrl(statement.uri("role"))}" title="${i18n().missing_event}">${i18n().missing_event}</a>
</#if>
</#local>
@ -29,9 +28,9 @@
<#local attendedEvent>
<#if statement.event2?has_content && statement.event2Label?has_content>
at <a href="${profileUrl(statement.uri("event2"))}" title="event label">${statement.event2Label}</a>
at <a href="${profileUrl(statement.uri("event2"))}" title="${i18n().event_label}">${statement.event2Label}</a>
<#elseif statement.series?has_content && statement.seriesLabel?has_content>
at <a href="${profileUrl(statement.uri("series"))}" title="event label">${statement.seriesLabel}</a>
at <a href="${profileUrl(statement.uri("series"))}" title="${i18n().event_label}">${statement.seriesLabel}</a>
</#if>
</#local>

View file

@ -8,7 +8,6 @@
<#import "lib-sequence.ftl" as s>
<#import "lib-datetime.ftl" as dt>
<@showRole statement property />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
@ -16,7 +15,7 @@
<#macro showRole statement property>
<#local linkedIndividual>
<#if statement?has_content && statement.activity?has_content>
<a href="${profileUrl(statement.uri("activity"))}" title="activity name">${statement.activityLabel!statement.activityName}</a>
<a href="${profileUrl(statement.uri("activity"))}" title="${i18n().activity_name}">${statement.activityLabel!statement.activityName}</a>
</#if>
</#local>

View file

@ -7,7 +7,6 @@
-->
<#import "lib-datetime.ftl" as dt>
<@showRole statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
@ -25,18 +24,18 @@
<#else>
<#local linkedIndividual>
<#if statement.activity??>
<a href="${profileUrl(statement.uri("activity"))}" title="activity name">${statement.activityLabel!statement.activityName!}</a>
<a href="${profileUrl(statement.uri("activity"))}" title="${i18n().activity_name}">${statement.activityLabel!statement.activityName!}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("role"))}" title="missing activity">missing activity</a>
<a href="${profileUrl(statement.uri("role"))}" title="${i18n().missing_activity}">${i18n().missing_activity}</a>
</#if>
</#local>
<#local awardOrAdminBy>
<#if statement.awardedByLabel??>
&nbsp;awarded by&nbsp;<a href="${profileUrl(statement.uri("awardedBy"))}" title="awarded by">${statement.awardedByLabel!}</a>
&nbsp;awarded by&nbsp;<a href="${profileUrl(statement.uri("awardedBy"))}" title="${i18n().awarded_by}">${statement.awardedByLabel!}</a>
<#elseif statement.adminedByLabel??>
&nbsp;administered by&nbsp;<a href="${profileUrl(statement.uri("adminedBy"))}" title="administered by">${statement.adminedByLabel!}</a>
&nbsp;administered by&nbsp;<a href="${profileUrl(statement.uri("adminedBy"))}" title="${i18n().administered_by}">${statement.adminedByLabel!}</a>
</#if>
</#local>

View file

@ -16,10 +16,10 @@
<#macro showRole statement>
<#local linkedIndividual>
<#if statement.presentation??>
<a href="${profileUrl(statement.uri("presentation"))}" title="presentation name">${statement.presentationLabel!statement.presentationName}</a>
<a href="${profileUrl(statement.uri("presentation"))}" title="${i18n().presentation_name}">${statement.presentationLabel!statement.presentationName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("role"))}" title="missing presentation">missing presentation</a>
<a href="${profileUrl(statement.uri("role"))}" title="${i18n().missing_presentation}">${i18n().missing_presentation}</a>
</#if>
</#local>
@ -29,9 +29,9 @@
<#local conference>
<#if statement.conference?has_content && statement.conferenceLabel?has_content>
<a href="${profileUrl(statement.uri("conference"))}" title="conference">${statement.conferenceLabel}</a>
<a href="${profileUrl(statement.uri("conference"))}" title="${i18n().conference}">${statement.conferenceLabel}</a>
<#elseif statement.series?has_content && statement.seriesLabel?has_content>
<a href="${profileUrl(statement.uri("series"))}" title="series">${statement.seriesLabel}</a>
<a href="${profileUrl(statement.uri("series"))}" title="${i18n().series}">${statement.seriesLabel}</a>
</#if>
</#local>

View file

@ -7,7 +7,6 @@
-->
<#import "lib-datetime.ftl" as dt>
<@showRole statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
@ -25,10 +24,10 @@
<#else>
<#local linkedIndividual>
<#if statement.activity??>
<a href="${profileUrl(statement.uri("activity"))}" title="activity name">${statement.activityLabel!statement.activityName}</a>
<a href="${profileUrl(statement.uri("activity"))}" title="${i18n().activity_name}">${statement.activityLabel!statement.activityName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("role"))}" title="missing activity">missing activity</a>
<a href="${profileUrl(statement.uri("role"))}" title="${i18n().missing_activity}">${i18n().missing_activity}</a>
</#if>
</#local>

View file

@ -7,16 +7,15 @@
-->
<#import "lib-sequence.ftl" as s>
<@showAuthorship statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
next statement -->
<#macro showAuthorship statement>
<#if statement.person??>
<a href="${profileUrl(statement.uri("person"))}" title="author name">${statement.personName}</a>
<a href="${profileUrl(statement.uri("person"))}" title="${i18n().author_name}">${statement.personName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("authorship"))}" title="missing author">missing author</a>
<a href="${profileUrl(statement.uri("authorship"))}" title="${i18n().missing_author}">${i18n().missing_author}</a>
</#if>
</#macro>

View file

@ -17,12 +17,12 @@
<#-- until the custom form is ready, provide a link to the address profile for editing -->
<div class="adr">
<#if statement.street1?has_content>
<div class="address-street1"><a href="${profileUrl(statement.uri("address"))}">${statement.street1}</a></div>
<div class="address-street1"><a href="${profileUrl(statement.uri("address"))}" title="${i18n().address_street_one}">${statement.street1}</a></div>
</#if>
<#if statement.street2?has_content>
<#if !statement.street1?has_content>
<div class="address-street2"><a href="${profileUrl(statement.uri("address"))}">${statement.street2}</a></div>
<div class="address-street2"><a href="${profileUrl(statement.uri("address"))}" title="${i18n().address_street_two}">${statement.street2}</a></div>
<#else>
<div class="address-street2">${statement.street2}</div>
</#if>
@ -30,7 +30,7 @@
<#if statement.street3?has_content>
<#if !statement.street1?has_content && !statement.street2?has_content>
<div class="address-street3"><a href="${profileUrl(statement.uri("address"))}">${statement.street3}</a></div>
<div class="address-street3"><a href="${profileUrl(statement.uri("address"))}" title="${i18n().address_street_three}">${statement.street3}</a></div>
<#else>
<div class="address-street3">${statement.street3}</div>
</#if>
@ -64,7 +64,7 @@
<#elseif statement.editable>
<#-- This can be removed when the custom form is available. Until then, provide a link to the
address profile so the data can be edited. -->
<a href="${profileUrl(statement.uri("address"))}" title="address label">${statement.label!statement.localName}</a>
<a href="${profileUrl(statement.uri("address"))}" title="${i18n().address_label}">${statement.label!statement.localName}</a>
<#else>
${statement.label!}
</#if>

View file

@ -8,7 +8,6 @@
<#import "lib-sequence.ftl" as s>
<#import "lib-datetime.ftl" as dt>
<@showPosition statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
@ -26,10 +25,10 @@
<#else>
<#local linkedIndividual>
<#if statement.person??>
<a href="${profileUrl(statement.uri("person"))}" title="person name">${statement.personName}</a>
<a href="${profileUrl(statement.uri("person"))}" title="${i18n().person_name}">${statement.personName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("position"))}" title="missing person">missing person in this position</a>
<a href="${profileUrl(statement.uri("position"))}" title="${i18n().missing_person_in_posn}">${i18n().missing_person_in_posn}</a>
</#if>
</#local>

View file

@ -8,7 +8,6 @@
<#import "lib-sequence.ftl" as s>
<#import "lib-datetime.ftl" as dt>
<@showTraining statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
@ -17,10 +16,10 @@
<#local linkedIndividual>
<#if statement.person??>
<a href="${profileUrl(statement.uri("person"))}" title="person name">${statement.personName}</a>
<a href="${profileUrl(statement.uri("person"))}" title="${i18n().person_name}">${statement.personName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("training"))}" title="missing person">missing person in this position</a>
<a href="${profileUrl(statement.uri("training"))}" title="${i18n().missing_person_in_posn}">${i18n().missing_person_in_posn}</a>
</#if>
</#local>
<#local detailedInfo>

View file

@ -8,7 +8,6 @@
<#import "lib-sequence.ftl" as s>
<#import "lib-datetime.ftl" as dt>
<@showPosition statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
@ -17,17 +16,17 @@
<#local linkedIndividual>
<#if statement.org??>
<a href="${profileUrl(statement.uri("org"))}" title="organization name">${statement.orgName}</a>
<a href="${profileUrl(statement.uri("org"))}" title="${i18n().organization_name}">${statement.orgName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("position"))}" title="missing organization">missing organization</a>
<a href="${profileUrl(statement.uri("position"))}" title="${i18n().missing_organization}">${i18n().missing_organization}</a>
</#if>
</#local>
<#-- The sparql query returns both the org's parent (middleOrg) and grandparent (outerOrg).
For now, we are only displaying the parent in the list view. -->
<#local middleOrganization>
<#if statement.middleOrg??>
<a href="${profileUrl(statement.uri("middleOrg"))}" title="middle organization">${statement.middleOrgName!}</a>
<a href="${profileUrl(statement.uri("middleOrg"))}" title="${i18n().middle_organization}">${statement.middleOrgName!}</a>
</#if>
</#local>

View file

@ -21,7 +21,7 @@
<a href="${profileUrl(statement.uri("indivInRole"))}" title="name">${statement.indivLabel!statement.indivName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("role"))}" title="missing person">missing person in this role</a>
<a href="${profileUrl(statement.uri("role"))}" title="${i18n().missing_person_in_role}">${i18n().missing_person_in_role}</a>
</#if>
</#local>

View file

@ -7,14 +7,13 @@
-->
<#import "lib-sequence.ftl" as s>
<@showResearchers statement />
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
next statement -->
<#macro showResearchers statement>
<#local linkedIndividual>
<a href="${profileUrl(statement.uri("person"))}" title="person name">${statement.personName}</a>
<a href="${profileUrl(statement.uri("person"))}" title="${i18n().person_name}">${statement.personName}</a>
</#local>
<#if statement.title?has_content >
<#local posnTitle = statement.title>

View file

@ -5,11 +5,10 @@
This template must be self-contained and not rely on other variables set for the individual page, because it
is also used to generate the property statement during a deletion.
-->
<@showStatement statement />
<#macro showStatement statement>
<a href="http://www.scopus.com/authid/detail.url?authorId=${statement.value!}" title="Scopus ID Link" target="_blank">${statement.value!}</a>
<a href="http://www.scopus.com/authid/detail.url?authorId=${statement.value!}" title="${i18n().scopus_id_link}" target="_blank">${statement.value!}</a>
</#macro>

View file

@ -12,7 +12,6 @@
*** element that contains the web page snap shot, as shown below in the template. Note that this code is ***
*** currently commented out and a placeholder is displayed instead. ***
-->
<#assign count = property.statements?size!>
<#assign identifier>
@ -42,29 +41,29 @@
The assumption is made that the service will require the url of the web page and possibly
an image size as well.
<span id="span-${identifier}" class="webpage-indicator-qv">Loading website image. . .&nbsp;&nbsp;&nbsp;<img src="${urls.images}/indicatorWhite.gif"></span>
<a title="Click to view the ${linkText} web page" href="${statement.url}">
<img id="img-${identifier}" class="org-webThumbnail" src="http://your.web.service/getsTheImage?url=${statement.url}${imgSize}" alt="screenshot of webpage ${statement.url}" style="display:none"/>
<span id="span-${identifier}" class="webpage-indicator-qv">${strings.loading_website_image}. . .&nbsp;&nbsp;&nbsp;<img src="${urls.images}/indicatorWhite.gif"></span>
<a title="${i18n().click_to_view_web_page(linkText)}" href="${statement.url}">
<img id="img-${identifier}" class="org-webThumbnail" src="http://your.web.service/getsTheImage?url=${statement.url}${imgSize}" alt="${i18n().screenshot_of_webpage(statement.url)}" style="display:none"/>
</a>
<#if imgSize == "" >
</li>
<li class="weblinkLarge">
<a title="Click to view the ${linkText} web page" href="${statement.url}">
<img id="icon-${identifier}" src="${urls.images}/individual/weblinkIconLarge.png" alt="click webpage icon" style="display:none"/>
<a title="${i18n().click_to_view_web_page(linkText)}" href="${statement.url}">
<img id="icon-${identifier}" src="${urls.images}/individual/weblinkIconLarge.png" alt="${i18n().click_webpage_icon}" style="display:none"/>
</a>
<#else>
</li>
<li class="weblinkSmall">
<a title="Click to view the ${linkText} web page" href="${statement.url}">
<img id="icon-${identifier}" src="${urls.images}/individual/weblinkIconSmall.png" alt="click webpage icon" style="display:none"/>
<a title="${i18n().click_to_view_web_page(linkText)}" href="${statement.url}">
<img id="icon-${identifier}" src="${urls.images}/individual/weblinkIconSmall.png" alt="${i18n().click_webpage_icon}" style="display:none"/>
</a>
</#if>
-->
<#-- Here is the placeholder link -->
<a href="${statement.url}" title="link text">${linkText}</a><script>$("a[title='link text']").parent('li').css("float","none");</script>
<a href="${statement.url}" title="${i18n().link_text}">${linkText}</a><script>$("a[title='${i18n().link_text}']").parent('li').css("float","none");</script>
<#else>
<a href="${profileUrl(statement.uri("link"))}" title="link name">${statement.linkName}</a> (no url provided for link)
<a href="${profileUrl(statement.uri("link"))}" title="${i18n().link_name}">${statement.linkName}</a> (${i18n().no_url_provided})
</#if>
</#macro>

View file

@ -14,7 +14,7 @@
<#if statement.url?has_content>
<a href="${statement.url}" title="link text">${linkText}</a>
<a href="${statement.url}" title="${i18n().link_text}">${linkText}</a>
<#else>
<a href="${profileUrl(statement.uri("link"))}" title="link name">${statement.linkName}</a> (no url provided for link)
<a href="${profileUrl(statement.uri("link"))}" title="${i18n().link_name}">${statement.linkName}</a> (${i18n().no_url_provided})
</#if>

View file

@ -33,4 +33,131 @@ intro_title = Welcome to VIVO
intro_para1 = VIVO is a research-focused discovery tool that enables collaboration among scientists across all disciplines.
intro_para2 = Browse or search information on people, departments, courses, grants, and publications.
intro_searchvivo = Search VIVO
intro_filtersearch = Filter search
intro_filtersearch = Filter search
#
# List view ("propStatement-") templates
#
advisee_label = advisee label
candidate = candidate
advisory_label = advisory label
resource_name = resource name
missing_info_resource = missing information resource
award_receipt_name = award receipt name
award_name = award name
conferred_by = conferred by
incomplete_date_time = incomplete date time
organization_name = organization name
missing_organization = missing organization
middle_organization = middle organization
concept_name = concept name
event_name = event name
missing_event = missing event
event_label = event label
activity_name = activity name
missing_activity = missing activity
awarded_by = awarded by
administered_by = administered by
presentation_name = presentation name
missing_presentation = missing presentation
conference = conference
series = series
author_name = author name
missing_author = missing author
address_street_one = address street one
address_street_two = address street two
address_street_three = address street three
address_label = address label
person_name = person name
missing_person_in_posn = missing person in this position
missing_person_in_role = missing person in this role
scopus_id_link = Scopus ID Link
loading_website_image = Loading website image
click_to_view_web_page = Click to view the {0} web page
screenshot_of_webpage = screenshot of webpage {0}
click_webpage_icon = click webpage icon
link_text = link text
link_name = link name
no_url_provided = no url provided for link
#
# "partial" individual templates ( /templates/freemarker/body/partials/individual )
#
contact_capitalized = Contact
primary_email = primary email
additional_emails = additional emails
email = email
primary_email_capitalized = Primary Email
additional_emails_capitalized = Additional Emails
contact_info = Contact Info
active_grants_for = Active Grants for
grant_name = Grant Name
close_date = Close Date
no_active_grants = There are currently no active grants for this department.
view_all_active_grants = View all active grants
faculty_who_are_members_of_org = Here are the faculty in the {0} department who are members of this organization.
view_all_faculty = view all faculty
view_all_members_of_org = View all the members of this organization.
faculty_memberships = Faculty Memberships
faculty_with_researh_area = Here are the faculty members in the {0} department who have an interest in this research area.
view_all_faculty_in_area = View all faculty members with an interest in this area.
faculty_research_areas = Faculty Research Areas
research_area = research area
display_more = more
display_less = less
share_the_uri = share the uri
export_qr_codes = Export QR codes
vcard_qr_code = vCard QR Code
qr_icon = qr icon
qr_code = QR Code
invalid_qr_code_parameter = You have passed an invalid value for the qrCode display parameter.
research_areas = research areas
publications_in_vivo = Publications in VIVO
co_author = co-author
co_author_network = Co-author Network
map_of_science = map of science
map_of_science_capitalized = Map of Science
co_investigator_network = co-investigator network
co_investigator_network_capitalized = Co-investigator Network
networks = Networks
co_authors = Co-authors
temporal_graph = temporal graph
temporal_graph_capitalized = Temporal Graph
websites = Websites
#
# individual templates ( /templates/freemarker/body/individual )
#
standard_view = Standard profile view
quick_view = Quick profile view
quick_view_icon = quick view icon
geographic_focus = Geographic Focus
manage_labels = Manage Labels
manage_labels_intro = Multiple labels exist for this profile but there should only be one. Select the label you want displayed on the profile page, and the others will be deleted.
processing_icon = processing
selection_in_process = Your selection is being processed.

View file

@ -38,3 +38,132 @@ intro_filtersearch = búsqueda Filtrar
menu_logout = Terminar
identity_admin = Administrador
# Following need translations
#
#
# List view ("propStatement-") templates
#
advisee_label = translate: advisee label
candidate = translate: candidate
advisory_label = translate: advisory label
resource_name = translate: resource name
missing_info_resource = translate: missing information resource
award_receipt_name = translate: award receipt name
award_name = translate: award name
conferred_by = translate: conferred by
incomplete_date_time = translate: incomplete date time
organization_name = translate: organization name
missing_organization = translate: missing organization
middle_organization = translate: middle organization
concept_name = translate: concept name
event_name = translate: event name
missing_event = translate: missing event
event_label = translate: event label
activity_name = translate: activity name
missing_activity = translate: missing activity
awarded_by = translate: awarded by
administered_by = translate: administered by
presentation_name = translate: presentation name
missing_presentation = translate: missing presentation
conference = translate: conference
series = translate: series
author_name = translate: author name
missing_author = translate: missing author
address_street_one = translate: address street one
address_street_two = translate: address street two
address_street_three = translate: address street three
address_label = translate: address label
person_name = translate: person name
missing_person_in_posn = translate: missing person in this position
missing_person_in_role = translate: missing person in this role
scopus_id_link = translate: Scopus ID Link
loading_website_image = translate: Loading website image
click_to_view_web_page = translate: Click to view the {0} web page
screenshot_of_webpage = translate: screenshot of webpage {0}
click_webpage_icon = translate: click webpage icon
link_text = translate: link text
link_name = translate: link name
no_url_provided = translate: no url provided for link
#
# "partial" individual templates ( /templates/freemarker/body/partials/individual )
#
contact_capitalized = translate: Contact
primary_email = translate: primary email
additional_emails = translate: additional emails
email = translate: email
primary_email_capitalized = translate: Primary Email
additional_emails_capitalized = translate: Additional Emails
contact_info = translate: Contact Info
active_grants_for = translate: Active Grants for
grant_name = translate: Grant Name
close_date = translate: Close Date
no_active_grants = translate: There are currently no active grants for this department.
view_all_active_grants = translate: View all active grants
faculty_who_are_members_of_org = translate: Here are the faculty in the {0} department who are members of this organization.
view_all_faculty = translate: view all faculty
view_all_members_of_org = translate: View all the members of this organization.
faculty_memberships = translate: Faculty Memberships
faculty_with_researh_area = translate: Here are the faculty members in the {0} department who have an interest in this research area.
view_all_faculty_in_area = translate: View all faculty members with an interest in this area.
faculty_research_areas = translate: Faculty Research Areas
research_area = translate: research area
display_more = translate: more
display_less = translate: less
share_the_uri = translate: share the uri
export_qr_codes = translate: Export QR codes
vcard_qr_code = translate: vCard QR Code
qr_icon = translate: qr icon
qr_code = translate: QR Code
invalid_qr_code_parameter = translate: You have passed an invalid value for the qrCode display parameter.
research_areas = translate: research areas
publications_in_vivo = translate: Publications in VIVO
co_author = translate: co-author
co_author_network = translate: Co-author Network
map_of_science = translate: map of science
map_of_science_capitalized = translate: Map of Science
co_investigator_network = translate: co-investigator network
co_investigator_network_capitalized = translate: Co-investigator Network
networks = translate: Networks
co_authors = translate: Co-authors
temporal_graph = translate: temporal graph
temporal_graph_capitalized = translate: Temporal Graph
websites = translate: Websites
#
# individual templates ( /templates/freemarker/body/individual )
#
standard_view = translate: Standard profile view
quick_view = translate: Quick profile view
quick_view_icon = translate: quick view icon
geographic_focus = translate: Geographic Focus
manage_labels = translate: Manage Labels
manage_labels_intro = translate: Multiple labels exist for this profile but there should only be one. Select the label you want displayed on the profile page, and the others will be deleted.
processing_icon = translate: processing
selection_in_process = translate: Your selection is being processed.