Translate question options in backend and PDFs (Z#23134850) (#3693)

* Translate question options in backend and PDFs

* Extend to invoices
This commit is contained in:
Raphael Michel
2023-11-13 15:48:45 +01:00
committed by GitHub
parent ee70fec7ad
commit 3c46c461c0
4 changed files with 22 additions and 5 deletions

View File

@@ -567,7 +567,7 @@ def variables_from_questions(sender, *args, **kwargs):
if not a:
return ""
else:
return str(a)
return a.to_string_i18n()
d = {}
for q in sender.questions.all():