mirror of
https://github.com/flarum/core.git
synced 2025-10-12 07:24:27 +02:00
Extract leftover core strings
Adds app.trans calls for a couple strings in core: - The "there are no discussions" message in DiscussionList.js - The user deletion confirmation message in UserControls.js - Also adds new HTML-style tags to LogInModal.js and SignUpModal.js
This commit is contained in:
@@ -140,8 +140,7 @@ export default class SignUpModal extends Modal {
|
||||
footer() {
|
||||
return [
|
||||
<p className="SignUpModal-logIn">
|
||||
{app.trans('core.forum.sign_up_already_have_account_text')}
|
||||
<a onclick={this.logIn.bind(this)}>{app.trans('core.forum.sign_up_log_in_link')}</a>
|
||||
{app.trans('core.forum.sign_up_log_in_text', {a: <a onclick={this.logIn.bind(this)}/>})}
|
||||
</p>
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user