diff --git a/js/forum/src/components/DiscussionList.js b/js/forum/src/components/DiscussionList.js index fdce20c09..7d7ed827d 100644 --- a/js/forum/src/components/DiscussionList.js +++ b/js/forum/src/components/DiscussionList.js @@ -55,7 +55,7 @@ export default class DiscussionList extends Component { } if (this.discussions.length === 0 && !this.loading) { - const text = 'Looks like there are no discussions here. Why don\'t you create a new one?'; + const text = app.trans('core.admin.discussion_list_empty_text'); return (
- {app.trans('core.forum.log_in_no_account_text')} - {app.trans('core.forum.log_in_sign_up_link')} + {app.trans('core.forum.log_in_sign_up_text', {a: })}
) : ''}- {app.trans('core.forum.sign_up_already_have_account_text')} - {app.trans('core.forum.sign_up_log_in_link')} + {app.trans('core.forum.sign_up_log_in_text', {a: })}
]; } diff --git a/js/forum/src/utils/UserControls.js b/js/forum/src/utils/UserControls.js index ea5f855ad..835494708 100644 --- a/js/forum/src/utils/UserControls.js +++ b/js/forum/src/utils/UserControls.js @@ -95,7 +95,7 @@ export default { * Delete the user. */ deleteAction() { - if (confirm('Are you sure you want to delete this user? All of the user\'s posts will be deleted.')) { + if (confirm(app.trans('core.admin.user_controls_delete_confirmation'))) { this.delete().then(() => { if (app.current instanceof UserPage && app.current.user === this) { app.history.back();