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:17:39 -04:00
parent 6d7f8e05c8
commit fa68e0c057
24 changed files with 407 additions and 116 deletions

View file

@ -215,4 +215,152 @@ error_no_role = You must select a role.
error_no_password = No password supplied.
error_password_length = Password must be between {0} and {1} characters.
error_password_mismatch = Passwords do not match.
#
# "partial" individual templates ( /templates/freemarker/body/partials/individual )
#
manage_publications = manage publications
manage_grants_and_projects = manage grants & projects
manage_affiliated_people = manage affiliated people
group_name = group name
scroll_to_menus = scroll to property group menus
properties_capitalized = Properties
properties = properties
view_all = View All
name = name
admin_panel = Admin Panel
edit_this_individual = Edit this individual
verbose_status_on = on
verbose_status_off = off
verbose_property_status = Verbose property display is
verbose_control = verbose control
verbose_turn_on = Turn on
verbose_turn_off = Turn off
resource_uri = Resource URI
individual_not_found = Individual not found:
entity_to_query_for = This id is the id of the entity to query for. netid also works.
menu_ordering = Menu Ordering
refresh_page_after_reordering = Refresh page after reordering menu items
display_has_element_error = There was an error in the system. The display:hasElement property could not be retrieved.
return_to = return to {0}
#
# admin templates ( /templates/freemarker/body/admin )
#
logins_already_restricted = Logins are already restricted.
logins_not_already_restricted = Logins are already not restricted.
logins_restricted = Logins are now restricted.
logins_not_restricted = Logins are no longer restricted.
remove_restrictions = Remove Restrictions
restrict_logins = Restrict Logins
error_alert_icon = Error alert icon
current_user = Current user
ext_auth_id = External Auth ID
not_logged_in = Not logged in
identifiers = Identifiers
associated_individuals = Associated Individuals
match_by = match by {0}
matching_prop_not_defined = matching property is not defined
may_edit = May edit
may_not_edit = May not edit
none = none
identifier_factories = Identifier factories
policies = Policies
authenticator = Authenticator
background_threads = Background Threads
name_capitalized = Name
work_level = Work level
since = Since
flags = Flags
search_index_status = Search Index Status
search_index_not_connected = The search index is not connected.
failed = failed
check_startup_status = Check startup status page and/or Tomcat logs for more information.
search_indexer_idle = The search indexer is idle.
most_recent_update = The most recent update was at
rebuild_button = Rebuild
reset_search_index = Reset the search index and re-populate it.
preparing_to_rebuild_index = Preparing to rebuild the search index.
since_elapsed_time = since {0}, elapsed time {1}
current_task = {0} the search index
since_elapsed_time_est_total = since {0}, elapsed time {1}, estimated total time {2}
index_recs_completed = Completed {0} out of {1} index records.
fatal_error = Fatal Error
fatal_error_detected = {0} detected a fatal error during startup.
warning = Warning
warnings_issued = {0} issued warnings during startup.
startup_trace = Startup trace
full_list_startup = The full list of startup events and messages.
startup_status = Startup Status
continue = Continue
#
# contact form templates ( /templates/freemarker/body/contactForm )
#
rejected_spam = REJECTED - SPAM
feedback_thanks_heading = Thank you for your feedback
feedback_thanks_text = Thank you for contacting our curation and development team. We will respond to your inquiry as soon as possible.
return_to_the = Return to the
home_page = home page
from = From
ip_address = IP address
viewing_page = Likely viewing page
comments = Comments
interest_thanks = Thank you for your interest in {0}. Please submit this form with questions, comments, or feedback about the content of this site.
full_name = Full name
comments_questions = Comments, questions, or suggestions
enter_in_security_field = Please enter the letters displayed below into the security field
send_mail = Send Mail
#
# display edit template ( /templates/freemarker/body/displayEdit )
#
display_admin_header = Display Admin and Configuration
#
# error templates ( /templates/freemarker/body/error )
#
we_have_an_error = There was an error in the system.
error_was_reported = This error has been reported to the site administrator.
error_message = Error message
stack_trace = Stack trace
trace_available = full trace available in the vivo log
caused_by = Caused by
requested_url = Requested url
error_occurred = An error occurred on the VIVO site
error_occurred_at = An error occurred on your VIVO site at {0}.
#
# login templates ( /templates/freemarker/body/login )
#
internal_login = Internal Login
no_email_supplied = No email supplied.
no_password_supplied = No password supplied.
logins_temporarily_disabled = User logins are temporarily disabled while the system is being maintained.
incorrect_email_password = Email or Password was incorrect.
password_length = Password must be between 6 and 12 characters.
password_mismatch = Passwords do not match.
new_pwd_matches_existing = Your new password must be different from your existing password.
enter_email_pasword = Enter the email address and password for your internal Vitro account.
change_password = You must change your password to log in.
new_password = New Password
confirm_password = Confirm Password
email_capitalized = Email
password_capitalized = Password
login_button = Log in
fake_external_auth = Fake External Authentication
enter_id_to_login = Enter the userID that you want to sign in as, or click Cancel.
username = Username
submit_button = Submit

