diff options
| author | Christophe Simonis <chs@tinyerp.com> | 2008-07-08 08:13:12 +0000 |
|---|---|---|
| committer | Christophe Simonis <chs@tinyerp.com> | 2008-07-08 08:13:12 +0000 |
| commit | 1f43329f0e4828e6afd91ec25317177bb335ecf7 (patch) | |
| tree | 1beaa06b981e18d560a5a282809157e9075db37b /addons/project/wizard/close_task.py | |
| parent | 0b1dfd702fd5b087f0e1be81ccf3ed77f0dcf3da (diff) | |
* translation of nearly all exceptions
* the export of translations per module take only the files of these modules
bzr revid: chs@tinyerp.com-77721e34d87043c4008239f004c7c616f6d4dc82
Diffstat (limited to 'addons/project/wizard/close_task.py')
| -rw-r--r-- | addons/project/wizard/close_task.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/project/wizard/close_task.py b/addons/project/wizard/close_task.py index 994e1a50bba..264048ee489 100644 --- a/addons/project/wizard/close_task.py +++ b/addons/project/wizard/close_task.py @@ -50,7 +50,7 @@ def email_send(cr, uid, ids, to_adr, description, context={}): from_adr = task.user_id.address_id.email signature = task.user_id.signature else: - raise osv.except_osv('Error', "Couldn't send mail because your email address is not configured!") + raise osv.except_osv(_('Error'), _("Couldn't send mail because your email address is not configured!")) if to_adr: val = { @@ -66,7 +66,7 @@ def email_send(cr, uid, ids, to_adr, description, context={}): body = u'%s\n%s\n%s\n\n-- \n%s' % (header, description, footer, signature) email(from_adr, [to_adr], subject, body.encode('utf-8'), email_bcc=[from_adr]) else: - raise osv.except_osv('Error', "Couldn't send mail because the contact for this task (%s) has no email address!"% contact.name) + raise osv.except_osv(_('Error'), _("Couldn't send mail because the contact for this task (%s) has no email address!") % contact.name) class wizard_close(wizard.interface): def _check_complete(self, cr, uid, data, context): |
