diff options
Diffstat (limited to 'apps/sharebymail/lib/Activity.php')
-rw-r--r-- | apps/sharebymail/lib/Activity.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/sharebymail/lib/Activity.php b/apps/sharebymail/lib/Activity.php index c1c6ac629f9..a588ee3b6ca 100644 --- a/apps/sharebymail/lib/Activity.php +++ b/apps/sharebymail/lib/Activity.php @@ -119,8 +119,8 @@ class Activity implements IProvider { if ($event->getSubject() === self::SUBJECT_SHARED_EMAIL_SELF) { $event->setParsedSubject($this->l->t('Shared with %1$s', [ - $parsedParameters['email']['name'], - ])) + $parsedParameters['email']['name'], + ])) ->setRichSubject($this->l->t('Shared with {email}'), [ 'email' => $parsedParameters['email'], ]); @@ -145,8 +145,8 @@ class Activity implements IProvider { } } else if ($event->getSubject() === self::SUBJECT_UNSHARED_EMAIL_SELF) { $event->setParsedSubject($this->l->t('Unshared from %1$s', [ - $parsedParameters['email']['name'], - ])) + $parsedParameters['email']['name'], + ])) ->setRichSubject($this->l->t('Unshared from {email}'), [ 'email' => $parsedParameters['email'], ]); @@ -207,9 +207,9 @@ class Activity implements IProvider { if ($event->getSubject() === self::SUBJECT_SHARED_EMAIL_SELF) { $event->setParsedSubject($this->l->t('You shared %1$s with %2$s by mail', [ - $parsedParameters['file']['path'], - $parsedParameters['email']['name'], - ])) + $parsedParameters['file']['path'], + $parsedParameters['email']['name'], + ])) ->setRichSubject($this->l->t('You shared {file} with {email} by mail'), $parsedParameters); if ($this->activityManager->getRequirePNG()) { $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.png'))); @@ -230,9 +230,9 @@ class Activity implements IProvider { } } else if ($event->getSubject() === self::SUBJECT_UNSHARED_EMAIL_SELF) { $event->setParsedSubject($this->l->t('You unshared %1$s from %2$s by mail', [ - $parsedParameters['file']['path'], - $parsedParameters['email']['name'], - ])) + $parsedParameters['file']['path'], + $parsedParameters['email']['name'], + ])) ->setRichSubject($this->l->t('You unshared {file} from {email} by mail'), $parsedParameters); if ($this->activityManager->getRequirePNG()) { $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.png'))); |