update error message
This commit is contained in:
parent
26efe9fd45
commit
7175e40d61
1 changed files with 2 additions and 2 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue