diff --git a/app/assets/javascripts/discourse/routes/about.js.es6 b/app/assets/javascripts/discourse/routes/about.js.es6 index 37f20b64507..962b0f50d73 100644 --- a/app/assets/javascripts/discourse/routes/about.js.es6 +++ b/app/assets/javascripts/discourse/routes/about.js.es6 @@ -1,8 +1,13 @@ -export default Ember.Route.extend({ +export default Discourse.Route.extend({ model: function() { return Discourse.ajax("/about.json").then(function(result) { return result.about; }); + }, + + setupController: function(controller, model) { + controller.set('model', model); + Discourse.set('title', I18n.t('about.simple_title')); } }); diff --git a/app/assets/javascripts/discourse/templates/about.js.handlebars b/app/assets/javascripts/discourse/templates/about.js.handlebars index 7e0fa71b64b..394d8d32e68 100644 --- a/app/assets/javascripts/discourse/templates/about.js.handlebars +++ b/app/assets/javascripts/discourse/templates/about.js.handlebars @@ -6,7 +6,7 @@ {{#if admins}}
-

Our Admins

+

{{i18n about.our_admins}}

{{#each admins}} {{user-small user=this}} @@ -18,7 +18,7 @@ {{#if moderators}}
-

Our Moderators

+

{{i18n about.our_moderators}}

{{#each moderators}} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index f258dd61c7e..f8cfd1505c0 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -148,6 +148,8 @@ en: simple_title: "About" title: "About %{title}" stats: "Site Statistics" + our_admins: "Our Admins" + our_moderators: "Our Moderators" stat: all_time: "All Time" last_7_days: "Last 7 Days"