Marco Ricci commited on 2025-01-11 16:33:03
Zeige 1 geänderte Dateien mit 2 Einfügungen und 2 Löschungen.
Due to a sign error, the paragraph content was being dropped. And since we now actively include translation strings with preformatted paragraphs, include coverage tracking for this case.
| ... | ... |
@@ -114,11 +114,11 @@ def _prepare_translatable( |
| 114 | 114 |
fix_sentence_endings=True, |
| 115 | 115 |
) |
| 116 | 116 |
) |
| 117 |
- else: # pragma: no cover |
|
| 117 |
+ else: |
|
| 118 | 118 |
string = ''.join( |
| 119 | 119 |
s |
| 120 | 120 |
for s in string.splitlines(True) # noqa: FBT003 |
| 121 |
- if s.strip() == '\b' |
|
| 121 |
+ if s.strip() != '\b' |
|
| 122 | 122 |
) |
| 123 | 123 |
return string |
| 124 | 124 |
|
| 125 | 125 |