Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement of some wordings (clearer and more consistent) #155

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion lib/Activity/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function getIdentifier(): string {
* @since 11.0.0
*/
public function getName(): string {
return $this->l->t('A local shared file or folder was <strong>downloaded</strong>');
return $this->l->t('A locally shared file or folder was <strong>downloaded</strong>');
}

/**
Expand Down
Loading