Merge pull request #19955 from nextcloud/bug/19952/translate-web-standards

Use a normal string to translate.
This commit is contained in:
Roeland Jago Douma 2020-03-25 08:09:10 +01:00 committed by GitHub
commit 52957d99d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -62,11 +62,7 @@ export default {
// using the `t` replace method escape html, we have to do it manually :/
return t(
'accessibility',
`Universal access is very important to us. We follow web standards
and check to make everything usable also without mouse,
and assistive software such as screenreaders.
We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level,
with the high contrast theme even on AAA level.`
'Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level.'
)
.replace('{guidelines}', this.guidelinesLink)
.replace('{linkend}', '</a>')
@ -77,8 +73,7 @@ export default {
descriptionDetail() {
return t(
'accessibility',
`If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}.
And if you want to get involved, come join {designteam}our design team{linkend}!`
'If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!'
)
.replace('{issuetracker}', this.issuetrackerLink)
.replace('{designteam}', this.designteamLink)