Skip to content

Commit 6f1d9eb

Browse files
authored
Merge pull request #34178 from nextcloud/replace-user-to-account-or-person
Rename users to account or person
2 parents b63abda + 524ed97 commit 6f1d9eb

File tree

162 files changed

+324
-323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+324
-323
lines changed

apps/comments/lib/Notification/Notifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function prepare(INotification $notification, string $languageCode): INot
123123
];
124124

125125
if ($isDeletedActor) {
126-
$subject = $l->t('You were mentioned on "{file}", in a comment by a user that has since been deleted');
126+
$subject = $l->t('You were mentioned on "{file}", in a comment by an account that has since been deleted');
127127
} else {
128128
$subject = $l->t('{user} mentioned you in a comment on "{file}"');
129129
$subjectParameters['user'] = [

apps/comments/tests/Unit/Notification/NotifierTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public function testPrepareSuccess() {
211211

212212
public function testPrepareSuccessDeletedUser() {
213213
$fileName = 'Gre\'thor.odp';
214-
$message = 'You were mentioned on "Gre\'thor.odp", in a comment by a user that has since been deleted';
214+
$message = 'You were mentioned on "Gre\'thor.odp", in a comment by an account that has since been deleted';
215215

216216
/** @var Node|MockObject $node */
217217
$node = $this->createMock(Node::class);
@@ -255,7 +255,7 @@ public function testPrepareSuccessDeletedUser() {
255255
$this->notification
256256
->expects($this->once())
257257
->method('setRichSubject')
258-
->with('You were mentioned on "{file}", in a comment by a user that has since been deleted', $this->anything())
258+
->with('You were mentioned on "{file}", in a comment by an account that has since been deleted', $this->anything())
259259
->willReturnSelf();
260260
$this->notification
261261
->expects($this->once())

apps/contactsinteraction/appinfo/info.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
44
<id>contactsinteraction</id>
55
<name>Contacts Interaction</name>
6-
<summary>Manages interaction between users and contacts</summary>
7-
<description>Collect data about user and contacts interactions and provide an address book for the data</description>
6+
<summary>Manages interaction between accounts and contacts</summary>
7+
<description>Collect data about accounts and contacts interactions and provide an address book for the data</description>
88
<version>1.10.0</version>
99
<licence>agpl</licence>
1010
<author>Christoph Wurst</author>

apps/dashboard/appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<summary>Dashboard app</summary>
77
<description><![CDATA[Start your day informed
88
9-
The Nextcloud Dashboard is your starting point of the day, giving you an overview of your upcoming appointments, urgent emails, chat messages, incoming tickets, latest tweets and much more! Users can add the widgets they like and change the background to their liking.]]>
9+
The Nextcloud Dashboard is your starting point of the day, giving you an overview of your upcoming appointments, urgent emails, chat messages, incoming tickets, latest tweets and much more! People can add the widgets they like and change the background to their liking.]]>
1010
</description>
1111
<version>7.9.0</version>
1212
<licence>agpl</licence>

apps/dav/lib/Controller/OutOfOfficeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __construct(
5757
}
5858

5959
/**
60-
* Get the currently configured out-of-office data of a user.
60+
* Get the currently configured out-of-office data of a user
6161
*
6262
* @param string $userId The user id to get out-of-office data for.
6363
* @return DataResponse<Http::STATUS_OK, DAVCurrentOutOfOfficeData, array{}>|DataResponse<Http::STATUS_NOT_FOUND, null, array{}>

apps/dav/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
"/ocs/v2.php/apps/dav/api/v1/outOfOffice/{userId}/now": {
269269
"get": {
270270
"operationId": "out_of_office-get-current-out-of-office-data",
271-
"summary": "Get the currently configured out-of-office data of a user.",
271+
"summary": "Get the currently configured out-of-office data of a user",
272272
"tags": [
273273
"out_of_office"
274274
],

apps/dav/src/views/Availability.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div>
33
<NcSettingsSection :name="$t('dav', 'Availability')"
4-
:description="$t('dav', 'If you configure your working hours, other users will see when you are out of office when they book a meeting.')">
4+
:description="$t('dav', 'If you configure your working hours, other people will see when you are out of office when they book a meeting.')">
55
<AvailabilityForm />
66
</NcSettingsSection>
77
<NcSettingsSection v-if="!hideAbsenceSettings"

apps/encryption/templates/settings-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<span class="msg"></span>
2525
<br/>
2626
<em>
27-
<?php p($l->t("The recovery key is an extra encryption key that is used to encrypt files. It allows recovery of a user's files if the user forgets his or her password.")) ?>
27+
<?php p($l->t("The recovery key is an additional encryption key used to encrypt files. It is used to recover files from an account if the password is forgotten.")) ?>
2828
</em>
2929
<br/>
3030
<input type="password"

apps/federatedfilesharing/lib/FederatedShareProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function create(IShare $share) {
132132
$alreadySharedGroup = $this->getSharedWith($shareWith, IShare::TYPE_REMOTE_GROUP, $share->getNode(), 1, 0);
133133
if (!empty($alreadyShared) || !empty($alreadySharedGroup)) {
134134
$message = 'Sharing %1$s failed, because this item is already shared with %2$s';
135-
$message_t = $this->l->t('Sharing %1$s failed, because this item is already shared with user %2$s', [$share->getNode()->getName(), $shareWith]);
135+
$message_t = $this->l->t('Sharing %1$s failed, because this item is already shared with the account %2$s', [$share->getNode()->getName(), $shareWith]);
136136
$this->logger->debug(sprintf($message, $share->getNode()->getName(), $shareWith), ['app' => 'Federated File Sharing']);
137137
throw new \Exception($message_t);
138138
}
@@ -143,8 +143,8 @@ public function create(IShare $share) {
143143
$currentServer = $this->addressHandler->generateRemoteURL();
144144
$currentUser = $sharedBy;
145145
if ($this->addressHandler->compareAddresses($cloudId->getUser(), $cloudId->getRemote(), $currentUser, $currentServer)) {
146-
$message = 'Not allowed to create a federated share with the same user.';
147-
$message_t = $this->l->t('Not allowed to create a federated share with the same user');
146+
$message = 'Not allowed to create a federated share to the same account.';
147+
$message_t = $this->l->t('Not allowed to create a federated share to the same account');
148148
$this->logger->debug($message, ['app' => 'Federated File Sharing']);
149149
throw new \Exception($message_t);
150150
}

apps/federatedfilesharing/src/components/AdminSettings.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,44 +22,44 @@
2222

2323
<template>
2424
<NcSettingsSection :name="t('federatedfilesharing', 'Federated Cloud Sharing')"
25-
:description="t('federatedfilesharing', 'Adjust how people can share between servers. This includes shares between users on this server as well if they are using federated sharing.')"
25+
:description="t('federatedfilesharing', 'Adjust how people can share between servers. This includes shares between people on this server as well if they are using federated sharing.')"
2626
:doc-url="sharingFederatedDocUrl">
2727
<NcCheckboxRadioSwitch type="switch"
2828
:checked.sync="outgoingServer2serverShareEnabled"
2929
@update:checked="update('outgoing_server2server_share_enabled', outgoingServer2serverShareEnabled)">
30-
{{ t('federatedfilesharing', 'Allow users on this server to send shares to other servers (this option also allows WebDAV access to public shares)') }}
30+
{{ t('federatedfilesharing', 'Allow people on this server to send shares to other servers (this option also allows WebDAV access to public shares)') }}
3131
</NcCheckboxRadioSwitch>
3232

3333
<NcCheckboxRadioSwitch type="switch"
3434
:checked.sync="incomingServer2serverShareEnabled"
3535
@update:checked="update('incoming_server2server_share_enabled', incomingServer2serverShareEnabled)">
36-
{{ t('federatedfilesharing', 'Allow users on this server to receive shares from other servers') }}
36+
{{ t('federatedfilesharing', 'Allow people on this server to receive shares from other servers') }}
3737
</NcCheckboxRadioSwitch>
3838

3939
<NcCheckboxRadioSwitch v-if="federatedGroupSharingSupported"
4040
type="switch"
4141
:checked.sync="outgoingServer2serverGroupShareEnabled"
4242
@update:checked="update('outgoing_server2server_group_share_enabled', outgoingServer2serverGroupShareEnabled)">
43-
{{ t('federatedfilesharing', 'Allow users on this server to send shares to groups on other servers') }}
43+
{{ t('federatedfilesharing', 'Allow people on this server to send shares to groups on other servers') }}
4444
</NcCheckboxRadioSwitch>
4545

4646
<NcCheckboxRadioSwitch v-if="federatedGroupSharingSupported"
4747
type="switch"
4848
:checked.sync="incomingServer2serverGroupShareEnabled"
4949
@update:checked="update('incoming_server2server_group_share_enabled', incomingServer2serverGroupShareEnabled)">
50-
{{ t('federatedfilesharing', 'Allow users on this server to receive group shares from other servers') }}
50+
{{ t('federatedfilesharing', 'Allow people on this server to receive group shares from other servers') }}
5151
</NcCheckboxRadioSwitch>
5252

5353
<NcCheckboxRadioSwitch type="switch"
5454
:checked.sync="lookupServerEnabled"
5555
@update:checked="update('lookupServerEnabled', lookupServerEnabled)">
56-
{{ t('federatedfilesharing', 'Search global and public address book for users') }}
56+
{{ t('federatedfilesharing', 'Search global and public address book for people') }}
5757
</NcCheckboxRadioSwitch>
5858

5959
<NcCheckboxRadioSwitch type="switch"
6060
:checked.sync="lookupServerUploadEnabled"
6161
@update:checked="update('lookupServerUploadEnabled', lookupServerUploadEnabled)">
62-
{{ t('federatedfilesharing', 'Allow users to publish their data to a global and public address book') }}
62+
{{ t('federatedfilesharing', 'Allow people to publish their data to a global and public address book') }}
6363
</NcCheckboxRadioSwitch>
6464
</NcSettingsSection>
6565
</template>

0 commit comments

Comments
 (0)