fix(sharing): Align wording for declining a share

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/44313/head
Joas Schilling 2 months ago committed by backportbot[bot]
parent 9880016870
commit b6f8fb3caa

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