diff options
-rw-r--r-- | apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php | 34 | ||||
-rw-r--r-- | apps/dav/lib/CardDAV/Activity/Provider/Card.php | 12 | ||||
-rw-r--r-- | apps/dav/lib/CardDAV/Activity/Setting.php | 2 |
3 files changed, 24 insertions, 24 deletions
diff --git a/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php b/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php index bb03f6a8bfc..be18fba96cc 100644 --- a/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php +++ b/apps/dav/lib/CardDAV/Activity/Provider/Addressbook.php @@ -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(); } diff --git a/apps/dav/lib/CardDAV/Activity/Provider/Card.php b/apps/dav/lib/CardDAV/Activity/Provider/Card.php index 10d7ea1787a..9c909ae9bcd 100644 --- a/apps/dav/lib/CardDAV/Activity/Provider/Card.php +++ b/apps/dav/lib/CardDAV/Activity/Provider/Card.php @@ -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(); } diff --git a/apps/dav/lib/CardDAV/Activity/Setting.php b/apps/dav/lib/CardDAV/Activity/Setting.php index c152fbd9060..a8a83111dde 100644 --- a/apps/dav/lib/CardDAV/Activity/Setting.php +++ b/apps/dav/lib/CardDAV/Activity/Setting.php @@ -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'); } /** |