Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: ease translation work by removing text content from CSS #38

Open
dashdashzako opened this issue Oct 4, 2018 · 0 comments

Comments

@dashdashzako
Copy link

Hello!

There is a few text content set inside the CSS file, which makes it difficult to localize unless a specific CSS rule is set for the language.

[for="themer"] [aria-hidden]::before {
content: 'off';
}
[for="themer"] :checked + [aria-hidden]::before {
content: 'on';
}

figcaption::before {
counter-increment: fig;
content: 'Figure ' counter(fig) ':\0020';
font-weight: bold;
}

I think adding adding this information to HTML files and keep CSS declaration as language-free as possible would make translation work much easier and cleaner.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant