summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/lib/AccessibilityProvider.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-02-12 15:34:00 +0100
committerJoas Schilling <coding@schilljs.com>2020-02-12 15:34:00 +0100
commit16482efc278b7a88e89aa08cb9dd1a79dcccd416 (patch)
treebb2d3e26f5fac1109f40e2cf5208a4c98a26f0fd /apps/accessibility/lib/AccessibilityProvider.php
parente2e42d4ffd2b07c32fde1a36c64e48de334cac56 (diff)
downloadnextcloud-server-16482efc278b7a88e89aa08cb9dd1a79dcccd416.tar.gz
nextcloud-server-16482efc278b7a88e89aa08cb9dd1a79dcccd416.zip
Do not use translation-concatenation
it's as bad as the word itself sounds Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/accessibility/lib/AccessibilityProvider.php')
-rw-r--r--apps/accessibility/lib/AccessibilityProvider.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/accessibility/lib/AccessibilityProvider.php b/apps/accessibility/lib/AccessibilityProvider.php
index abb7a95afa2..ce9489df5f2 100644
--- a/apps/accessibility/lib/AccessibilityProvider.php
+++ b/apps/accessibility/lib/AccessibilityProvider.php
@@ -62,6 +62,7 @@ class AccessibilityProvider {
'id' => 'dark',
'img' => $this->urlGenerator->imagePath($this->appName, 'theme-dark.jpg'),
'title' => $this->l->t('Dark theme'),
+ 'enableLabel' => $this->l->t('Enable dark theme'),
'text' => $this->l->t('A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find.')
]
);
@@ -72,6 +73,7 @@ class AccessibilityProvider {
'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.')
];
}
@@ -82,6 +84,7 @@ class AccessibilityProvider {
'id' => 'fontdyslexic',
'img' => $this->urlGenerator->imagePath($this->appName, 'font-opendyslexic.jpg'),
'title' => $this->l->t('Dyslexia font'),
+ 'enableLabel' => $this->l->t('Enable dyslexia font'),
'text' => $this->l->t('OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia.')
]
);