fix: only translate strings
This commit is contained in:
parent
c17311fbb0
commit
aaa456c2ab
1 changed files with 2 additions and 1 deletions
|
|
@ -818,5 +818,6 @@ def translate_report_data(data):
|
|||
for d in data:
|
||||
if isinstance(d, dict):
|
||||
for field, value in d.items():
|
||||
d[field] = _(value)
|
||||
if isinstance(value, str):
|
||||
d[field] = _(value)
|
||||
return data
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue