[IMP] make strings translatable

bzr revid: tpa@tinyerp.com-20130321053855-2cg08qtcsjrouo35
This commit is contained in:
Turkesh Patel (Open ERP) 2013-03-21 11:08:55 +05:30
parent cd90ed025a
commit 7175b3e3fb
4 changed files with 4 additions and 4 deletions

View File

@ -420,7 +420,7 @@ class account_invoice(osv.osv):
'mark_invoice_as_sent': True,
})
return {
'name': 'Compose Email',
'name': _('Compose Email'),
'type': 'ir.actions.act_window',
'view_type': 'form',
'view_mode': 'form',

View File

@ -944,7 +944,7 @@ class crm_lead(base_stage, format_address, osv.osv):
'default_composition_mode': 'comment',
})
return {
'name': 'Compose Email',
'name': _('Compose Email'),
'type': 'ir.actions.act_window',
'view_type': 'form',
'view_mode': 'form',

View File

@ -1932,7 +1932,7 @@ openerp.mail = function (session) {
this.$(".oe_write_full").click(function (event) {
event.stopPropagation();
var action = {
name: 'Compose Email',
name: _t('Compose Email'),
type: 'ir.actions.act_window',
res_model: 'mail.compose.message',
view_mode: 'form',

View File

@ -427,7 +427,7 @@ class purchase_order(osv.osv):
'default_composition_mode': 'comment',
})
return {
'name': 'Compose Email',
'name': _('Compose Email'),
'type': 'ir.actions.act_window',
'view_type': 'form',
'view_mode': 'form',