From a4285830e19a2a0cb13d7c60a72d370c416b2bd8 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 14 May 2014 15:58:18 -0700 Subject: [PATCH] I wish I had noticed that double quote earlier --- app/assets/javascripts/discourse/controllers/flag.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/controllers/flag.js.es6 b/app/assets/javascripts/discourse/controllers/flag.js.es6 index a4a91b29972..e7cbfff6e54 100644 --- a/app/assets/javascripts/discourse/controllers/flag.js.es6 +++ b/app/assets/javascripts/discourse/controllers/flag.js.es6 @@ -62,9 +62,9 @@ export default Discourse.ObjectController.extend(Discourse.ModalFunctionality, { submitText: function(){ if (this.get('selected.is_custom_flag')) { - return "" + (I18n.t(this.get('flagTopic') ? "flagging_topic.notify_action" : "flagging.notify_action")); + return "" + (I18n.t(this.get('flagTopic') ? "flagging_topic.notify_action" : "flagging.notify_action")); } else { - return "" + (I18n.t(this.get('flagTopic') ? "flagging_topic.action" : "flagging.action")); + return "" + (I18n.t(this.get('flagTopic') ? "flagging_topic.action" : "flagging.action")); } }.property('selected.is_custom_flag'),