Improves notify props validation (#24031)

* Adds the channel member notify props max runes restriction

* Fix translations
Этот коммит содержится в:
Miguel de la Cruz
2023-07-18 17:25:11 +02:00
коммит произвёл GitHub
родитель 3c31629813
Коммит 4803889158
7 изменённых файлов: 97 добавлений и 16 удалений

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

@@ -4887,6 +4887,14 @@
"id": "app.channel.update_last_viewed_at_post.app_error",
"translation": "Unable to mark channel as unread."
},
{
"id": "app.channel.update_member.app_error",
"translation": "Unable to update the channel member."
},
{
"id": "app.channel.update_member.notify_props_limit_exceeded.app_error",
"translation": "Unable to update the channel member, notify props size limit exceeded."
},
{
"id": "app.channel.user_belongs_to_channels.app_error",
"translation": "Unable to determine if the user belongs to a list of channels."
@@ -8223,6 +8231,10 @@
"id": "model.channel_member.is_valid.notify_level.app_error",
"translation": "Invalid notify level."
},
{
"id": "model.channel_member.is_valid.notify_props.app_error",
"translation": "Notify props size limit exceeded."
},
{
"id": "model.channel_member.is_valid.push_level.app_error",
"translation": "Invalid push notification level."