View file

@ -41,3 +41,149 @@ submit_save = Guardar foto
confirm_delete = ¿Seguro que quiere borrar esta foto?
#
# "partial" individual templates ( /templates/freemarker/body/partials/individual )
#
manage_publications = gestionar las publicaciones
manage_grants_and_projects = gestión de subvenciones y proyectos
manage_affiliated_people = gestión de personas afiliadas
group_name = nombre de grupo
scroll_to_menus = desplazarse a los menús de grupo de propiedad
properties_capitalized = Propiedades
properties = propiedades
view_all = Ver Todos
name = nombre
admin_panel = Panel de Admin
edit_this_individual = Editar esta Individuo
verbose_status_on = encendido
verbose_status_off = desconectado
verbose_property_status = Display propiedad verbosa es
verbose_control = mando del verboso
verbose_turn_on = encender
verbose_turn_off = desconectar
resource_uri = URI de recurso
individual_not_found = translate: Individual not found:
entity_to_query_for = translate: This id is the id of the entity to query for. netid also works.
= translate:
menu_ordering = translate: Menu Ordering
refresh_page_after_reordering = translate: Refresh page after reordering menu items
display_has_element_error = translate: There was an error in the system. The display:hasElement property could not be retrieved.
return_to = translate: return to {0}
#
# admin templates ( /templates/freemarker/body/admin )
#
logins_already_restricted = translate: Logins are already restricted.
logins_not_already_restricted = translate: Logins are already not restricted.
logins_restricted = translate: Logins are now restricted.
logins_not_restricted = translate: Logins are no longer restricted.
remove_restrictions = translate: Remove Restrictions
restrict_logins = translate: Restrict Logins
error_alert_icon = translate: Error alert icon
current_user = translate: Current user
ext_auth_id = translate: External Auth ID
not_logged_in = translate: Not logged in
identifiers = translate: Identifiers
associated_individuals = translate: Associated Individuals
match_by = translate: match by {0}
matching_prop_not_defined = translate: matching property is not defined
may_edit = translate: May edit
may_not_edit = translate: May not edit
none = translate: none
identifier_factories = translate: Identifier factories
policies = translate: Policies
authenticator = translate: Authenticator
background_threads = translate: Background Threads
name_capitalized = translate: Name
work_level = translate: Work level
since = translate: Since
flags = translate: Flags
search_index_status = translate: Search Index Status
search_index_not_connected = translate: The search index is not connected.
failed = translate: failed
check_startup_status = translate: Check startup status page and/or Tomcat logs for more information.
search_indexer_idle = translate: The search indexer is idle.
most_recent_update = translate: The most recent update was at
rebuild_button = translate: Rebuild
reset_search_index = translate: Reset the search index and re-populate it.
preparing_to_rebuild_index = translate: Preparing to rebuild the search index.
since_elapsed_time = translate: since {0}, elapsed time {1}
current_task = translate: {0} the search index
since_elapsed_time_est_total = translate: since {0}, elapsed time {1}, estimated total time {2}
index_recs_completed = translate: Completed {0} out of {1} index records.
fatal_error = translate: Fatal Error
fatal_error_detected = translate: {0} detected a fatal error during startup.
warning = translate: Warning
warnings_issued = translate: {0} issued warnings during startup.
startup_trace = translate: Startup trace
full_list_startup = translate: The full list of startup events and messages.
startup_status = translate: Startup Status
continue = translate: Continue
#
# contact form templates ( /templates/freemarker/body/contactForm )
#
rejected_spam = translate: REJECTED - SPAM
feedback_thanks_heading = translate: Thank you for your feedback
feedback_thanks_text = translate: Thank you for contacting our curation and development team. We will respond to your inquiry as soon as possible.
return_to_the = translate: Return to the
home_page = translate: home page
from = translate: From
ip_address = translate: IP address
viewing_page = translate: Likely viewing page
comments = translate: Comments
interest_thanks = translate: Thank you for your interest in {0}. Please submit this form with questions, comments, or feedback about the content of this site.
full_name = translate: Full name
comments_questions = translate: Comments, questions, or suggestions
enter_in_security_field = translate: Please enter the letters displayed below into the security field
send_mail = translate: Send Mail
#
# display edit template ( /templates/freemarker/body/displayEdit )
#
display_admin_header = translate: Display Admin and Configuration
#
# error templates ( /templates/freemarker/body/error )
#
we_have_an_error = translate: There was an error in the system.
error_was_reported = translate: This error has been reported to the site administrator.
error_message = translate: Error message
stack_trace = translate: Stack trace
trace_available = translate: full trace available in the vivo log
caused_by = translate: Caused by
requested_url = translate: Requested url
error_occurred = translate: An error occurred on the VIVO site
error_occurred_at = translate: An error occurred on your VIVO site at {0}.
#
# login templates ( /templates/freemarker/body/login )
#
internal_login = translate: Internal Login
no_email_supplied = translate: No email supplied.
no_password_supplied = translate: No password supplied.
logins_temporarily_disabled = translate: User logins are temporarily disabled while the system is being maintained.
incorrect_email_password = translate: Email or Password was incorrect.
password_length = translate: Password must be between 6 and 12 characters.
password_mismatch = translate: Passwords do not match.
new_pwd_matches_existing = translate: Your new password must be different from your existing password.
enter_email_pasword = translate: Enter the email address and password for your internal Vitro account.
change_password = translate: You must change your password to log in.
new_password = translate: New Password
confirm_password = translate: Confirm Password
email_capitalized = translate: Email
password_capitalized = translate: Password
login_button = translate: Log in
fake_external_auth = translate: Fake External Authentication
enter_id_to_login = translate: Enter the userID that you want to sign in as, or click Cancel.
username = translate: Username
submit_button = translate: Submit

