Browse Source

fix(sharing): Align wording for declining a share

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v29.0.0beta4
Joas Schilling 3 months ago
parent
commit
6a82042d73
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/files_sharing/lib/Notification/Notifier.php

+ 1
- 1
apps/files_sharing/lib/Notification/Notifier.php View File

@@ -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);

Loading…
Cancel
Save