mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 00:02:54 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue