From ed2ee7de4c7fb5d0da359cc9376272f120bbd8b4 Mon Sep 17 00:00:00 2001 From: dcsjapan Date: Tue, 6 Oct 2015 09:56:12 +0900 Subject: [PATCH] Fixes namespace errors in keys for the two extracted strings. --- framework/core/js/forum/src/components/DiscussionList.js | 2 +- framework/core/js/forum/src/utils/UserControls.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/js/forum/src/components/DiscussionList.js b/framework/core/js/forum/src/components/DiscussionList.js index 7d7ed827d..91d743ee9 100644 --- a/framework/core/js/forum/src/components/DiscussionList.js +++ b/framework/core/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 = app.trans('core.admin.discussion_list_empty_text'); + const text = app.trans('core.forum.discussion_list_empty_text'); return (
{Placeholder.component({text})} diff --git a/framework/core/js/forum/src/utils/UserControls.js b/framework/core/js/forum/src/utils/UserControls.js index 835494708..a420eaa9a 100644 --- a/framework/core/js/forum/src/utils/UserControls.js +++ b/framework/core/js/forum/src/utils/UserControls.js @@ -95,7 +95,7 @@ export default { * Delete the user. */ deleteAction() { - if (confirm(app.trans('core.admin.user_controls_delete_confirmation'))) { + if (confirm(app.trans('core.forum.user_controls_delete_confirmation'))) { this.delete().then(() => { if (app.current instanceof UserPage && app.current.user === this) { app.history.back();