1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

added long comment check

This commit is contained in:
Fedor Katurov 2020-10-23 17:55:34 +07:00
parent 7d09eb26f5
commit 58676ac1d5
2 changed files with 4 additions and 2 deletions

View file

@ -41,6 +41,7 @@ export const ERRORS = {
CANT_DELETE_COMMENT: 'CantDeleteComment',
CANT_RESTORE_COMMENT: 'CantRestoreComment',
MESSAGE_NOT_FOUND: 'MessageNotFound',
COMMENT_TOO_LONG: 'CommentTooLong',
};
export const ERROR_LITERAL = {
@ -87,4 +88,5 @@ export const ERROR_LITERAL = {
[ERRORS.CANT_DELETE_COMMENT]: 'Не удалось удалить комментарий',
[ERRORS.CANT_RESTORE_COMMENT]: 'Не удалось восстановить комментарий',
[ERRORS.MESSAGE_NOT_FOUND]: 'Сообщение не найдено',
[ERRORS.COMMENT_TOO_LONG]: 'Комментарий слишком длинный',
};