Use a normal string to translate.
Somehow the multi line strings are still a problem for t. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
parent
f85d7fee17
commit
01dd9cf619
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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, don’t 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, don’t 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)
|
||||
|
|
Loading…
Reference in New Issue