FIX: 1.9 regression on i18n strings with variables
This commit is contained in:
parent
9932bea7ce
commit
b65ac132b7
|
@ -1,8 +1,8 @@
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
{{#if emailSent}}
|
{{#if emailSent}}
|
||||||
{{{i18n 'login.sent_activation_email_again' currentEmail="currentEmail"}}}
|
{{{i18n 'login.sent_activation_email_again' currentEmail=currentEmail}}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{{i18n 'login.not_activated' sentTo="sentTo"}}}
|
{{{i18n 'login.not_activated' sentTo=sentTo}}}
|
||||||
<a href="#" {{action "sendActivationEmail"}}>{{i18n 'login.resend_activation_email'}}</a>
|
<a href="#" {{action "sendActivationEmail"}}>{{i18n 'login.resend_activation_email'}}</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
{{#if isSuspended}}
|
{{#if isSuspended}}
|
||||||
<div class='suspended'>
|
<div class='suspended'>
|
||||||
{{fa-icon "ban"}}
|
{{fa-icon "ban"}}
|
||||||
<b>{{i18n 'user.suspended_notice' date="user.suspendedTillDate"}}</b><br/>
|
<b>{{i18n 'user.suspended_notice' date=user.suspendedTillDate}}</b><br/>
|
||||||
<b>{{i18n 'user.suspended_reason'}}</b> {{user.suspend_reason}}
|
<b>{{i18n 'user.suspended_reason'}}</b> {{user.suspend_reason}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<div class='instructions'>
|
<div class='instructions'>
|
||||||
{{{i18n 'user.username.short_instructions' username="username"}}}
|
{{{i18n 'user.username.short_instructions' username=username}}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
{{#if isSuspended}}
|
{{#if isSuspended}}
|
||||||
<div class='suspended'>
|
<div class='suspended'>
|
||||||
{{fa-icon "ban"}}
|
{{fa-icon "ban"}}
|
||||||
<b>{{i18n 'user.suspended_notice' date="suspendedTillDate"}}</b><br/>
|
<b>{{i18n 'user.suspended_notice' date=suspendedTillDate}}</b><br/>
|
||||||
<b>{{i18n 'user.suspended_reason'}}</b> {{suspend_reason}}
|
<b>{{i18n 'user.suspended_reason'}}</b> {{suspend_reason}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue