diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-26 09:27:41 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-26 09:27:41 +0200 |
commit | f43e7a9405cbc0d469d29060f7f37a6eb0055988 (patch) | |
tree | c56fbd9be75d43def3b8fd79e03f7c824215d05a /apps/sharebymail/lib/Activity.php | |
parent | 8ef25a7628d44465d4777686227407f9a2067700 (diff) | |
download | nextcloud-server-f43e7a9405cbc0d469d29060f7f37a6eb0055988.tar.gz nextcloud-server-f43e7a9405cbc0d469d29060f7f37a6eb0055988.zip |
Fix past tense
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/sharebymail/lib/Activity.php')
-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 6dc462bf492..73751cb241e 100644 --- a/apps/sharebymail/lib/Activity.php +++ b/apps/sharebymail/lib/Activity.php @@ -173,17 +173,17 @@ class Activity implements IProvider { ->setRichSubject($this->l->t('{actor} shared {file} with {email} by mail'), $parsedParameters) ->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 to access %1$s was send to %2s', [ + $event->setParsedSubject($this->l->t('Password to access %1$s was sent to %2s', [ $parsedParameters['file']['path'], $parsedParameters['email']['name'] ])) - ->setRichSubject($this->l->t('Password to access {file} was send to {email}'), $parsedParameters) + ->setRichSubject($this->l->t('Password to access {file} was sent to {email}'), $parsedParameters) ->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 to access %1$s was send to you', + $this->l->t('Password to access %1$s was sent to you', [$parsedParameters['file']['path']])) - ->setRichSubject($this->l->t('Password to access {file} was send to you'), $parsedParameters) + ->setRichSubject($this->l->t('Password to access {file} was sent to you'), $parsedParameters) ->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg'))); } else { |