diff options
Diffstat (limited to 'apps/accessibility')
-rw-r--r-- | apps/accessibility/appinfo/routes.php | 8 | ||||
-rw-r--r-- | apps/accessibility/lib/AccessibilityProvider.php | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/apps/accessibility/appinfo/routes.php b/apps/accessibility/appinfo/routes.php index ed8b0f57f08..a5e75fcdcee 100644 --- a/apps/accessibility/appinfo/routes.php +++ b/apps/accessibility/appinfo/routes.php @@ -27,13 +27,13 @@ return [ 'routes' => [ ['name' => 'accessibility#getCss', 'url' => '/css/user-{md5}', 'verb' => 'GET'], ['name' => 'accessibility#getJavascript', 'url' => '/js/accessibility', 'verb' => 'GET'], - ], - 'ocs' => [ + ], + 'ocs' => [ [ 'name' => 'Config#getConfig', 'url' => '/api/v1/config', 'verb' => 'GET', - ], + ], [ 'name' => 'Config#setConfig', 'url' => '/api/v1/config/{key}', @@ -44,5 +44,5 @@ return [ 'url' => '/api/v1/config/{key}', 'verb' => 'DELETE', ], - ] + ] ]; diff --git a/apps/accessibility/lib/AccessibilityProvider.php b/apps/accessibility/lib/AccessibilityProvider.php index 159cde37e3a..ef8571528bb 100644 --- a/apps/accessibility/lib/AccessibilityProvider.php +++ b/apps/accessibility/lib/AccessibilityProvider.php @@ -72,12 +72,12 @@ class AccessibilityProvider { public function getHighContrast() { return [ - 'id' => 'highcontrast', - 'img' => $this->urlGenerator->imagePath($this->appName, 'mode-highcontrast.jpg'), - 'title' => $this->l->t('High contrast mode'), - 'enableLabel' => $this->l->t('Enable high contrast mode'), - 'text' => $this->l->t('A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased.') - ]; + 'id' => 'highcontrast', + 'img' => $this->urlGenerator->imagePath($this->appName, 'mode-highcontrast.jpg'), + 'title' => $this->l->t('High contrast mode'), + 'enableLabel' => $this->l->t('Enable high contrast mode'), + 'text' => $this->l->t('A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased.') + ]; } public function getFonts() { |