summaryrefslogtreecommitdiffstats
path: root/i18n
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-12-22 14:58:21 -0500
committerenahum <nahumhbl@gmail.com>2016-12-22 16:58:21 -0300
commit15638d74057552253e0168b252bcdd2eabfa7891 (patch)
tree8e10139400628ec67b05e5aef5835c6dce85536c /i18n
parent53847af2c4e84e6dc81b12fb6481cb8dfbf701b9 (diff)
downloadchat-15638d74057552253e0168b252bcdd2eabfa7891.tar.gz
chat-15638d74057552253e0168b252bcdd2eabfa7891.tar.bz2
chat-15638d74057552253e0168b252bcdd2eabfa7891.zip
Return 400 bad request codes for webhooks when attachment or text is too long (#4879)
Diffstat (limited to 'i18n')
-rw-r--r--i18n/en.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/i18n/en.json b/i18n/en.json
index 2754be5bf..51f296dc5 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -5376,6 +5376,14 @@
"translation": "No text specified"
},
{
+ "id": "web.incoming_webhook.text.length.app_error",
+ "translation": "Maximum text length is {{.Max}} characters, received size is {{.Actual}}"
+ },
+ {
+ "id": "web.incoming_webhook.attachment.app_error",
+ "translation": "Maximum attachments length is {{.Max}} characters, received size is {{.Actual}}"
+ },
+ {
"id": "web.incoming_webhook.user.app_error",
"translation": "Couldn't find the user"
},