diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-09-21 17:44:32 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2024-02-13 21:06:30 +0100 |
commit | 839ddaa3547bb0042b6225edf2df7bff1831cdd5 (patch) | |
tree | 353d49dd856548ca243bf1b9e15274372bbc518b /apps/files | |
parent | b63abdae8c1708693addf1dc3b2f862131e0299d (diff) | |
download | nextcloud-server-839ddaa3547bb0042b6225edf2df7bff1831cdd5.tar.gz nextcloud-server-839ddaa3547bb0042b6225edf2df7bff1831cdd5.zip |
feat: rename users to account or person
Replace translated text in most locations
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/mainfileinfodetailview.js | 4 | ||||
-rw-r--r-- | apps/files/lib/Activity/Provider.php | 4 |
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..aede4bda127 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 person"'), $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 person"'), $subject); } $this->setSubjects($event, $subject, $parsedParameters); |