mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Merge pull request #4067 from fantasticfears/translation
FIX: Add missing translation in groups page
This commit is contained in:
commit
cf140aaaec
3 changed files with 10 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<ul class='action-list nav-stacked'>
|
||||
{{#each tabs as |tab|}}
|
||||
<li class="{{if tab.active 'active'}}">
|
||||
{{#link-to tab.location model}}
|
||||
{{tab.name}}
|
||||
{{#link-to tab.location model title=tab.message}}
|
||||
{{tab.message}}
|
||||
{{#if tab.count}}<span class='count'>({{tab.count}})</span>{{/if}}
|
||||
{{/link-to}}
|
||||
</li>
|
||||
|
|
|
@ -364,7 +364,10 @@ en:
|
|||
one: "group"
|
||||
other: "groups"
|
||||
members: "Members"
|
||||
topics: "Topics"
|
||||
posts: "Posts"
|
||||
mentions: "Mentions"
|
||||
messages: "Messages"
|
||||
alias_levels:
|
||||
title: "Who can message and @mention this group?"
|
||||
nobody: "Nobody"
|
||||
|
|
Loading…
Reference in a new issue