diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-04-22 08:15:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-22 08:15:46 +0200 |
commit | 7acdc2a096a653d37f695f05db3d60b3b671e136 (patch) | |
tree | 9229af350a86e2848b5d5a510e84a4e38bbf407a /apps/sharebymail | |
parent | 363d1c69dda472c76cf258e1fcd77d5765671e2b (diff) | |
parent | aa2bed44b6b183985433f84d134630a105184128 (diff) | |
download | nextcloud-server-7acdc2a096a653d37f695f05db3d60b3b671e136.tar.gz nextcloud-server-7acdc2a096a653d37f695f05db3d60b3b671e136.zip |
Merge pull request #4432 from nextcloud/fix-grammar
Fix grammar
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(); |