[I18N] mail: clarify the view button

View may be the action or the object
It is not translated the same way in some languages (e.g. Fi)

Fixes #20595
This commit is contained in:
Martin Trigaux
2017-11-06 14:39:10 +01:00
parent 939e00abc4
commit dc6757032f
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -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
+1 -1
View File
@@ -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')