FIX: 1.9 regression on i18n strings with variables

This commit is contained in:
Régis Hanol 2014-12-25 18:04:23 +01:00
parent 9932bea7ce
commit b65ac132b7
4 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
<div class="modal-body">
{{#if emailSent}}
{{{i18n 'login.sent_activation_email_again' currentEmail="currentEmail"}}}
{{{i18n 'login.sent_activation_email_again' currentEmail=currentEmail}}}
{{else}}
{{{i18n 'login.not_activated' sentTo="sentTo"}}}
{{{i18n 'login.not_activated' sentTo=sentTo}}}
<a href="#" {{action "sendActivationEmail"}}>{{i18n 'login.resend_activation_email'}}</a>
{{/if}}
</div>

View File

@ -43,7 +43,7 @@
{{#if isSuspended}}
<div class='suspended'>
{{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}}
</div>
{{else}}

View File

@ -17,7 +17,7 @@
{{/if}}
</div>
<div class='instructions'>
{{{i18n 'user.username.short_instructions' username="username"}}}
{{{i18n 'user.username.short_instructions' username=username}}}
</div>
</div>

View File

@ -79,7 +79,7 @@
{{#if isSuspended}}
<div class='suspended'>
{{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}}
</div>
{{/if}}