MM-12007 Add max dimensions to emoji images (#9379)

Этот коммит содержится в:
Harrison Healey
2018-09-10 07:38:04 -04:00
коммит произвёл Martin Kraft
родитель 0027d99855
Коммит e39ab5c7dc
3 изменённых файлов: 29 добавлений и 7 удалений

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

@@ -1008,6 +1008,10 @@
"id": "api.emoji.upload.image.app_error",
"translation": "Unable to create emoji. File must be a PNG, JPEG, or GIF."
},
{
"id": "api.emoji.upload.large_image.too_large.app_error",
"translation": "Unable to create emoji. Image must be smaller than {{.MaxWidth}} by {{.MaxHeight}}."
},
{
"id": "api.emoji.upload.large_image.decode_error",
"translation": "Unable to create emoji. An error occurred when trying to decode the image."