View file

@ -4,26 +4,26 @@
<h2>Restrict Logins</h2>
<#if messageAlreadyRestricted??>
<#assign errorMessage = "Logins are already restricted." />
<#assign errorMessage = "${i18n().logins_already_restricted}" />
</#if>
<#if messageAlreadyOpen??>
<#assign errorMessage = "Logins are already not restricted." />
<#assign errorMessage = "${i18n().logins_not_already_restricted}" />
</#if>
<#if errorMessage?has_content>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>${errorMessage}</p>
</section>
</#if>
<#if messageRestricting??>
<#assign successMessage = "Logins are now restricted." />
<#assign successMessage = "${i18n().logins_restricted}" />
</#if>
<#if messageOpening??>
<#assign successMessage = "Logins are no longer restricted." />
<#assign successMessage = "${i18n().logins_not_restricted}" />
</#if>
<#if successMessage?has_content>
@ -36,9 +36,9 @@
<section id="restrict-login" role="region">
<#if restricted == true>
<h4>Logins are restricted</h4>
<p><a href="${openUrl}" title="Remove Restrictions">Remove Restrictions</a></p>
<p><a href="${openUrl}" title="${i18n().remove_restrictions}">${i18n().remove_restrictions}</a></p>
<#else>
<h4>Logins are open to all</h4>
<p><a href="${restrictUrl}" title="Restrict Logins">Restrict Logins</a></p>
<p><a href="${restrictUrl}" title="${i18n().Restrict Logins}">${i18n().Restrict Logins}</a></p>
</#if>
</section>

View file

