Merge pull request #10164 from nextcloud/backport/9893/update-message-13

[stable13] Update message shown when unsharing a file
This commit is contained in:
Morris Jobke 2018-07-09 15:38:44 +02:00 committed by GitHub
commit 9ba31f3565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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