details: https://code.tryton.org/tools/maintenance/commit/fdef2f202f3d
branch: default
user: Cédric Krier <[email protected]>
date: Sun Jan 25 12:13:38 2026 +0100
description:
Clear translation value only for English
Closes #5
diffstat:
export_weblate.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 9515b0ccf513 -r fdef2f202f3d export_weblate.py
--- a/export_weblate.py Fri Jan 02 11:08:49 2026 +0100
+++ b/export_weblate.py Sun Jan 25 12:13:38 2026 +0100
@@ -33,6 +33,7 @@
translations = Translation.find([
('value', '!=', None),
('value', '!=', ''),
+ ('lang', '=', 'en'),
])
Translation.write(translations, {'value': ''}, {})