From a02dd76fb643136d998845026415dda2b138d85b Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 29 Nov 2022 14:27:40 +0100 Subject: [PATCH] Rename personal Groupware settings section to "Availability" But leave the internal identifier untouched. Signed-off-by: Christoph Wurst --- apps/dav/img/LICENSES.md | 6 ++++++ apps/dav/img/schedule.svg | 1 + apps/settings/lib/Sections/Personal/Groupware.php | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 apps/dav/img/LICENSES.md create mode 100644 apps/dav/img/schedule.svg diff --git a/apps/dav/img/LICENSES.md b/apps/dav/img/LICENSES.md new file mode 100644 index 0000000000000..a1b776c050099 --- /dev/null +++ b/apps/dav/img/LICENSES.md @@ -0,0 +1,6 @@ +# Licenses + +## schedule.svg +- Created by: Google +- License: Apache License, Version 2.0 +- Link: https://fonts.google.com/icons?selected=Material%20Icons%3Aschedule%3A diff --git a/apps/dav/img/schedule.svg b/apps/dav/img/schedule.svg new file mode 100644 index 0000000000000..0d632671fb1a3 --- /dev/null +++ b/apps/dav/img/schedule.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/settings/lib/Sections/Personal/Groupware.php b/apps/settings/lib/Sections/Personal/Groupware.php index 4c64e06cb3a70..da95665e9a715 100644 --- a/apps/settings/lib/Sections/Personal/Groupware.php +++ b/apps/settings/lib/Sections/Personal/Groupware.php @@ -41,7 +41,7 @@ public function __construct(IL10N $l, IURLGenerator $urlGenerator) { } public function getIcon(): string { - return $this->urlGenerator->imagePath('core', 'places/contacts.svg'); + return $this->urlGenerator->imagePath('dav', 'schedule.svg'); } public function getID(): string { @@ -49,7 +49,7 @@ public function getID(): string { } public function getName(): string { - return $this->l->t('Groupware'); + return $this->l->t('Availability'); } public function getPriority(): int {