mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Fix incorrect translation output
app.trans returns a VirtualElement, so there's no need to wrap it in m.trust. closes #237
This commit is contained in:
parent
f5517fbd88
commit
42e722d824
|
@ -39,7 +39,7 @@ export default class ChangeEmailModal extends Modal {
|
||||||
return (
|
return (
|
||||||
<div className="Modal-body">
|
<div className="Modal-body">
|
||||||
<div className="Form Form--centered">
|
<div className="Form Form--centered">
|
||||||
<p className="helpText">{m.trust(app.trans('core.confirmation_email_sent', {email: <strong>{this.email()}</strong>}))}</p>
|
<p className="helpText">{app.trans('core.confirmation_email_sent', {email: <strong>{this.email()}</strong>})}</p>
|
||||||
<div className="Form-group">
|
<div className="Form-group">
|
||||||
<a href={'http://' + emailProviderName} className="Button Button--primary Button--block">
|
<a href={'http://' + emailProviderName} className="Button Button--primary Button--block">
|
||||||
{app.trans('core.go_to', {location: emailProviderName})}
|
{app.trans('core.go_to', {location: emailProviderName})}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user