changeset 3368e556c73e in tryton:5.6
details: https://hg.tryton.org/tryton?cmd=changeset&node=3368e556c73e
description:
Fix wrong call to gettext in compare window
issue10320
review342181002
(grafted from b80b73ab09410fea132f09e854c78b86ede50a6d)
diffstat:
tryton/common/common.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 462c2af68977 -r 3368e556c73e tryton/common/common.py
--- a/tryton/common/common.py Thu Apr 22 23:51:22 2021 +0200
+++ b/tryton/common/common.py Fri Apr 23 11:53:48 2021 +0200
@@ -707,7 +707,7 @@
Window.create(
model,
res_id=id_,
- name=_("Compare: %s", name),
+ name=_("Compare: %s") % name,
domain=[('id', '=', id_)],
context=context,
mode=['form'])