Merge pull request #10164 from nextcloud/backport/9893/update-message-13
[stable13] Update message shown when unsharing a file
This commit is contained in:
commit
9ba31f3565
|
@ -92,7 +92,7 @@ class Users extends Base {
|
||||||
} else if ($event->getSubject() === self::SUBJECT_SHARED_WITH_BY) {
|
} else if ($event->getSubject() === self::SUBJECT_SHARED_WITH_BY) {
|
||||||
$subject = $this->l->t('{actor} shared {file} with you');
|
$subject = $this->l->t('{actor} shared {file} with you');
|
||||||
} else if ($event->getSubject() === self::SUBJECT_UNSHARED_BY) {
|
} else if ($event->getSubject() === self::SUBJECT_UNSHARED_BY) {
|
||||||
$subject = $this->l->t('{actor} removed you from {file}');
|
$subject = $this->l->t('{actor} removed you from the share named {file}');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
throw new \InvalidArgumentException();
|
throw new \InvalidArgumentException();
|
||||||
|
|
Loading…
Reference in New Issue