diff --git a/public/src/client/register.js b/public/src/client/register.js index 62dbc41..5d2aa53 100644 --- a/public/src/client/register.js +++ b/public/src/client/register.js @@ -131,7 +131,7 @@ define('forum/register', [ if (results.every(obj => obj.status === 'rejected')) { showSuccess(username_notify, successIcon); } else { - showError(username_notify, '[[error:username-taken]]'); + showError(username_notify, '[[error:username-taken]]' + '. Maybe try "' + username + 'suffix".'); } callback(); diff --git a/src/helpers.js b/src/helpers.js index b072c4e..5078d15 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -1,4 +1,4 @@ -'use strict'; +'use strict'; module.exports = require('../public/src/modules/helpers.common')( require('./utils'),