MM-25016 Send group Name to in out of channel group users message (#14537)

Этот коммит содержится в:
Farhan Munshi
2020-05-13 13:41:28 -04:00
коммит произвёл GitHub
родитель e27b86cae0
Коммит 599bd93258
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@@ -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)
}

Просмотреть файл

@@ -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",