Skip to content

Commit

Permalink
Update Provider.php
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Herbinet <[email protected]>
  • Loading branch information
Jerome-Herbinet authored Nov 16, 2023
1 parent ee2d9d7 commit 1e64634
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Activity/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ public function parseShortVersion(IEvent $event, IEvent $previousEvent = null):
$params = $event->getSubjectParameters();

if ($params[2] === 'desktop') {
$subject = $this->l->t('Downloaded by {actor} (via desktop)');
$subject = $this->l->t('Downloaded by {actor} (via the desktop client)');
} elseif ($params[2] === 'mobile') {
$subject = $this->l->t('Downloaded by {actor} (via app)');
$subject = $this->l->t('Downloaded by {actor} (via the mobile app)');
} else {
$subject = $this->l->t('Downloaded by {actor} (via browser)');
$subject = $this->l->t('Downloaded by {actor} (via the browser)');
}

$this->setSubjects($event, $subject, $parsedParameters);
Expand Down

0 comments on commit 1e64634

Please sign in to comment.