Skip to content

Commit 6c1836e

Browse files
committed
fixup error output
1 parent 1f7183e commit 6c1836e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/check-translations.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ def _print_error(fn, entry, lineno, text, github):
4141
if entry:
4242
details = text + '\n' + str(entry)
4343
details = details.replace('\n', '%0A')
44-
print(f'::error title="{fn}:{lineno}:{text}"::{details}')
44+
print(f'::error title={fn}:{lineno}:{text}::{details}')
4545
else:
46-
print(f'::error title="error in {fn}"::{lineno}:{text}')
46+
print(f'::error title=error in {fn}::{lineno}:{text}')
4747
else:
4848
print(f'[red]{fn}:{lineno}:{text}[/red]')
4949
if entry:
@@ -58,7 +58,6 @@ def process_po(filename, stderr, github):
5858
po = polib.pofile(filename)
5959
# dict indexed with POEntry and containing all error messages for it
6060
errors = []
61-
6261
for line in stderr.split('\n'):
6362
if not line:
6463
continue

0 commit comments

Comments
 (0)