-
Notifications
You must be signed in to change notification settings - Fork 354
Feature request: ease translation work by removing text content from CSS #38
Copy link
Copy link
Open
Description
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.
cupper/themes/cupper/static/css/styles.css
Lines 238 to 244 in afefa0d
| [for="themer"] [aria-hidden]::before { | |
| content: 'off'; | |
| } | |
| [for="themer"] :checked + [aria-hidden]::before { | |
| content: 'on'; | |
| } |
cupper/themes/cupper/static/css/styles.css
Lines 525 to 529 in afefa0d
| 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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels