Skip to content

Commit 42e100f

Browse files
committed
Rename users to account or person
Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 parent b84f51b commit 42e100f

File tree

147 files changed

+277
-277
lines changed

Some content is hidden

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

147 files changed

+277
-277
lines changed

apps/comments/lib/Notification/Notifier.php

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

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

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

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

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

222222
/** @var Node|MockObject $node */
223223
$node = $this->createMock(Node::class);
@@ -263,7 +263,7 @@ public function testPrepareSuccessDeletedUser() {
263263
$this->notification
264264
->expects($this->once())
265265
->method('setRichSubject')
266-
->with('You were mentioned on "{file}", in a comment by a user that has since been deleted', $this->anything())
266+
->with('You were mentioned on "{file}", in a comment by an account that has since been deleted', $this->anything())
267267
->willReturnSelf();
268268
$this->notification
269269
->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.6.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
@@ -8,7 +8,7 @@
88
99
The Nextcloud Dashboard is your starting point of the day, giving you an
1010
overview of your upcoming appointments, urgent emails, chat messages,
11-
incoming tickets, latest tweets and much more! Users can add the widgets
11+
incoming tickets, latest tweets and much more! People can add the widgets
1212
they like and change the background to their liking.]]></description>
1313
<version>7.5.0</version>
1414
<licence>agpl</licence>

apps/dav/src/views/Availability.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<NcSettingsSection :title="$t('dav', 'Availability')"
3-
:description="$t('dav', 'If you configure your working hours, other users will see when you are out of office when they book a meeting.')">
3+
:description="$t('dav', 'If you configure your working hours, other people will see when you are out of office when they book a meeting.')">
44
<div class="time-zone">
55
<strong>
66
{{ $t('dav', 'Time zone:') }}

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 extra encryption key that is used to encrypt files. It allows the recovery of an account's files in case its password was 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
@@ -193,7 +193,7 @@ public function create(IShare $share) {
193193
$alreadySharedGroup = $this->getSharedWith($shareWith, IShare::TYPE_REMOTE_GROUP, $share->getNode(), 1, 0);
194194
if (!empty($alreadyShared) || !empty($alreadySharedGroup)) {
195195
$message = 'Sharing %1$s failed, because this item is already shared with %2$s';
196-
$message_t = $this->l->t('Sharing %1$s failed, because this item is already shared with user %2$s', [$share->getNode()->getName(), $shareWith]);
196+
$message_t = $this->l->t('Sharing %1$s failed, because this item is already shared with account %2$s', [$share->getNode()->getName(), $shareWith]);
197197
$this->logger->debug(sprintf($message, $share->getNode()->getName(), $shareWith), ['app' => 'Federated File Sharing']);
198198
throw new \Exception($message_t);
199199
}
@@ -204,8 +204,8 @@ public function create(IShare $share) {
204204
$currentServer = $this->addressHandler->generateRemoteURL();
205205
$currentUser = $sharedBy;
206206
if ($this->addressHandler->compareAddresses($cloudId->getUser(), $cloudId->getRemote(), $currentUser, $currentServer)) {
207-
$message = 'Not allowed to create a federated share with the same user.';
208-
$message_t = $this->l->t('Not allowed to create a federated share with the same user');
207+
$message = 'Not allowed to create a federated share to the same account.';
208+
$message_t = $this->l->t('Not allowed to create a federated share to the same account');
209209
$this->logger->debug($message, ['app' => 'Federated File Sharing']);
210210
throw new \Exception($message_t);
211211
}

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 :title="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>

apps/federatedfilesharing/tests/FederatedShareProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public function testCreateShareWithSelf() {
398398
$share = $this->provider->create($share);
399399
$this->fail();
400400
} catch (\Exception $e) {
401-
$this->assertEquals('Not allowed to create a federated share with the same user', $e->getMessage());
401+
$this->assertEquals('Not allowed to create a federated share to the same account', $e->getMessage());
402402
}
403403

404404
$qb = $this->connection->getQueryBuilder();
@@ -460,7 +460,7 @@ public function testCreateAlreadyShared() {
460460
try {
461461
$this->provider->create($share);
462462
} catch (\Exception $e) {
463-
$this->assertEquals('Sharing myFile failed, because this item is already shared with user user@server.com', $e->getMessage());
463+
$this->assertEquals('Sharing myFile failed, because this item is already shared with account user@server.com', $e->getMessage());
464464
}
465465
}
466466

apps/federation/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>federation</id>
55
<name>Federation</name>
6-
<summary>Federation allows you to connect with other trusted servers to exchange the user directory.</summary>
7-
<description>Federation allows you to connect with other trusted servers to exchange the user directory. For example this will be used to auto-complete external users for federated sharing.</description>
6+
<summary>Federation allows you to connect with other trusted servers to exchange the account directory.</summary>
7+
<description>Federation allows you to connect with other trusted servers to exchange the account directory. For example this will be used to auto-complete external accounts for federated sharing.</description>
88
<version>1.15.0</version>
99
<licence>agpl</licence>
1010
<author>Bjoern Schiessle</author>

0 commit comments

Comments
 (0)