chore: Use more gender neutral language

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2024-10-14 12:09:35 +02:00
parent 3f75c4808d
commit 51d9d63a01
No known key found for this signature in database
23 changed files with 24 additions and 24 deletions

View 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;

View 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();
}

View 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) ',

View 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
*/

View 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();

View 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>

View 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;

View 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
*/

View 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]));

View 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

View 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

View 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

View 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

View 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'];

View 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:

View 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

View 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.

View 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
*/

View 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
*/

View 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 int he 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.

View 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:

View 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.

View 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