update error message

This commit is contained in:
Thomas Zarebczan 2021-07-07 19:25:59 -04:00 committed by Thomas Zarebczan
parent 26efe9fd45
commit 7175e40d61

View file

@ -340,8 +340,8 @@ export function doCommentCreate(
case 'comments are disabled by the creator':
toastMessage = __('Unable to comment. The content owner has disabled comments.');
break;
case 'the creator has a min gap between comments set.':
toastMessage = __('The creator has set a minimum time gap between comments. Try again later.');
case 'Slow mode is on. Please wait at most 7 seconds before commenting again.':
toastMessage = __('Slow mode is on. Please wait up to 7 seconds before commenting again.');
break;
default:
const BLOCKED_WORDS_ERR_MSG = 'the comment contents are blocked by';