From 41b2006d0ae3baf14885f0502899f781ae81ea27 Mon Sep 17 00:00:00 2001 From: mkhin24 Date: Thu, 12 Sep 2024 17:27:45 +0300 Subject: [PATCH] modified error display in register.js --- public/src/client/register.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/register.js b/public/src/client/register.js index d8144d26d5..cf46646843 100644 --- a/public/src/client/register.js +++ b/public/src/client/register.js @@ -135,7 +135,7 @@ define('forum/register', [ if (results.every(obj => obj.status === 'rejected')) { showSuccess(usernameInput, username_notify, successIcon); } else { - showError(usernameInput, username_notify, '[[error:username-taken]]'); + showError(usernameInput, username_notify, '[[error:username-taken, ' + 'try ${username} instead' + ']]'); } callback();