summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-03-19 11:15:18 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-03-19 11:19:36 +0000
commita1acc516dfc2bb0268644d31bdb3d8f3bf4158e0 (patch)
tree18e7529ab4e89eb7c53441d0d31d2eeae6b28dc9 /apps
parent846ca765b9710c54b057c55b67dae615a9b375d7 (diff)
downloadnextcloud-server-a1acc516dfc2bb0268644d31bdb3d8f3bf4158e0.tar.gz
nextcloud-server-a1acc516dfc2bb0268644d31bdb3d8f3bf4158e0.zip
fix(sharing): Align wording for declining a share
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/Notification/Notifier.php2
1 files changed, 1 insertions, 1 deletions
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);