From 8cfd14120cd7a904437967debacd58f7c8206f0b Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 30 Dec 2014 11:06:23 +1100 Subject: [PATCH] allow forcing of name if needed --- .../javascripts/discourse/components/topic-list-header.js.es6 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/topic-list-header.js.es6 b/app/assets/javascripts/discourse/components/topic-list-header.js.es6 index 2be92c0b6..8742bdd44 100644 --- a/app/assets/javascripts/discourse/components/topic-list-header.js.es6 +++ b/app/assets/javascripts/discourse/components/topic-list-header.js.es6 @@ -33,7 +33,9 @@ export default Ember.Component.extend(StringBuffer, { className += " num"; } - buffer.push("" + I18n.t(options.name) + sortIcon + ""); + var name = options.forceName || I18n.t(options.name); + + buffer.push("" + name + sortIcon + ""); }, renderString: function(buffer){