From da428db02d4f1e830547f8207bb5bf29201ae439 Mon Sep 17 00:00:00 2001 From: dcsjapan Date: Tue, 20 Oct 2015 15:44:58 +0900 Subject: [PATCH] Fix the double correction - Fixes one mangled app.translator call. --- framework/core/js/forum/src/utils/DiscussionControls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/forum/src/utils/DiscussionControls.js b/framework/core/js/forum/src/utils/DiscussionControls.js index 414a7184f..d62c3e4e5 100644 --- a/framework/core/js/forum/src/utils/DiscussionControls.js +++ b/framework/core/js/forum/src/utils/DiscussionControls.js @@ -55,7 +55,7 @@ export default { !app.session.user || discussion.canReply() ? Button.component({ icon: 'reply', - children: app.translator.translator.trans(app.session.user ? 'core.forum.discussion_controls.reply_button' : 'core.forum.discussion_controls.log_in_to_reply_button'), + children: app.translator.trans(app.session.user ? 'core.forum.discussion_controls.reply_button' : 'core.forum.discussion_controls.log_in_to_reply_button'), onclick: this.replyAction.bind(discussion, true, false) }) : Button.component({