Merge pull request #52748 from nextcloud/rakekniven-patch-1

chore(i18n): Use username instead of User ID
This commit is contained in:
Andy Scherzinger 2025-05-29 01:11:12 +02:00 committed by GitHub
commit 86d50335dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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