Skip to content

Commit

Permalink
l10n: Spelling unification
Browse files Browse the repository at this point in the history
Spelling unification in Transifex.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Valdnet authored and Pytal committed Jun 19, 2021
1 parent 6c42913 commit 6f2845b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions apps/dav/lib/CardDAV/Activity/Provider/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,17 @@ public function parse($language, IEvent $event, IEvent $previousEvent = null): I
}

if ($event->getSubject() === self::SUBJECT_ADD) {
$subject = $l->t('{actor} created contact {card} in addressbook {addressbook}');
$subject = $l->t('{actor} created contact {card} in address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_ADD . '_self') {
$subject = $l->t('You created contact {card} in addressbook {addressbook}');
$subject = $l->t('You created contact {card} in address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_DELETE) {
$subject = $l->t('{actor} deleted contact {card} from addressbook {addressbook}');
$subject = $l->t('{actor} deleted contact {card} from address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_DELETE . '_self') {
$subject = $l->t('You deleted contact {card} from addressbook {addressbook}');
$subject = $l->t('You deleted contact {card} from address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_UPDATE) {
$subject = $l->t('{actor} updated contact {card} in addressbook {addressbook}');
$subject = $l->t('{actor} updated contact {card} in address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_UPDATE . '_self') {
$subject = $l->t('You updated contact {card} in addressbook {addressbook}');
$subject = $l->t('You updated contact {card} in address book {addressbook}');
} else {
throw new \InvalidArgumentException();
}
Expand Down

0 comments on commit 6f2845b

Please sign in to comment.