|
Ran
|
Files
584
|
Run time
21s
|
Badge
README BADGES
|
push
github
Remove spaces and indentation from translations (#2924) ## Problem - Some translatable texts in Agama contain indentation spaces, like [here](https://github.com/agama-project/agama/blob/87a04f176/web/src/components/storage/EncryptionSection.tsx#L50-L51). Example: ```js { { { const message = _("Some very long message \ which spans across multiple lines."); } } } ``` The problem is that the indentation on the second line is actually included in the message text. The HTML collapses multiple spaces to a single space when rendered in a browser so in the end it is not a visible problem for users. But it still might be confusing for the translators. - See related https://github.com/agama-project/eslint-plugin-agama-i18n/pull/7 ## Solution - Enable eslint check - Fix the reported problems ## TODO - [ ] Manually fix the translations in Weblate using `sed` to avoid invalidating the existing translations.
2696 of 4729 branches covered (57.01%)
Branch coverage included in aggregate %.
12156 of 16982 relevant lines covered (71.58%)
71.53 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|