summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-03-19 17:58:24 +0100
committerGitHub <noreply@github.com>2024-03-19 17:58:24 +0100
commitf8ad4ae852ebd456c2cfd497c2fece6a574ec9d9 (patch)
tree18e7529ab4e89eb7c53441d0d31d2eeae6b28dc9 /apps
parentd2754fe993799c63be069bda662b5e589f841dc1 (diff)
parenta1acc516dfc2bb0268644d31bdb3d8f3bf4158e0 (diff)
downloadnextcloud-server-f8ad4ae852ebd456c2cfd497c2fece6a574ec9d9.tar.gz
nextcloud-server-f8ad4ae852ebd456c2cfd497c2fece6a574ec9d9.zip
Merge pull request #44312 from nextcloud/backport/44305/stable27
Diffstat (limited to 'apps')
-rw-r--r--apps/federatedfilesharing/lib/Notifier.php2
-rw-r--r--apps/files_sharing/lib/Notification/Notifier.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/federatedfilesharing/lib/Notifier.php b/apps/federatedfilesharing/lib/Notifier.php
index 563b121ce5b..14cb1777b7b 100644
--- a/apps/federatedfilesharing/lib/Notifier.php
+++ b/apps/federatedfilesharing/lib/Notifier.php
@@ -94,7 +94,7 @@ class Notifier implements INotifier {
}
// Read the language from the notification
- $l = $this->factory->get('files_sharing', $languageCode);
+ $l = $this->factory->get('federatedfilesharing', $languageCode);
switch ($notification->getSubject()) {
// Deal with known subjects
diff --git a/apps/files_sharing/lib/Notification/Notifier.php b/apps/files_sharing/lib/Notification/Notifier.php
index d339c484dd7..91b7783a43d 100644
--- a/apps/files_sharing/lib/Notification/Notifier.php
+++ b/apps/files_sharing/lib/Notification/Notifier.php
@@ -249,7 +249,7 @@ class Notifier implements INotifier {
$notification->addParsedAction($acceptAction);
$rejectAction = $notification->createAction();
- $rejectAction->setParsedLabel($l->t('Reject'))
+ $rejectAction->setParsedLabel($l->t('Decline'))
->setLink($this->url->linkToOCSRouteAbsolute('files_sharing.ShareAPI.deleteShare', ['id' => $share->getId()]), 'DELETE')
->setPrimary(false);
$notification->addParsedAction($rejectAction);