summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-03-19 11:15:18 +0100
committerJoas Schilling <coding@schilljs.com>2024-03-19 11:15:18 +0100
commit6a82042d73144432c24918e1f422adf6ff782847 (patch)
treedebb6fb323054b9874261600208432e82b621830 /apps
parent84281ceecb88b2f2ad9e94ff641c5fe3e148e437 (diff)
downloadnextcloud-server-6a82042d73144432c24918e1f422adf6ff782847.tar.gz
nextcloud-server-6a82042d73144432c24918e1f422adf6ff782847.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 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);