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, )