details: https://code.tryton.org/tryton/commit/d3380ee74626
branch: default
user: Nicolas Évrard <[email protected]>
date: Fri Oct 17 10:33:06 2025 +0000
description:
Set default value of src_plural to NULL when setting translations
Adding the new translations to the internal language should set the
value of
src_plural to NULL as this is the default value we use when importing
from the
PO files. Moreover it might happen that an empty string could be a
valid value
for src_plural.
Closes #14289
diffstat:
trytond/trytond/ir/translation.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 1e7411d1bf84 -r d3380ee74626 trytond/trytond/ir/translation.py
--- a/trytond/trytond/ir/translation.py Thu Oct 09 18:50:07 2025 +0200
+++ b/trytond/trytond/ir/translation.py Fri Oct 17 10:33:06 2025 +0000
@@ -1255,7 +1255,7 @@
[
[view.model, INTERNAL_LANG,
'view', string,
- '', '',
+ None, '',
'', '',
'', view.module,
False, -1]]))