FIX: Add missing translation in groups page
This commit is contained in:
parent
df413737d2
commit
e9bff2e550
|
@ -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 New Issue