Skip to content
Snippets Groups Projects
Commit 0f92dae8 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[REV] tools: partially revert 0ec6acc4


No justification, commit message not linked to the diff.
If there is an issue in the line_number extraction it must be
investigated.
I suspect an outdated polib version.

closes odoo/odoo#40672

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 5a701758
Branches
Tags
No related merge requests found
......@@ -632,7 +632,7 @@ class PoFileReader:
'src': source,
'value': translation,
'comments': comments,
'res_id': int(line_number or 0),
'res_id': int(line_number),
'module': module,
}
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment