Compare commits

...

3 Commits

Author SHA1 Message Date
Valdnet d6539a8142
l10n: Spelling unification
Spelling unification in Transifex.
2021-05-29 17:16:26 +02:00
Valdnet 7afebfed6f
l10n: Spelling unification
Spelling unification in Transifex.
2021-05-29 17:14:21 +02:00
Valdnet 7a737e2c8d
l10n: Spelling unification
Spelling unification in Transifex.
2021-05-29 17:12:53 +02:00
3 changed files with 24 additions and 24 deletions

View File

@ -85,39 +85,39 @@ class Addressbook extends Base {
}
if ($event->getSubject() === self::SUBJECT_ADD) {
$subject = $l->t('{actor} created addressbook {addressbook}');
$subject = $l->t('{actor} created address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_ADD . '_self') {
$subject = $l->t('You created addressbook {addressbook}');
$subject = $l->t('You created address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_DELETE) {
$subject = $l->t('{actor} deleted addressbook {addressbook}');
$subject = $l->t('{actor} deleted address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_DELETE . '_self') {
$subject = $l->t('You deleted addressbook {addressbook}');
$subject = $l->t('You deleted address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_UPDATE) {
$subject = $l->t('{actor} updated addressbook {addressbook}');
$subject = $l->t('{actor} updated address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_UPDATE . '_self') {
$subject = $l->t('You updated addressbook {addressbook}');
$subject = $l->t('You updated address book {addressbook}');
} elseif ($event->getSubject() === self::SUBJECT_SHARE_USER) {
$subject = $l->t('{actor} shared addressbook {addressbook} with you');
$subject = $l->t('{actor} shared address book {addressbook} with you');
} elseif ($event->getSubject() === self::SUBJECT_SHARE_USER . '_you') {
$subject = $l->t('You shared addressbook {addressbook} with {user}');
$subject = $l->t('You shared address book {addressbook} with {user}');
} elseif ($event->getSubject() === self::SUBJECT_SHARE_USER . '_by') {
$subject = $l->t('{actor} shared addressbook {addressbook} with {user}');
$subject = $l->t('{actor} shared address book {addressbook} with {user}');
} elseif ($event->getSubject() === self::SUBJECT_UNSHARE_USER) {
$subject = $l->t('{actor} unshared addressbook {addressbook} from you');
$subject = $l->t('{actor} unshared address book {addressbook} from you');
} elseif ($event->getSubject() === self::SUBJECT_UNSHARE_USER . '_you') {
$subject = $l->t('You unshared addressbook {addressbook} from {user}');
$subject = $l->t('You unshared address book {addressbook} from {user}');
} elseif ($event->getSubject() === self::SUBJECT_UNSHARE_USER . '_by') {
$subject = $l->t('{actor} unshared addressbook {addressbook} from {user}');
$subject = $l->t('{actor} unshared address book {addressbook} from {user}');
} elseif ($event->getSubject() === self::SUBJECT_UNSHARE_USER . '_self') {
$subject = $l->t('{actor} unshared addressbook {addressbook} from themselves');
$subject = $l->t('{actor} unshared address book {addressbook} from themselves');
} elseif ($event->getSubject() === self::SUBJECT_SHARE_GROUP . '_you') {
$subject = $l->t('You shared addressbook {addressbook} with group {group}');
$subject = $l->t('You shared address book {addressbook} with group {group}');
} elseif ($event->getSubject() === self::SUBJECT_SHARE_GROUP . '_by') {
$subject = $l->t('{actor} shared addressbook {addressbook} with group {group}');
$subject = $l->t('{actor} shared address book {addressbook} with group {group}');
} elseif ($event->getSubject() === self::SUBJECT_UNSHARE_GROUP . '_you') {
$subject = $l->t('You unshared addressbook {addressbook} from group {group}');
$subject = $l->t('You unshared address book {addressbook} from group {group}');
} elseif ($event->getSubject() === self::SUBJECT_UNSHARE_GROUP . '_by') {
$subject = $l->t('{actor} unshared addressbook {addressbook} from group {group}');
$subject = $l->t('{actor} unshared address book {addressbook} from group {group}');
} else {
throw new \InvalidArgumentException();
}

View File

@ -87,17 +87,17 @@ class Card extends Base {
}
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();
}

View File

@ -39,7 +39,7 @@ class Setting extends CalDAVSetting {
* @return string A translated string
*/
public function getName(): string {
return $this->l->t('A <strong>contact</strong> or <strong>addressbook</strong> was modified');
return $this->l->t('A <strong>contact</strong> or <strong>address book</strong> was modified');
}
/**