Fix language typo
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
7b0b7e801f
commit
14f01dbe33
2 changed files with 4 additions and 4 deletions
|
@ -110,17 +110,17 @@ class Groups implements IProvider {
|
|||
])
|
||||
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
|
||||
} else if ($event->getSubject() === self::SUBJECT_RESHARED_GROUP_BY) {
|
||||
$event->setParsedSubject($this->l->t('%2$s shared with %1$s by', [
|
||||
$event->setParsedSubject($this->l->t('%2$s shared with group %1$s', [
|
||||
$parsedParameters['group']['name'],
|
||||
$parsedParameters['actor']['name'],
|
||||
]))
|
||||
->setRichSubject($this->l->t('{actor} shared with {group}'), [
|
||||
->setRichSubject($this->l->t('{actor} shared with group {group}'), [
|
||||
'group' => $parsedParameters['group'],
|
||||
'actor' => $parsedParameters['actor'],
|
||||
])
|
||||
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
|
||||
} else if ($event->getSubject() === self::SUBJECT_UNSHARED_GROUP_BY) {
|
||||
$event->setParsedSubject($this->l->t('%2$s removed share for %1$s', [
|
||||
$event->setParsedSubject($this->l->t('%2$s removed share for group %1$s', [
|
||||
$parsedParameters['group']['name'],
|
||||
$parsedParameters['actor']['name'],
|
||||
]))
|
||||
|
|
|
@ -112,7 +112,7 @@ class Users implements IProvider {
|
|||
])
|
||||
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
|
||||
} else if ($event->getSubject() === self::SUBJECT_RESHARED_USER_BY) {
|
||||
$event->setParsedSubject($this->l->t('%2$s shared with %1$s by', [
|
||||
$event->setParsedSubject($this->l->t('%2$s shared with %1$s', [
|
||||
$parsedParameters['user']['name'],
|
||||
$parsedParameters['actor']['name'],
|
||||
]))
|
||||
|
|
Loading…
Reference in a new issue