more template updates for i18n

This commit is contained in:
tworrall 2013-05-31 11:57:37 -04:00
parent 20e6db75cd
commit 4a01fa057b
8 changed files with 26 additions and 25 deletions

View file

@ -227,7 +227,7 @@ group_name = group name
scroll_to_menus = scroll to property group menus scroll_to_menus = scroll to property group menus
properties_capitalized = Properties properties_capitalized = Properties
properties = properties properties = properties
view_all = View All view_all_capitalized = View All
name = name name = name
@ -262,7 +262,8 @@ restrict_logins = Restrict Logins
error_alert_icon = Error alert icon error_alert_icon = Error alert icon
current_user = Current user current_user = Current user
ext_auth_id = External Auth ID external_auth_id = External Auth ID
user_role = Role
not_logged_in = Not logged in not_logged_in = Not logged in
identifiers = Identifiers identifiers = Identifiers
associated_individuals = Associated Individuals associated_individuals = Associated Individuals
@ -312,7 +313,7 @@ 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. 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 return_to_the = Return to the
home_page = home page home_page = home page
from = From from_capitalized = From
ip_address = IP address ip_address = IP address
viewing_page = Likely viewing page viewing_page = Likely viewing page
comments = Comments comments = Comments
@ -738,3 +739,4 @@ vitro_bullet_three = Build a public web site to display your data
vitro_bullet_four = Search your data vitro_bullet_four = Search your data
search_vitro = Search VITRO search_vitro = Search VITRO
filter_search = filter search filter_search = filter search

View file

@ -13,11 +13,11 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
<tr><th>URI:</th><td>${currentUser.uri}</td></tr> <tr><th>URI:</th><td>${currentUser.uri}</td></tr>
<tr><th>${i18n().first_name}:</th><td>${currentUser.firstName}</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().last_name}:</th><td>${currentUser.lastName}</td></tr>
<tr><th>${i18n().email_Address}:</th><td>${currentUser.emailAddress}</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().external_auth_id}:</th><td>${currentUser.externalAuthId}</td></tr>
<tr><th>${i18n().login_count}:</th><td>${currentUser.loginCount}</td></tr> <tr><th>${i18n().login_count}:</th><td>${currentUser.loginCount}</td></tr>
<#list currentUser.permissionSetUris as role> <#list currentUser.permissionSetUris as role>
<tr><th>${i18n().role}:</th><td>${role}</td></tr> <tr><th>${i18n().user_role}:</th><td>${role}</td></tr>
</#list> </#list>
<#else> <#else>
<tr><th>${i18n().not_logged_in}</th></tr> <tr><th>${i18n().not_logged_in}</th></tr>

View file

@ -12,7 +12,7 @@
<body> <body>
<h3>${subject}</h3> <h3>${subject}</h3>
<p><strong>${i18n().from}:</strong> ${name}</p> <p><strong>${i18n().from_capitalized}:</strong> ${name}</p>
<p><strong>${i18n().email_address}:</strong> ${emailAddress}</p> <p><strong>${i18n().email_address}:</strong> ${emailAddress}</p>

View file

@ -2,7 +2,7 @@
<#-- Template for email message sent to site administrator when an error occurs on the site. --> <#-- Template for email message sent to site administrator when an error occurs on the site. -->
<#assign subject = i18n().error_occurred /> <#assign subject = "${i18n().error_occurred}" />
<#assign datetime = datetime?string("yyyy-MM-dd HH:mm:ss zzz")> <#assign datetime = datetime?string("yyyy-MM-dd HH:mm:ss zzz")>

View file

@ -6,31 +6,31 @@
<h2>${i18n().internal_login}</h2> <h2>${i18n().internal_login}</h2>
<#if errorNoEmail??> <#if errorNoEmail??>
<#assign errorMessage = i18n().no_email_supplied /> <#assign errorMessage = "${i18n().no_email_supplied}" />
</#if> </#if>
<#if errorNoPassword??> <#if errorNoPassword??>
<#assign errorMessage = i18n().no_password_supplied /> <#assign errorMessage = "${i18n().no_password_supplied}" />
</#if> </#if>
<#if errorLoginDisabled??> <#if errorLoginDisabled??>
<#assign errorMessage = i18n().logins_temporarily_disabled /> <#assign errorMessage = "${i18n().logins_temporarily_disabled}" />
</#if> </#if>
<#if errorLoginFailed??> <#if errorLoginFailed??>
<#assign errorMessage = i18n().incorrect_email_password /> <#assign errorMessage = "${i18n().incorrect_email_password}" />
</#if> </#if>
<#if errorNewPasswordWrongLength??> <#if errorNewPasswordWrongLength??>
<#assign errorMessage = i18n().password_length /> <#assign errorMessage = "${i18n().password_length}" />
</#if> </#if>
<#if errorNewPasswordsDontMatch??> <#if errorNewPasswordsDontMatch??>
<#assign errorMessage = i18n().password_mismatch /> <#assign errorMessage = "${i18n().password_mismatch}" />
</#if> </#if>
<#if errorNewPasswordMatchesOld??> <#if errorNewPasswordMatchesOld??>
<#assign errorMessage = i18n().new_pwd_matches_existing /> <#assign errorMessage = "${i18n().new_pwd_matches_existing}" />
</#if> </#if>
<#if errorMessage?has_content> <#if errorMessage?has_content>

View file

@ -28,7 +28,7 @@
</#if> </#if>
</#list> </#list>
<#if (propertyGroups.all?size > 1) > <#if (propertyGroups.all?size > 1) >
<li class="nonSelectedGroupTab clickable" groupName="viewAll">${i18n().view_all}</li> <li class="nonSelectedGroupTab clickable" groupName="viewAll">${i18n().view_all_capitalized}</li>
<li class="groupTabSpacer">&nbsp;</li> <li class="groupTabSpacer">&nbsp;</li>
</#if> </#if>
</ul> </ul>

View file

@ -39,7 +39,7 @@
</#if> </#if>
<#if editConfiguration.formTitle?contains("collaborator") > <#if editConfiguration.formTitle?contains("collaborator") >
<#assign formTitle = i18n().select_existing_collaborator(editConfiguration.subjectName) /> <#assign formTitle = "${i18n().select_existing_collaborator(editConfiguration.subjectName)}" />
<#else> <#else>
<#assign formTitle = editConfiguration.formTitle /> <#assign formTitle = editConfiguration.formTitle />
</#if> </#if>

View file

@ -7,15 +7,14 @@
--> -->
<#-- This is included by identity.ftl --> <#-- This is included by identity.ftl -->
<#if selectLocale??> <#if selectLocale??>
<li> <#list selectLocale.locales as locale>
<#list selectLocale.locales as locale> <li>
<a href="${selectLocale.selectLocaleUrl}?selection=${locale.code}" title="${i18n().select_locale}"> <a href="${selectLocale.selectLocaleUrl}?selection=${locale.code}" title="${i18n().select_locale}">
<img src="${locale.imageUrl}" height="15" align="middle" alt="${locale.label}"/> <img src="${locale.imageUrl}" height="15" style="vertical-align:middle" alt="${locale.label}"/>
</a> </a>
<#if locale_has_next>|</#if> </li>
</#list> </#list>
</li>
</#if> </#if>
<#-- <#--