Improve description for removing a group member.

This commit is contained in:
Guo Xiang Tan 2018-03-21 18:36:57 +08:00
parent be866dbe6e
commit 6381bc6ce1
2 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,10 @@ export default DropdownButton.extend({
{ {
id: 'removeMember', id: 'removeMember',
title: I18n.t('groups.members.remove_member'), title: I18n.t('groups.members.remove_member'),
description: I18n.t('groups.members.remove_member_description'), description: I18n.t(
'groups.members.remove_member_description',
{ username: this.get('member.username') }
),
icon: 'user-times' icon: 'user-times'
} }
]; ];

View File

@ -467,7 +467,7 @@ en:
members: members:
title: "Members" title: "Members"
remove_member: "Remove member" remove_member: "Remove member"
remove_member_description: "Remove a member from this group" remove_member_description: "Remove <b>%{username}</b> from this group"
topics: "Topics" topics: "Topics"
posts: "Posts" posts: "Posts"
mentions: "Mentions" mentions: "Mentions"