diff --git a/app/notification.go b/app/notification.go index 87bf89fb78..0ac8d4a602 100644 --- a/app/notification.go +++ b/app/notification.go @@ -411,7 +411,7 @@ func (a *App) sendNoUsersNotifiedByGroupInChannel(sender *model.User, post *mode RootId: post.RootId, ParentId: post.ParentId, ChannelId: channel.Id, - Message: T("api.post.check_for_out_of_channel_group_users.message.none", model.StringInterface{"GroupDisplayName": group.DisplayName}), + Message: T("api.post.check_for_out_of_channel_group_users.message.none", model.StringInterface{"GroupName": group.Name}), } a.SendEphemeralPost(post.UserId, ephemeralPost) } diff --git a/i18n/en.json b/i18n/en.json index 743b691982..ba1abd6825 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1614,7 +1614,7 @@ }, { "id": "api.post.check_for_out_of_channel_group_users.message.none", - "translation": "@{{.GroupDisplayName}} has no members on this team" + "translation": "@{{.GroupName}} has no members on this team" }, { "id": "api.post.check_for_out_of_channel_groups_mentions.message.multiple",