template changes for internationalization -- replaced displayed text with calls to properties file containing actual strings
This commit is contained in:
parent
6d7f8e05c8
commit
fa68e0c057
24 changed files with 407 additions and 116 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue