diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-09-21 17:44:32 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2024-02-13 21:06:30 +0100 |
commit | 839ddaa3547bb0042b6225edf2df7bff1831cdd5 (patch) | |
tree | 353d49dd856548ca243bf1b9e15274372bbc518b /lib/private/legacy | |
parent | b63abdae8c1708693addf1dc3b2f862131e0299d (diff) | |
download | nextcloud-server-839ddaa3547bb0042b6225edf2df7bff1831cdd5.tar.gz nextcloud-server-839ddaa3547bb0042b6225edf2df7bff1831cdd5.zip |
feat: rename users to account or person
Replace translated text in most locations
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/OC_User.php | 2 | ||||
-rw-r--r-- | lib/private/legacy/OC_Util.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/legacy/OC_User.php b/lib/private/legacy/OC_User.php index d2dc2a2389f..cefdd0ad2ee 100644 --- a/lib/private/legacy/OC_User.php +++ b/lib/private/legacy/OC_User.php @@ -178,7 +178,7 @@ class OC_User { $dispatcher = \OC::$server->get(IEventDispatcher::class); if ($userSession->getUser() && !$userSession->getUser()->isEnabled()) { - $message = \OC::$server->getL10N('lib')->t('User disabled'); + $message = \OC::$server->getL10N('lib')->t('Account disabled'); throw new LoginException($message); } $userSession->setLoginName($uid); diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index c008ccd63ba..3b6d9b8baec 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -732,8 +732,8 @@ class OC_Util { if ($perms[2] !== '0') { $l = \OC::$server->getL10N('lib'); return [[ - 'error' => $l->t('Your data directory is readable by other users.'), - 'hint' => $l->t('Please change the permissions to 0770 so that the directory cannot be listed by other users.'), + 'error' => $l->t('Your data directory is readable by other people.'), + 'hint' => $l->t('Please change the permissions to 0770 so that the directory cannot be listed by other people.'), ]]; } } |