[REV] tools: partially revert 0ec6acc458
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#40684 X-original-commit: 0f92dae8eb76a47326bd2bb8924df8fa09645145 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
@@ -631,7 +631,7 @@ class PoFileReader:
|
||||
'src': source,
|
||||
'value': translation,
|
||||
'comments': comments,
|
||||
'res_id': int(line_number or 0),
|
||||
'res_id': int(line_number),
|
||||
'module': module,
|
||||
}
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user