mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 07:34:18 +08:00
FIX: Missing translations, update title on About
This commit is contained in:
parent
e523006b3b
commit
0e5a79cf5d
|
@ -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'));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
{{#if admins}}
|
||||
<section class='about admins'>
|
||||
<h3>Our Admins</h3>
|
||||
<h3>{{i18n about.our_admins}}</h3>
|
||||
|
||||
{{#each admins}}
|
||||
{{user-small user=this}}
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
{{#if moderators}}
|
||||
<section class='about admins'>
|
||||
<h3>Our Moderators</h3>
|
||||
<h3>{{i18n about.our_moderators}}</h3>
|
||||
|
||||
<div class='users'>
|
||||
{{#each moderators}}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user