l10n: Spelling unification

Spelling unification in Transifex.
This commit is contained in:
Valdnet 2021-05-29 17:16:26 +02:00 committed by GitHub
parent 7afebfed6f
commit d6539a8142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -87,17 +87,17 @@ class Card extends Base {
} }
if ($event->getSubject() === self::SUBJECT_ADD) { 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') { } 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) { } 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') { } 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) { } 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') { } 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 { } else {
throw new \InvalidArgumentException(); throw new \InvalidArgumentException();
} }