|
Ran
|
Jobs
3
|
Files
1159
|
Run time
2min
|
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 %.
25583 of 39356 relevant lines covered (65.0%)
197.0 hits per line
| ID | Flag name | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|---|
| 3 | web | 19856163296.3 | 584 |
68.41 |
GitHub Action Run | |
| 1 | rust | 19474749743.1 | 185 |
22.45 |
GitHub Action Run | |
| 3 | service | 19534519530.3 | 390 |
88.57 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|