chore(i18n): Improved wording

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
This commit is contained in:
rakekniven 2025-05-12 07:20:44 +02:00 committed by Andy Scherzinger
parent c8da8628c3
commit 78bd9ad29f

View file

@ -725,7 +725,7 @@ class Manager extends PublicEmitter implements IUserManager {
// User ID is too long
if (strlen($uid) > IUser::MAX_USERID_LENGTH) {
// TRANSLATORS User ID is too long
throw new \InvalidArgumentException($l->t('Login is too long'));
throw new \InvalidArgumentException($l->t('Username is too long'));
}
if (!$this->verifyUid($uid, $checkDataDirectory)) {