]> source.dussan.org Git - nextcloud-server.git/commitdiff
chore: Use more gender neutral language
authorprovokateurin <kate@provokateurin.de>
Mon, 14 Oct 2024 10:09:35 +0000 (12:09 +0200)
committerprovokateurin <kate@provokateurin.de>
Mon, 14 Oct 2024 11:59:24 +0000 (13:59 +0200)
Signed-off-by: provokateurin <kate@provokateurin.de>
23 files changed:
apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php
apps/dav/lib/Files/Sharing/PublicLinkCheckPlugin.php
apps/encryption/lib/Crypto/DecryptAll.php
apps/encryption/lib/Crypto/Encryption.php
apps/encryption/lib/Hooks/UserHooks.php
apps/settings/src/components/Users/NewUserDialog.vue
apps/user_ldap/lib/Access.php
apps/user_ldap/lib/ILDAPUserPlugin.php
apps/user_ldap/lib/User/User.php
apps/user_ldap/lib/UserPluginManager.php
apps/user_ldap/lib/User_LDAP.php
apps/user_ldap/lib/User_Proxy.php
lib/private/DateTimeZone.php
lib/private/Federation/CloudIdManager.php
lib/private/FullTextSearch/Model/SearchTemplate.php
lib/private/KnownUser/KnownUserService.php
lib/private/Tags.php
lib/private/User/User.php
lib/public/Encryption/IEncryptionModule.php
lib/public/Files/Node.php
lib/public/FullTextSearch/Model/ISearchTemplate.php
lib/public/ITags.php
lib/public/IUser.php

