[MM-23837] Support multiple users/channels in invite slash command (#21726)
* accept multiple users and channels * remove logs * add translation for multiple * refactor * fix lint issues * rollback translations and use multiple messages * fix test * fix spacing * extract permission checking * improve check * improve error messages * rewrite tests for better clarity This way the environment is being rebuild so it starts (almost) fresh without interfering with each other * make errors non-blocking * simplify responses collector Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b61545804f
Коммит
d4de6e6120
@@ -900,15 +900,15 @@
|
||||
},
|
||||
{
|
||||
"id": "api.command_invite.hint",
|
||||
"translation": "@[username] ~[channel]"
|
||||
"translation": "@[username]... ~[channel]..."
|
||||
},
|
||||
{
|
||||
"id": "api.command_invite.missing_message.app_error",
|
||||
"translation": "Missing Username and Channel."
|
||||
"translation": "Missing Username and/or Channel."
|
||||
},
|
||||
{
|
||||
"id": "api.command_invite.missing_user.app_error",
|
||||
"translation": "We couldn't find the user. They may have been deactivated by the System Administrator."
|
||||
"translation": "We couldn't find the user {{.User}}. They may have been deactivated by the System Administrator."
|
||||
},
|
||||
{
|
||||
"id": "api.command_invite.name",
|
||||
@@ -920,7 +920,7 @@
|
||||
},
|
||||
{
|
||||
"id": "api.command_invite.private_channel.app_error",
|
||||
"translation": "Could not find the channel {{.Channel}}. Please use the channel handle to identify channels."
|
||||
"translation": "Could not find the channel {{.Channel}}. Please use the [channel handle](https://docs.mattermost.com/messaging/managing-channels.html#naming-a-channel) to identify channels."
|
||||
},
|
||||
{
|
||||
"id": "api.command_invite.success",
|
||||
|
||||
Ссылка в новой задаче
Block a user