From c7f982774654459a2db6decd6ae1948e05e7d622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csaba=20T=C3=B3th?= Date: Sun, 25 Feb 2024 11:42:27 +0100 Subject: [PATCH] [FIX] survey: wrong translation marker A character was left out of the translation pattern, so the text was never displayed correctly to the user. closes odoo/odoo#155331 Signed-off-by: Thibault Delavallee (tde) --- addons/survey/i18n/survey.pot | 2 +- addons/survey/models/survey_user_input.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/survey/i18n/survey.pot b/addons/survey/i18n/survey.pot index d5d81a0c8d9..e11c5dd4510 100644 --- a/addons/survey/i18n/survey.pot +++ b/addons/survey/i18n/survey.pot @@ -64,7 +64,7 @@ msgstr "" #. odoo-python #: code:addons/survey/models/survey_user_input.py:0 #, python-format -msgid "%(participant) just participated in \"%(survey_title)s\"." +msgid "%(participant)s just participated in \"%(survey_title)s\"." msgstr "" #. module: survey diff --git a/addons/survey/models/survey_user_input.py b/addons/survey/models/survey_user_input.py index c5bf934171c..8ca8a4a9ffb 100644 --- a/addons/survey/models/survey_user_input.py +++ b/addons/survey/models/survey_user_input.py @@ -689,7 +689,7 @@ class SurveyUserInput(models.Model): survey_title = user_input.survey_id.title if user_input.partner_id: body = _( - '%(participant) just participated in "%(survey_title)s".', + '%(participant)s just participated in "%(survey_title)s".', participant=user_input.partner_id.display_name, survey_title=survey_title, )