aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-02-13 21:28:00 +0100
committerGitHub <noreply@github.com>2024-02-13 21:28:00 +0100
commit6f1d9eb11880efb900370f1e6857f05dbef5f84a (patch)
tree906494fac943bd6ae4ecdf1e5460ee590e98afb1 /apps/files
parentb63abdae8c1708693addf1dc3b2f862131e0299d (diff)
parent524ed97d621ded1aafa0f2f92670765af22ba55f (diff)
downloadnextcloud-server-6f1d9eb11880efb900370f1e6857f05dbef5f84a.tar.gz
nextcloud-server-6f1d9eb11880efb900370f1e6857f05dbef5f84a.zip
Merge pull request #34178 from nextcloud/replace-user-to-account-or-person
Rename users to account or person
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/mainfileinfodetailview.js4
-rw-r--r--apps/files/lib/Activity/Provider.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js
index 45988a60a02..e3357384cf9 100644
--- a/apps/files/js/mainfileinfodetailview.js
+++ b/apps/files/js/mainfileinfodetailview.js
@@ -69,7 +69,7 @@
_setupClipboard: function() {
var clipboard = new Clipboard('.permalink');
clipboard.on('success', function(e) {
- OC.Notification.show(t('files', 'Direct link was copied (only works for users who have access to this file/folder)'), {type: 'success'});
+ OC.Notification.show(t('files', 'Direct link was copied (only works for people who have access to this file/folder)'), {type: 'success'});
});
clipboard.on('error', function(e) {
var $row = this.$('.permalink-field');
@@ -166,7 +166,7 @@
starAltText: isFavorite ? t('files', 'Favorited') : t('files', 'Favorite'),
starClass: isFavorite ? 'icon-starred' : 'icon-star',
permalink: this._makePermalink(this.model.get('id')),
- permalinkTitle: t('files', 'Copy direct link (only works for users who have access to this file/folder)')
+ permalinkTitle: t('files', 'Copy direct link (only works for people who have access to this file/folder)')
}));
// TODO: we really need OC.Previews
diff --git a/apps/files/lib/Activity/Provider.php b/apps/files/lib/Activity/Provider.php
index 8b817f92c1e..fb81e200688 100644
--- a/apps/files/lib/Activity/Provider.php
+++ b/apps/files/lib/Activity/Provider.php
@@ -163,7 +163,7 @@ class Provider implements IProvider {
if (!isset($parsedParameters['user'])) {
// External user via public link share
- $subject = str_replace('{user}', $this->activityLang->t('"remote user"'), $subject);
+ $subject = str_replace('{user}', $this->activityLang->t('"remote account"'), $subject);
}
$this->setSubjects($event, $subject, $parsedParameters);
@@ -281,7 +281,7 @@ class Provider implements IProvider {
if (!isset($parsedParameters['user'])) {
// External user via public link share
- $subject = str_replace('{user}', $this->activityLang->t('"remote user"'), $subject);
+ $subject = str_replace('{user}', $this->activityLang->t('"remote account"'), $subject);
}
$this->setSubjects($event, $subject, $parsedParameters);