diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-04-21 16:07:12 -0500 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-04-21 16:07:12 -0500 |
commit | aa2bed44b6b183985433f84d134630a105184128 (patch) | |
tree | 52a7a9931390e33cef922673b711c8697d15fb2d /apps/sharebymail | |
parent | eaa6f766e694f08e899c9469f668135c5d7b0c34 (diff) | |
download | nextcloud-server-aa2bed44b6b183985433f84d134630a105184128.tar.gz nextcloud-server-aa2bed44b6b183985433f84d134630a105184128.zip |
Fix grammar
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/sharebymail')
-rw-r--r-- | apps/sharebymail/lib/Activity.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/sharebymail/lib/Activity.php b/apps/sharebymail/lib/Activity.php index acc3e59f923..6dc462bf492 100644 --- a/apps/sharebymail/lib/Activity.php +++ b/apps/sharebymail/lib/Activity.php @@ -130,16 +130,16 @@ class Activity implements IProvider { ]) ->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg'))); } 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'] ])) - ->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'] ]) ->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg'))); } else if ($event->getSubject() === self::SUBJECT_SHARED_EMAIL_PASSWORD_SEND_SELF) { - $event->setParsedSubject($this->l->t('Password for mail share send to you')) - ->setRichSubject($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 sent to you')) ->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg'))); } else { throw new \InvalidArgumentException(); |