index a6b0346908c5c39ea7642e3d291b061fbadb3b44..67e7d5bded312d4ca2d441405bc2d103660a4442 100644 (file)
@@ -34,7 +34,7 @@ class GenerateBirthdayCalendarBackgroundJob extends QueuedJob {
                $userId = $argument['userId'];
                $purgeBeforeGenerating = $argument['purgeBeforeGenerating'] ?? false;
 
-               // make sure admin didn't change his mind
+               // make sure admin didn't change their mind
                $isGloballyEnabled = $this->config->getAppValue('dav', 'generateBirthdayCalendar', 'yes');
                if ($isGloballyEnabled !== 'yes') {
                        return;
index 5f1e29e0286d691b71c617368f1f27b79d9ea0b2..38a45b3fc37e4903a64331431f9fe6f093316f2f 100644 (file)
@@ -41,7 +41,7 @@ class PublicLinkCheckPlugin extends ServerPlugin {
        }
 
        public function beforeMethod(RequestInterface $request, ResponseInterface $response) {
-               // verify that the owner didn't have his share permissions revoked
+               // verify that the owner didn't have their share permissions revoked
                if ($this->fileInfo && !$this->fileInfo->isShareable()) {
                        throw new NotFound();
                }
index e153712fb99594fda8501a0465ac1de8d64bf603..6aa3ee9ac0716c87051e6e2c39884d8a74ff64f5 100644 (file)
@@ -73,7 +73,7 @@ class DecryptAll {
                        $recoveryKeyId = $this->keyManager->getRecoveryKeyId();
                        if (!empty($user)) {
                                $output->writeln('You can only decrypt the users files if you know');
-                               $output->writeln('the users password or if he activated the recovery key.');
+                               $output->writeln('the users password or if they activated the recovery key.');
                                $output->writeln('');
                                $questionUseLoginPassword = new ConfirmationQuestion(
                                        'Do you want to use the users login password to decrypt all files? (y/n) ',
index f5b6a40aecc18ed0a11f6ba5e0c5f3e0840a0bf3..5261fea1e1968c8124f1ff00b332b11d8cba0419 100644 (file)
@@ -432,7 +432,7 @@ class Encryption implements IEncryptionModule {
         * e.g. if all encryption keys exists
         *
         * @param string $path
-        * @param string $uid user for whom we want to check if he can read the file
+        * @param string $uid user for whom we want to check if they can read the file
         * @return bool
         * @throws DecryptionFailedException
         */
index 2424370e47f565e5dc6ef48d3929108b59ce607b..a17686489d4d43fe0e310b3622a8549984208c7d 100644 (file)
@@ -175,7 +175,7 @@ class UserHooks implements IHook {
                // Get existing decrypted private key
                $user = $this->userSession->getUser();
 
-               // current logged in user changes his own password
+               // current logged in user changes their own password
                if ($user && $params['uid'] === $user->getUID()) {
                        $privateKey = $this->session->getPrivateKey();
 
index 2240e75f1d80ac7d0ae94c7a2fb6796a960748e6..bc6ba0901d9bb4be562ebbc1739aa4dcc3db4315 100644 (file)
@@ -73,7 +73,7 @@
                                        :required="!settings.isAdmin && !settings.isDelegatedAdmin"
                                        @input="handleGroupInput"
                                        @option:created="createGroup" />
-                                       <!-- If user is not admin, he is a subadmin.
+                                       <!-- If user is not admin, they are a subadmin.
                                                Subadmins can't create users outside their groups
                                                Therefore, empty select is forbidden -->
                        </div>
index f1e47e90418cb84a3c873ff03f63124de32c3de5..e0c396a2cadabb3e79c8b17062b8f725fb837550 100644 (file)
@@ -1172,7 +1172,7 @@ class Access extends LDAPUtility {
                                return false;
                        }
                        // if count is bigger, then the server does not support
-                       // paged search. Instead, he did a normal search. We set a
+                       // paged search. Instead, they did a normal search. We set a
                        // flag here, so the callee knows how to deal with it.
                        if ($foundItems <= $limit) {
                                $this->pagedSearchedSuccessful = true;
index 4638a1a49da2642bcff732c94ee69c5b84a71778..3dbda1f6a99c5f5dcc36271ac87fa84a181a5334 100644 (file)
@@ -58,7 +58,7 @@ interface ILDAPUserPlugin {
        public function setDisplayName($uid, $displayName);
 
        /**
-        * checks whether the user is allowed to change his avatar in Nextcloud
+        * checks whether the user is allowed to change their avatar in Nextcloud
         * @param string $uid the Nextcloud user name
         * @return boolean either the user can or cannot
         */
index 0688a843bd7e273f62226b3d1426f44554273e42..4a5f2442c9b4e02689688af894b305cb590a06d9 100644 (file)
@@ -659,7 +659,7 @@ class User {
                                $currentValue = '';
                                $scope = $defaultScopes[$property];
                        }
-                       $verified = IAccountManager::VERIFIED; // trust the LDAP admin knew what he put there
+                       $verified = IAccountManager::VERIFIED; // trust the LDAP admin knew what they put there
                        if ($currentValue !== $value) {
                                $account->setProperty($property, $value, $scope, $verified);
                                $this->logger->debug('update user profile: ' . $property . '=' . $value
@@ -854,7 +854,7 @@ class User {
                                exit();
                        }
                        //handle pwdReset attribute
-                       if (!empty($pwdReset) && $pwdReset[0] === 'TRUE') { //user must change his password
+                       if (!empty($pwdReset) && $pwdReset[0] === 'TRUE') { //user must change their password
                                $this->config->setUserValue($uid, 'user_ldap', 'needsPasswordReset', 'true');
                                header('Location: ' . \OC::$server->getURLGenerator()->linkToRouteAbsolute(
                                        'user_ldap.renewPassword.showRenewPasswordForm', ['user' => $uid]));
index 4a36794bca523158ea8c60396009b4e5b2d0d241..7c51dc70f837f9a6f74684494899d66bee4096a9 100644 (file)
@@ -95,7 +95,7 @@ class UserPluginManager {
        }
 
        /**
-        * checks whether the user is allowed to change his avatar in Nextcloud
+        * checks whether the user is allowed to change their avatar in Nextcloud
         * @param string $uid the Nextcloud user name
         * @return boolean either the user can or cannot
         * @throws \Exception
index e34f0fcb1850641f44b9ab251c388d6ce74c8abe..bd1a65f4d4257247782cacd8c0d5014abd8d121e 100644 (file)
@@ -43,7 +43,7 @@ class User_LDAP extends BackendUtility implements IUserBackend, UserInterface, I
        }
 
        /**
-        * checks whether the user is allowed to change his avatar in Nextcloud
+        * checks whether the user is allowed to change their avatar in Nextcloud
         *
         * @param string $uid the Nextcloud user name
         * @return boolean either the user can or cannot
index 0cb0e6e6cdeda45786a563f266c2ed7ebb9deb6b..0c00771aa670dbc28d13f69ffe39093cecefce8d 100644 (file)
@@ -295,7 +295,7 @@ class User_Proxy extends Proxy implements IUserBackend, UserInterface, IUserLDAP
        }
 
        /**
-        * checks whether the user is allowed to change his avatar in Nextcloud
+        * checks whether the user is allowed to change their avatar in Nextcloud
         *
         * @param string $uid the Nextcloud user name
         * @return boolean either the user can or cannot
index ca2e314fabd100467e05d37e5a91f7b2fde4b138..c693968fa3d3fc18460f77eff1e1b4368fa032b9 100644 (file)
@@ -31,7 +31,7 @@ class DateTimeZone implements IDateTimeZone {
        }
 
        /**
-        * Get the timezone of the current user, based on his session information and config data
+        * Get the timezone of the current user, based on their session information and config data
         *
         * @param bool|int $timestamp
         * @return \DateTimeZone
index f5c0035534ceba0e0a1a514612bcf36d8eb573d3..1c808c03eda77ed4830bfb03f2fc692b75f740cb 100644 (file)
@@ -125,7 +125,7 @@ class CloudIdManager implements ICloudIdManager {
                        if (isset($entry['CLOUD'])) {
                                foreach ($entry['CLOUD'] as $cloudID) {
                                        if ($cloudID === $cloudId) {
-                                               // Warning, if user decides to make his full name local only,
+                                               // Warning, if user decides to make their full name local only,
                                                // no FN is found on federated servers
                                                if (isset($entry['FN'])) {
                                                        return $entry['FN'];
index c2929bea13971ffdaa74351354b6b77bc672f36d..6f9a04a911e30a3254c2f6109476bcc90eb6b38a 100644 (file)
@@ -20,7 +20,7 @@ use OCP\FullTextSearch\Model\ISearchTemplate;
  * when the getSearchTemplate() method is called.
  *
  * The object will contain templates to be displayed, and the list of the different
- * options to be available to the user when he start a new search.
+ * options to be available to the user when they start a new search.
  *
  * The display of the Options is generated by the FullTextSearch app and Options
  * can be displayed in 2 places:
index aff0c097d9868de9294fc6cc3841e979a25a31f6..cd257cf1b12d5cdfd4484f9d51d2f98baf6d856b 100644 (file)
@@ -39,7 +39,7 @@ class KnownUserService {
        }
 
        /**
-        * Store a match because $knownTo has $contactUserId in his phonebook
+        * Store a match because $knownTo has $contactUserId in their phonebook
         *
         * @param string $knownTo User id of the owner of the phonebook
         * @param string $contactUserId User id of the contact in the phonebook
index 350c49bca2cd354aaca8ecafc50ca9940a09569c..1f22a4c6a337fa38ebc790377e8b9c94f850d818 100644 (file)
@@ -242,7 +242,7 @@ class Tags implements ITags {
 
        /**
         * Checks whether a tag is saved for the given user,
-        * disregarding the ones shared with him or her.
+        * disregarding the ones shared with them.
         *
         * @param string $name The tag name to check for.
         * @param string $user The user whose tags are to be checked.
index 6e1085b4fe3695440312fe8c9d7c6db3ca11e41d..4b1ec4366d03bebab3c4ffa84e5de2ea97fc4f73 100644 (file)
@@ -394,7 +394,7 @@ class User implements IUser {
        }
 
        /**
-        * Check if the backend allows the user to change his avatar on Personal page
+        * Check if the backend allows the user to change their avatar on Personal page
         *
         * @return bool
         */
index fbac291c1b9f70c5d9e54a44a76dfee53ce935fb..0bf0ef3476bebe81b60c6eca10100abc4fd88073 100644 (file)
@@ -125,7 +125,7 @@ interface IEncryptionModule {
         * e.g. if all encryption keys exists
         *
         * @param string $path
-        * @param string $uid user for whom we want to check if he can read the file
+        * @param string $uid user for whom we want to check if they can read the file
         * @return boolean
         * @since 8.1.0
         */
index e3641a82df3f52a78bf8b794ec20547d40cfd125..edef0a6157f986c5b38bea631b3e7a20c9982c9f 100644 (file)
@@ -243,7 +243,7 @@ interface Node extends FileInfo {
         * Check the type of an existing lock.
         *
         * A shared lock can be changed to an exclusive lock is there is exactly one shared lock on the file,
-        * an exclusive lock can always be changed to a shared lock since there can only be one exclusive lock inhe first place.
+        * an exclusive lock can always be changed to a shared lock since there can only be one exclusive lock in the first place.
         *
         * A locked exception will be thrown when these preconditions are not met.
         * Note that this is also the case if no existing lock exists for the file.
index 0de907bef19dbb1fc74c1cb1c5fd77ed92709110..89f683ca013bfc45e5afaeaff05090fed69f5a9f 100644 (file)
@@ -16,7 +16,7 @@ use OCP\FullTextSearch\IFullTextSearchProvider;
  * when the getSearchTemplate() method is called.
  *
  * The object will contain templates to be displayed, and the list of the different
- * options to be available to the user when he start a new search.
+ * options to be available to the user when they start a new search.
  *
  * The display of the Options is generated by the FullTextSearch app and Options
  * can be displayed in 2 places:
index 1ba6abae5a28e1fa7554da693b6290a657a50468..0da4522c86c22daca8af093614f86ae1baa11514 100644 (file)
@@ -104,7 +104,7 @@ interface ITags {
 
        /**
         * Checks whether a tag is saved for the given user,
-        * disregarding the ones shared with him or her.
+        * disregarding the ones shared with them.
         *
         * @param string $name The tag name to check for.
         * @param string $user The user whose tags are to be checked.
index 4ba9a89f06420632c4300eb54b21fb37fa4c520c..8c7d6a1283ef9369c92fcdd4d29e2b1a8e29909b 100644 (file)
@@ -117,7 +117,7 @@ interface IUser {
        public function getBackend();
 
        /**
-        * check if the backend allows the user to change his avatar on Personal page
+        * check if the backend allows the user to change their avatar on Personal page
         *
         * @return bool
         * @since 8.0.0