mirror of
https://github.com/nextcloud/server.git
synced 2024-07-29 20:15:55 +02:00
fix(sharing): Align wording for declining a share
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
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…
Reference in New Issue
Block a user