From b6f8fb3caa7fdd85a7c9c37997f36deb512f31d4 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 19 Mar 2024 11:15:18 +0100 Subject: [PATCH] fix(sharing): Align wording for declining a share Signed-off-by: Joas Schilling --- apps/files_sharing/lib/Notification/Notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/lib/Notification/Notifier.php b/apps/files_sharing/lib/Notification/Notifier.php index 20ad9c7e755..245bae25ef1 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);