Fix grammar
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
eaa6f766e6
commit
aa2bed44b6
|
@ -130,16 +130,16 @@ class Activity implements IProvider {
|
||||||
])
|
])
|
||||||
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
|
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
|
||||||
} else if ($event->getSubject() === self::SUBJECT_SHARED_EMAIL_PASSWORD_SEND) {
|
} else if ($event->getSubject() === self::SUBJECT_SHARED_EMAIL_PASSWORD_SEND) {
|
||||||
$event->setParsedSubject($this->l->t('Password for mail share send to %1$s', [
|
$event->setParsedSubject($this->l->t('Password for mail share sent to %1$s', [
|
||||||
$parsedParameters['email']['name']
|
$parsedParameters['email']['name']
|
||||||
]))
|
]))
|
||||||
->setRichSubject($this->l->t('Password for mail share send to {email}'), [
|
->setRichSubject($this->l->t('Password for mail share sent to {email}'), [
|
||||||
'email' => $parsedParameters['email']
|
'email' => $parsedParameters['email']
|
||||||
])
|
])
|
||||||
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
|
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
|
||||||
} else if ($event->getSubject() === self::SUBJECT_SHARED_EMAIL_PASSWORD_SEND_SELF) {
|
} else if ($event->getSubject() === self::SUBJECT_SHARED_EMAIL_PASSWORD_SEND_SELF) {
|
||||||
$event->setParsedSubject($this->l->t('Password for mail share send to you'))
|
$event->setParsedSubject($this->l->t('Password for mail share sent to you'))
|
||||||
->setRichSubject($this->l->t('Password for mail share send to you'))
|
->setRichSubject($this->l->t('Password for mail share sent to you'))
|
||||||
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
|
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
|
||||||
} else {
|
} else {
|
||||||
throw new \InvalidArgumentException();
|
throw new \InvalidArgumentException();
|
||||||
|
|
Loading…
Reference in New Issue