mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: 1.9 regression on i18n strings with variables
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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}}
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user