From e9bff2e5502d3115f202eee53264138e09ce3636 Mon Sep 17 00:00:00 2001 From: Erick Guan Date: Tue, 8 Mar 2016 12:23:04 +0100 Subject: [PATCH] FIX: Add missing translation in groups page --- app/assets/javascripts/discourse/controllers/group.js.es6 | 5 +++++ app/assets/javascripts/discourse/templates/group.hbs | 4 ++-- config/locales/client.en.yml | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/controllers/group.js.es6 b/app/assets/javascripts/discourse/controllers/group.js.es6 index 5f3142453..b7dc7a805 100644 --- a/app/assets/javascripts/discourse/controllers/group.js.es6 +++ b/app/assets/javascripts/discourse/controllers/group.js.es6 @@ -4,6 +4,11 @@ var Tab = Em.Object.extend({ @computed('name') location(name) { return 'group.' + name; + }, + + @computed('name') + message(name) { + return I18n.t('groups.' + name); } }); diff --git a/app/assets/javascripts/discourse/templates/group.hbs b/app/assets/javascripts/discourse/templates/group.hbs index d77874722..6ad3e0ca3 100644 --- a/app/assets/javascripts/discourse/templates/group.hbs +++ b/app/assets/javascripts/discourse/templates/group.hbs @@ -4,8 +4,8 @@