@ -7,24 +7,24 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
<h2>Authorization Info</h2>
<section id="show-auth" role="region">
<h4>Current user</h4>
<h4>${i18n().current_user}</h4>
<table summary="Information about the current user">
<#if currentUser?has_content>
<tr><th>URI:</th><td>${currentUser.uri}</td></tr>
<tr><th>First name:</th><td>${currentUser.firstName}</td></tr>
<tr><th>Last name:</th><td>${currentUser.lastName}</td></tr>
<tr><th>Email:</th><td>${currentUser.emailAddress}</td></tr>
<tr><th>External Auth ID:</th><td>${currentUser.externalAuthId}</td></tr>
<tr><th>Login count:</th><td>${currentUser.loginCount}</td></tr>
<tr><th>${i18n().first_name}:</th><td>${currentUser.firstName}</td></tr>
<tr><th>${i18n().last_name}:</th><td>${currentUser.lastName}</td></tr>
<tr><th>${i18n().email_Address}:</th><td>${currentUser.emailAddress}</td></tr>
<tr><th>${i18n().external_auth_id}:</th><td>${currentUser.externalAuthId}</td></tr>
<tr><th>${i18n().login_count}:</th><td>${currentUser.loginCount}</td></tr>
<#list currentUser.permissionSetUris as role>
<tr><th>Role:</th><td>${role}</td></tr>
<tr><th>${i18n().role}:</th><td>${role}</td></tr>
</#list>
<#else>
<tr><th>Not logged in</th></tr>
<tr><th>${i18n().not_logged_in}</th></tr>
</#if>
</table>
<h4>Identifiers:</h4>
<h4>${i18n().identifiers}:</h4>
<table summary="Identifiers">
<#list identifiers as identifier>
<tr>
@ -34,11 +34,11 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
</table>
<h4>
AssociatedIndividuals:
${i18n().associated_individuals}:
<#if matchingProperty??>
(match by ${matchingProperty})
(${i18n().match_by(matchingProperty)})
<#else>
(matching property is not defined)
(${i18n().matching_prop_not_defined})
</#if>
</h4>
<table summary="Associated Individuals">
@ -47,18 +47,18 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
<tr>
<td>${associatedIndividual.uri}</td>
<#if associatedIndividual.editable>
<td>May edit</td>
<td>${i18n().may_edit}</td>
<#else>
<td>May not edit</td>
<td>${i18n().may_not_edit}</td>
</#if>
</tr>
</#list>
<#else>
<tr><td>none</td></tr>
<tr><td>${i18n().none}</td></tr>
</#if>
</table>
<h4>Identifier factories:</h4>
<h4>${i18n().identifier_factories}:</h4>
<table summary="Active Identifier Factories">
<#list factories as factory>
<tr>
@ -67,7 +67,7 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
</#list>
</table>
<h4>Policies:</h4>
<h4>${i18n().policies}:</h4>
<table summary="Policies" width="100%">
<#list policies as policy>
<tr>
@ -76,7 +76,7 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
</#list>
</table>
<h4>Authenticator:</h4>
<h4>${i18n().authenticator}:</h4>
<table summary="Authenticator" width="100%">
<tr>
<td>${authenticator}</td>

View file

