From 41850cecb48b4b059f652eebbf6b8c9cec6dff50 Mon Sep 17 00:00:00 2001
From: tworrall
- There was an error in the system.
+ ${i18n().we_have_an_error}
<#if sentEmail>
- This error has been reported to the site administrator.
+ ${i18n().error_was_reported}
#if>
Error message: ${adminErrorData.errorMessage?html} ${i18n().error_message}: ${adminErrorData.errorMessage?html}
- Stack trace (full trace available in the vivo log): ${adminErrorData.stackTrace?html}
+ ${i18n().stack_trace} (${i18n().trace_available}): ${adminErrorData.stackTrace?html}
Caused by: ${adminErrorData.cause?html} ${i18n().caused_by}: ${adminErrorData.cause?html} Return to the home page ${i18n().return_to_the} ${i18n().home_page}
- An error occurred on your VIVO site at ${datetime!}.
+ ${i18n().error_occurred_at(datetime!)}
- Requested url: ${requestedUrl!}
+ ${i18n().requested_url}: ${requestedUrl!}
<#if errorMessage?has_content>
- Error message: ${errorMessage!}
+ ${i18n().error_message}: ${errorMessage!}
#if>
- Stack trace (full trace available in the vivo log):
+ ${i18n().stack_trace} (${i18n().trace_available}):
${stackTrace!}
Caused by: +
${i18n().caused_by}:
${cause!}#if> @@ -42,19 +42,19 @@ #assign> <#assign text> -An error occurred on your VIVO site at ${datetime!}. +${i18n().error_occurred_at(datetime!)} -Requested url: ${requestedUrl!} +${i18n().requested_url}: ${requestedUrl!} <#if errorMessage?has_content> - Error message: ${errorMessage!} + ${i18n().error_message}: ${errorMessage!} #if> -Stack trace (full trace available in the vivo log): +${i18n().stack_trace} (${i18n().trace_available}): ${stackTrace!} <#if cause?has_content> -Caused by: +${i18n().caused_by}: ${cause!} #if> #assign> diff --git a/webapp/web/templates/freemarker/body/error/error-standard.ftl b/webapp/web/templates/freemarker/body/error/error-standard.ftl index 1eedaf780..690f5d041 100644 --- a/webapp/web/templates/freemarker/body/error/error-standard.ftl +++ b/webapp/web/templates/freemarker/body/error/error-standard.ftl @@ -2,6 +2,6 @@ <#-- Template for general system error. --> -
There was an error in the system.
+${i18n().we_have_an_error}.
-Return to the home page.
\ No newline at end of file +${i18n().return_to_the} ${i18n().home_page}
\ No newline at end of file diff --git a/webapp/web/templates/freemarker/body/login/adminLogin.ftl b/webapp/web/templates/freemarker/body/login/adminLogin.ftl index d8d856dea..2183d6570 100644 --- a/webapp/web/templates/freemarker/body/login/adminLogin.ftl +++ b/webapp/web/templates/freemarker/body/login/adminLogin.ftl @@ -3,69 +3,69 @@ <#-- Template for login using internal vitro account (even when external auth is enabled). Accessible at /admin/login -->${errorMessage}
Enter the email address and password for your internal Vitro account.
+${i18n().enter_email_pasword}
<#else> -You must change your password to log in.
+${i18n().change_password}
#if>- Enter the userID that you want to sign in as, or click Cancel. + ${i18n().enter_id_to_login}