diff --git a/addons/mail/i18n/mail.pot b/addons/mail/i18n/mail.pot index 6511ace544f..84af3669e83 100644 --- a/addons/mail/i18n/mail.pot +++ b/addons/mail/i18n/mail.pot @@ -5054,13 +5054,18 @@ msgid "Using your own email server is required to send/receive emails in Communi msgstr "" #. module: mail -#: code:addons/mail/models/mail_thread.py:668 #: code:addons/mail/models/mail_thread.py:670 #: model:ir.ui.view,arch_db:mail.message_user_assigned #, python-format msgid "View" msgstr "" +#. module: mail +#: code:addons/mail/models/mail_thread.py:668 +#, python-format +msgid "View %s" +msgstr "" + #. module: mail #. openerp-web #: code:addons/mail/static/src/js/followers.js:240 diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py index 53ed1da740c..1d7d9681ea1 100644 --- a/addons/mail/models/mail_thread.py +++ b/addons/mail/models/mail_thread.py @@ -665,7 +665,7 @@ class MailThread(models.AbstractModel): if message.model: model_name = self.env['ir.model']._get(message.model).display_name - view_title = '%s %s' % (_('View'), model_name) + view_title = _('View %s') % model_name else: view_title = _('View')