@ -17,15 +17,15 @@ table.threadInfo th {
</style>
<h2>Background Threads</h2>
<h2>${i18n().background_threads}</h2>
<section id="show-threads" role="region">
<#list threads as threadInfo>
<table class="threadInfo ${threadInfo.workLevel}" summary="Thread ${threadInfo.name}">
<tr><th>Name</th><td>${threadInfo.name}</td></tr>
<tr><th>WorkLevel</th><td>${threadInfo.workLevel}</td></tr>
<tr><th>Since</th><td>${threadInfo.since}</td></tr>
<tr><th>Flags</th><td>${threadInfo.flags}</td></tr>
<tr><th>${i18n().name}</th><td>${threadInfo.name}</td></tr>
<tr><th>${i18n().work_level}</th><td>${threadInfo.workLevel}</td></tr>
<tr><th>${i18n().since}</th><td>${threadInfo.since}</td></tr>
<tr><th>${i18n().flags}</th><td>${threadInfo.flags}</td></tr>
</table>
</#list>
</section>

View file

@ -4,40 +4,40 @@
Template for the page that controls the updating or rebuilding of the Search Index.
-->
<h2>Search Index Status</h2>
<h2>${i18n().search_index_status}</h2>
<#if !indexIsConnected>
<!-- Can't contact the Solr server. Indexing would be impossible. Show an error message. -->
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<p>The search index is not connected.</p>
<p><tt>SolrServer.ping()</tt> failed.
<p>Check startup status page and/or Tomcat logs for more information.</p>
<p>${i18n().search_index_not_connected}</p>
<p><tt>SolrServer.ping()</tt> ${i18n().failed}.
<p>${i18n().check_startup_status}</p>
</section>
<#elseif worklevel == "IDLE">
<!-- Solr indexer is idle. Show the button that rebuilds the index. -->
<h3>The search indexer is idle.</h3>
<h3>${i18n().search_indexer_idle}</h3>
<#if hasPreviousBuild??>
<p>The most recent update was at ${since?string("hh:mm:ss a, MMMM dd, yyyy")}</p>
<p>${i18n().most_recent_update} ${since?string("hh:mm:ss a, MMMM dd, yyyy")}</p>
</#if>
<form action="${actionUrl}" method="POST">
<p>
<input class="submit" type="submit" name="rebuild" value="Rebuild" role="button" />
Reset the search index and re-populate it.
<input class="submit" type="submit" name="rebuild" value="${i18n().rebuild_button}" role="button" />
${i18n().reset_search_index}
</p>
</form>
<#elseif totalToDo == 0>
<!-- Solr indexer is preparing the list of records. Show elapsed time since request. -->
<h3>Preparing to rebuild the search index. </h3>
<p>since ${since?string("hh:mm:ss a, MMMM dd, yyyy")}, elapsed time ${elapsed}</p>
<h3>${i18n().preparing_to_rebuild_index}</h3>
<p>${i18n().since_elapsed_time(since?string("hh:mm:ss a, MMMM dd, yyyy"),elapsed)}</p>
<#else>
<!-- Solr indexer is re-building the index. Show the progress. -->
<h3>${currentTask} the search index.</h3>
<p>since ${since?string("hh:mm:ss a, MMMM dd, yyyy")}, elapsed time ${elapsed}, estimated total time ${expected}</p>
<p>Completed ${completedCount} out of ${totalToDo} index records.</p>
<h3>${i18n().current_task(currentTask)}</h3>
<p>${i18n().since_elapsed_time_est_total(since?string("hh:mm:ss a, MMMM dd, yyyy"),elapsed,expected)}</p>
<p>${i18n().index_recs_completed(completedCount,totalToDo)}</p>
</#if>

View file

@ -35,9 +35,9 @@
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/startupStatus.css" />')}
<#if status.errorItems?has_content>
<h2>Fatal error</h2>
<h2>${i18n().fatal_error}</h2>
<p>${applicationName} detected a fatal error during startup.</p>
<p>${i18n().fatal_error_detected(applicationName)}</p>
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation">
<#list status.errorItems as item>
@ -47,9 +47,9 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/startupStatus.c
</#if>
<#if status.warningItems?has_content>
<h2>Warning</h2>
<h2>${i18n().warning}</h2>
<p>${applicationName} issued warnings during startup.</p>
<p>${i18n().warning_issued(applicationName)}</p>
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation"><#list status.warningItems as item>
<@statusItem item=item />
@ -57,9 +57,9 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/startupStatus.c
</ul>
</#if>
<h2>Startup trace</h2>
<h2>${i18n().startup_trace}</h2>
<p>The full list of startup events and messages.</p>
<p>${i18n().full_list_startup}</p>
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation">
<#list status.statusItems as item>

View file

@ -40,7 +40,7 @@
<html lang="en">
<head>
<title>Startup Status</title>
<title>${i18n().startup_status}</title>
<style TYPE="text/css">
#startup-trace {
@ -77,9 +77,9 @@
<body>
<#if status.errorItems?has_content>
<h2>Fatal error</h2>
<h2>${i18n().fatal_error}</h2>
<p>${applicationName} detected a fatal error during startup.</p>
<p>${i18n().fatal_error_detected(applicationName)}</p>
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation">
<#list status.errorItems as item>
@ -89,9 +89,9 @@
</#if>
<#if status.warningItems?has_content>
<h2>Warning</h2>
<h2>${i18n().warning}</h2>
<p>${applicationName} issued warnings during startup.</p>
<p>${i18n().warning_issued(applicationName)}</p>
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation"><#list status.warningItems as item>
<@statusItem item=item />
@ -100,14 +100,14 @@
<#-- If there were no fatal errors, let them go forward from here. -->
<#if showLink>
<p><a href="${url}" title="continue">Continue</a></p>
<p><a href="${url}" title="continue">${i18n().continue}</a></p>
</#if>
</#if>
<h2>Startup trace</h2>
<h2>${i18n().startup_trace}</h2>
<p>The full list of startup events and messages.</p>
<p>${i18n().full_list_startup}</p>
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation">
<#list status.statusItems as item>

View file

@ -6,9 +6,9 @@
<#if spamReason??>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alt="${i18n().error_alert_icon}" />
<p>REJECTED - SPAM</p>
<p>${i18n().rejected_spam}</p>
<p>${spamReason}</p>
</section>
</#if>

View file

@ -2,7 +2,7 @@
<#-- Contact form submission confirmation page -->
<h2>Thank you for your feedback</h2>
<h2>${i18n().feedback_thanks_heading}</h2>
<p>Thank you for contacting our curation and development team. We will respond to your inquiry as soon as possible.</p>
<p>Return to the <a href="${urls.home}">home page</a>.</p>
<p>${i18n().feedback_thanks_text}</p>
<p>${i18n().return_to_the} <a href="${urls.home}" title="${i18n().home_page}">${i18n().home_page}</a>.</p>

View file

@ -12,17 +12,17 @@
<body>
<h3>${subject}</h3>
<p><strong>From:</strong> ${name}</p>
<p><strong>${i18n().from}:</strong> ${name}</p>
<p><strong>Email address:</strong> ${emailAddress}</p>
<p><strong>${i18n().email_address}:</strong> ${emailAddress}</p>
<p>
<strong>IP address:</strong> ${ip}<br />
<strong>${i18n().ip_address}:</strong> ${ip}<br />
<#if referrer??>
<em>Likely viewing page: ${referrer}</em>
<em>${i18n().viewing_page}: ${referrer}</em>
</#if>
</p>
<p><strong>Comments:</strong> ${comments}</p>
<p><strong>${i18n().comments}:</strong> ${comments}</p>
</body>
</html>

View file

@ -10,4 +10,6 @@
</section>
</#if>
<p class="contactUsReturnHome">Return to the <a href="${urls.home}" title="home page">home page</a>.</p>
<p class="contactUsReturnHome">${i18n().return_to_the}
<a href="${urls.home}" title="${i18n().home_page}">${i18n().home_page}</a>.
</p>

View file

@ -11,9 +11,7 @@
</section>
</#if>
<p>Thank you for your interest in ${siteName}.
Please submit this form with questions, comments, or feedback about the content of this site.
</p>
<p>${i18n().interest_thanks(siteName)}</p>
<form name="contact_form" id="contact_form" class="customForm" action="${formAction!}" method="post" onSubmit="return ValidateForm('contact_form');" role="contact form">
<input type="hidden" name="RequiredFields" value="webusername,webuseremail,s34gfd88p9x1" />
@ -22,25 +20,25 @@
<input type="hidden" name="EmailFieldsNames" value="emailaddress" />
<input type="hidden" name="DeliveryType" value="contact" />
<label for="webusername">Full name <span class="requiredHint"> *</span></label>
<label for="webusername">${i18n().full_name} <span class="requiredHint"> *</span></label>
<input type="text" name="webusername" value="${webusername!}"/>
<label for="webuseremail">Email address <span class="requiredHint"> *</span></label>
<label for="webuseremail">${i18n().email_address} <span class="requiredHint"> *</span></label>
<input type="text" name="webuseremail" value="${webuseremail!}"/>
<label>Comments, questions, or suggestions <span class="requiredHint"> *</span></label>
<label>${i18n().comments_questions} <span class="requiredHint"> *</span></label>
<textarea name="s34gfd88p9x1" rows="10" cols="90">${comments!}</textarea>
<p><label class="realpersonLabel">Please enter the letters displayed below into the security field:</label>
<p><label class="realpersonLabel">${i18n().enter_in_security_field}:</label>
<input type="text" id="defaultReal" name="defaultReal"></p>
<div class="buttons">
<br /><input id="submit" type="submit" value="Send Mail" />
<br /><input id="submit" type="submit" value="${i18n().send_mail}" />
</div>
<p class="requiredHint">* required fields</p>
<p class="requiredHint">* ${i18n().required_fields}</p>
</form>
</section>

View file

@ -2,6 +2,6 @@
<#-- Template for help on individual page -->
<h2>Individual not found:</h2>
<h2>${i18n().individual_not_found}</h2>
<p>id is the id of the entity to query for. netid also works.</p>
<p>${i18n().entity_to_query_for}</p>

View file

@ -13,7 +13,7 @@
var menuItemData = [];
</script>
<h3>Menu Ordering</h3>
<h3>${i18n().menu_ordering}</h3>
<#-- List the menu items -->
<ul class="menuItems">
@ -34,7 +34,7 @@
</form>
<br />
<p class="note">Refresh page after reordering menu items</p>
<p class="note">${i18n().refresh_page_after_reordering}</p>
</#if>
</#if>
@ -55,5 +55,5 @@
${scripts.add('<script type="text/javascript" src="${urls.base}/js/individual/menuManagement.js"></script>')}
<#else>
<p id="error-alert">There was an error in the system. The display:hasElement property could not be retrieved.</p>
<p id="error-alert">${i18n().display_has_element_error}</p>
</#if>

View file

@ -28,7 +28,7 @@
<header>
<#if relatedSubject??>
<h2>${relatedSubject.relatingPredicateDomainPublic} for ${relatedSubject.name}</h2>
<p><a href="${relatedSubject.url}" title="return to subject">&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="fn">
<#-- Label -->

View file

@ -7,11 +7,9 @@
<#if subjectName?? >
<h2>Manage Labels for ${subjectName}</h2>
<#else>
<h2>Manage Labels</h2>
<h2>${i18n().manage_labels}</h2>
</#if>
<p id="mngLabelsText">
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.
</p>
<p id="mngLabelsText">${i18n().manage_labels_intro}</p>
<section id="rdfsLabels" role="container">
<ul>
@ -43,11 +41,11 @@ Multiple labels exist for this profile but there should only be one. Select the
<br />
<p>
<input type="button" class="submit" id="submit" value="Save" role="button" role="input" />
<input type="button" class="submit" id="submit" value="${i18n().save_button}" role="button" role="input" />
<span class="or"> or </span>
<a href="${urls.referringPage}" class="cancel" title="cancel" >Cancel</a>
<a href="${urls.referringPage}" class="cancel" title="${i18n().cancel_title}" >${i18n().cancel_link}</a>
<span id="indicator" class="indicator hidden">
<img class="indicator" src="${urls.base}/images/indicatorWhite.gif" />&nbsp;Your selection is being processed.
<img class="indicator" src="${urls.base}/images/indicatorWhite.gif" alt="${i18n().processing_icon}"/>&nbsp;${i18n().selection_in_process}
</span>
</p>
</section>

View file

@ -6,18 +6,18 @@
<#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>
<h3 id="adminPanel">${i18n().admin_panel}</h3><a class="edit-individual" href="${individual.controlPanelUrl()}" title="${i18n().edit_this_individual}">${i18n().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>
<#assign currentValue = verbosePropertySwitch.currentValue?string("${i18n().verbose_status_on}", "${i18n().verbose_status_off}")>
<#assign newValue = verbosePropertySwitch.currentValue?string("${i18n().verbose_status_off}", "${i18n().verbose_status_on}")>
<span>${i18n().verbose_property_status} <b>${currentValue}</b> | </span>
<a id="${anchorId}" class="verbose-toggle small" href="${verbosePropertySwitch.url}" title="${i18n().verbose_control}"><#if verbosePropertySwitch.currentValue!>${i18n().verbose_turn_off}<#else>${i18n().verbose_turn_on}</#if></a>
</#if>
</section>
<p class="uri-link">Resource URI: <a href="${individual.uri}" target="_blank" title="resource uri">${individual.uri}</a></p>
<p class="uri-link">${i18n().resource_uri}: <a href="${individual.uri}" target="_blank" title="${i18n().resource_uri}">${individual.uri}</a></p>
</section>
</#if>

View file

@ -7,20 +7,20 @@
<#-- Property display name -->
<#if property.localName == "authorInAuthorship" && editable >
<h3 id="${property.localName}">${property.name} <@p.addLink property editable /> <@p.verboseDisplay property />
<a id="managePubLink" class="manageLinks" href="${urls.base}/managePublications?subjectUri=${subjectUri[1]!}" title="manage publications" <#if verbose>style="padding-top:10px"</#if> >
manage publications
<a id="managePubLink" class="manageLinks" href="${urls.base}/managePublications?subjectUri=${subjectUri[1]!}" title="${i18n().manage_publications}" <#if verbose>style="padding-top:10px"</#if> >
${i18n().manage_publications}
</a>
</h3>
<#elseif property.localName == "hasResearcherRole" && editable >
<h3 id="${property.localName}">${property.name} <@p.addLink property editable /> <@p.verboseDisplay property />
<a id="manageGrantLink" class="manageLinks" href="${urls.base}/manageGrants?subjectUri=${subjectUri[1]!}" title="manage grants & projects" <#if verbose>style="padding-top:10px"</#if> >
manage grants & projects
<a id="manageGrantLink" class="manageLinks" href="${urls.base}/manageGrants?subjectUri=${subjectUri[1]!}" title="${i18n().manage_grants_and_projects}" <#if verbose>style="padding-top:10px"</#if> >
${i18n().manage_grants_and_projects}
</a>
</h3>
<#elseif property.localName == "organizationForPosition" && editable >
<h3 id="${property.localName}">${property.name} <@p.addLink property editable /> <@p.verboseDisplay property />
<a id="managePeopleLink" class="manageLinks" href="${urls.base}/managePeople?subjectUri=${subjectUri[1]!}" title="manage people" <#if verbose>style="padding-top:10px"</#if> >
manage affiliated people
<a id="managePeopleLink" class="manageLinks" href="${urls.base}/managePeople?subjectUri=${subjectUri[1]!}" title="${i18n().manage_affiliated_people}" <#if verbose>style="padding-top:10px"</#if> >
${i18n().manage_affiliated_people}
</a>
</h3>
<#else>

View file

@ -19,7 +19,7 @@
<#assign groupnameHtmlId = p.createPropertyGroupHtmlId(groupname) >
<#-- capitalize will capitalize each word in the name; cap_first only the first. We may need a custom
function to capitalize all except function words. -->
<li role="listitem"><a href="#${groupnameHtmlId}" title="group name">${groupname?capitalize}</a></li>
<li role="listitem"><a href="#${groupnameHtmlId}" title="${i18n().group_name}">${groupname?capitalize}</a></li>
</#if>
</#list>
</ul>
@ -33,8 +33,8 @@
<section class="property-group" role="region">
<nav class="scroll-up" role="navigation">
<a href="#branding" title="scroll up">
<img src="${urls.images}/individual/scroll-up.gif" alt="scroll to property group menus" />
<a href="#branding" title="${i18n().scroll_to_menus}">
<img src="${urls.images}/individual/scroll-up.gif" alt="${i18n().scroll_to_menus}" />
</a>
</nav>
@ -44,7 +44,7 @@
<#assign groupNameHtmlId = p.createPropertyGroupHtmlId(groupName) >
<h2 id="${groupNameHtmlId}">${groupName?capitalize}</h2>
<#else>
<h2 id="properties">Properties</h2>
<h2 id="properties">${i18n().properties_capitalized}</h2>
</#if>
<#-- List the properties in the group -->

View file

@ -15,8 +15,8 @@
<#--the function replaces spaces in the name with underscores, also called for the property group menu-->
<#assign groupNameHtmlId = p.createPropertyGroupHtmlId(groupName) >
<#else>
<#assign groupName = "Properties">
<#assign groupNameHtmlId = "properties" >
<#assign groupName = "${i18n().properties_capitalized}">
<#assign groupNameHtmlId = "${i18n().properties}" >
</#if>
<#if tabCount = 1 >
<li class="selectedGroupTab clickable" groupName="${groupNameHtmlId}">${groupName?capitalize}</li>
@ -28,7 +28,7 @@
</#if>
</#list>
<#if (propertyGroups.all?size > 1) >
<li class="nonSelectedGroupTab clickable" groupName="viewAll">View All</li>
<li class="nonSelectedGroupTab clickable" groupName="viewAll">${i18n().view_all}</li>
<li class="groupTabSpacer">&nbsp;</li>
</#if>
</ul>
@ -38,8 +38,8 @@
<#assign verbose = (verbosePropertySwitch.currentValue)!false>
<section id="${groupNameHtmlId}" class="property-group" role="region" style="<#if (sectionCount > 1) >display:none<#else>display:block</#if>">
<nav id="scroller" class="scroll-up hidden" role="navigation">
<a href="#branding" title="scroll up" >
<img src="${urls.images}/individual/scroll-up.gif" alt="scroll to property group menus" />
<a href="#branding" title="${i18n().scroll_to_menus}" >
<img src="${urls.images}/individual/scroll-up.gif" alt="${i18n().scroll_to_menus}" />
</a>
</nav>
@ -49,7 +49,7 @@
<#assign groupNameHtmlId = p.createPropertyGroupHtmlId(groupName) >
<h2 id="${groupNameHtmlId}" pgroup="tabs" class="hidden">${groupName?capitalize}</h2>
<#else>
<h2 id="properties" pgroup="tabs" class="hidden">Properties</h2>
<h2 id="properties" pgroup="tabs" class="hidden">${i18n().properties_capitalized}</h2>
</#if>
<div id="${groupNameHtmlId}Group" >
<#-- List the properties in the group -->

View file

@ -18,7 +18,7 @@
<#assign groupnameHtmlId = p.createPropertyGroupHtmlId(groupname) >
<#-- capitalize will capitalize each word in the name; cap_first only the first. We may need a custom
function to capitalize all except function words. -->
<li role="listitem"><a href="#${groupnameHtmlId}" title="group name">${groupname?capitalize}</a></li>
<li role="listitem"><a href="#${groupnameHtmlId}" title="${i18n().group_name}">${groupname?capitalize}</a></li>
</#if>
</#list>
</ul>

View file

@ -6,4 +6,4 @@
is also used to generate the property statement during a deletion.
-->
<a href="${profileUrl(statement.uri("object"))}" title="name">${statement.label!statement.localName!}</a>
<a href="${profileUrl(statement.uri("object"))}" title="${i18n().name}">${statement.label!statement.localName!}</a>

View file

@ -1,5 +1,4 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Simple object property statement template -->
<a href="${profileUrl(statement.uri("object"))}" title="name">${statement.name!}</a>
<a href="${profileUrl(statement.uri("object"))}" title="${i18n().name}">${statement.name!}</a>