Rename personal Groupware settings section to "Availability"tags/v26.0.0beta1
@@ -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 |
@@ -0,0 +1 @@ | |||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0z" fill="none"/><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg> |
@@ -59,7 +59,7 @@ class AvailabilitySettings implements ISettings { | |||
} | |||
public function getSection(): string { | |||
return 'groupware'; | |||
return 'availability'; | |||
} | |||
public function getPriority(): int { |
@@ -37,7 +37,7 @@ | |||
<personal>OCA\Settings\Settings\Personal\Security\Password</personal> | |||
<personal>OCA\Settings\Settings\Personal\Security\TwoFactor</personal> | |||
<personal>OCA\Settings\Settings\Personal\Security\WebAuthn</personal> | |||
<personal-section>OCA\Settings\Sections\Personal\Groupware</personal-section> | |||
<personal-section>OCA\Settings\Sections\Personal\Availability</personal-section> | |||
<personal-section>OCA\Settings\Sections\Personal\PersonalInfo</personal-section> | |||
<personal-section>OCA\Settings\Sections\Personal\Security</personal-section> | |||
<personal-section>OCA\Settings\Sections\Personal\SyncClients</personal-section> |
@@ -48,7 +48,7 @@ return array( | |||
'OCA\\Settings\\Sections\\Admin\\Security' => $baseDir . '/../lib/Sections/Admin/Security.php', | |||
'OCA\\Settings\\Sections\\Admin\\Server' => $baseDir . '/../lib/Sections/Admin/Server.php', | |||
'OCA\\Settings\\Sections\\Admin\\Sharing' => $baseDir . '/../lib/Sections/Admin/Sharing.php', | |||
'OCA\\Settings\\Sections\\Personal\\Groupware' => $baseDir . '/../lib/Sections/Personal/Groupware.php', | |||
'OCA\\Settings\\Sections\\Personal\\Availability' => $baseDir . '/../lib/Sections/Personal/Availability.php', | |||
'OCA\\Settings\\Sections\\Personal\\PersonalInfo' => $baseDir . '/../lib/Sections/Personal/PersonalInfo.php', | |||
'OCA\\Settings\\Sections\\Personal\\Security' => $baseDir . '/../lib/Sections/Personal/Security.php', | |||
'OCA\\Settings\\Sections\\Personal\\SyncClients' => $baseDir . '/../lib/Sections/Personal/SyncClients.php', |
@@ -63,7 +63,7 @@ class ComposerStaticInitSettings | |||
'OCA\\Settings\\Sections\\Admin\\Security' => __DIR__ . '/..' . '/../lib/Sections/Admin/Security.php', | |||
'OCA\\Settings\\Sections\\Admin\\Server' => __DIR__ . '/..' . '/../lib/Sections/Admin/Server.php', | |||
'OCA\\Settings\\Sections\\Admin\\Sharing' => __DIR__ . '/..' . '/../lib/Sections/Admin/Sharing.php', | |||
'OCA\\Settings\\Sections\\Personal\\Groupware' => __DIR__ . '/..' . '/../lib/Sections/Personal/Groupware.php', | |||
'OCA\\Settings\\Sections\\Personal\\Availability' => __DIR__ . '/..' . '/../lib/Sections/Personal/Availability.php', | |||
'OCA\\Settings\\Sections\\Personal\\PersonalInfo' => __DIR__ . '/..' . '/../lib/Sections/Personal/PersonalInfo.php', | |||
'OCA\\Settings\\Sections\\Personal\\Security' => __DIR__ . '/..' . '/../lib/Sections/Personal/Security.php', | |||
'OCA\\Settings\\Sections\\Personal\\SyncClients' => __DIR__ . '/..' . '/../lib/Sections/Personal/SyncClients.php', |
@@ -27,7 +27,7 @@ use OCP\IL10N; | |||
use OCP\IURLGenerator; | |||
use OCP\Settings\IIconSection; | |||
class Groupware implements IIconSection { | |||
class Availability implements IIconSection { | |||
/** @var IL10N */ | |||
private $l; | |||
@@ -41,15 +41,15 @@ class Groupware implements IIconSection { | |||
} | |||
public function getIcon(): string { | |||
return $this->urlGenerator->imagePath('core', 'places/contacts.svg'); | |||
return $this->urlGenerator->imagePath('dav', 'schedule.svg'); | |||
} | |||
public function getID(): string { | |||
return 'groupware'; | |||
return 'availability'; | |||
} | |||
public function getName(): string { | |||
return $this->l->t('Groupware'); | |||
return $this->l->t('Availability'); | |||
} | |||
public function getPriority(): int { |