From 7c92b8ba005066d2012ae4aabaa33a4c52c9dd73 Mon Sep 17 00:00:00 2001 From: "Hardik Ansodariya (OpenERP)" <> Date: Thu, 8 Nov 2012 15:33:19 +0530 Subject: [PATCH] [FIX]portal,share : fixed the translation issue of share document wizard bzr revid: mma@tinyerp.com-20121108100319-qfukxayiz7siic39 --- addons/portal/wizard/share_wizard.py | 4 ++-- addons/share/wizard/share_wizard.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/portal/wizard/share_wizard.py b/addons/portal/wizard/share_wizard.py index b1b6e980dec..51e5e59eb0e 100644 --- a/addons/portal/wizard/share_wizard.py +++ b/addons/portal/wizard/share_wizard.py @@ -35,8 +35,8 @@ class share_wizard_portal(osv.TransientModel): def _user_type_selection(self, cr, uid, context=None): selection = super(share_wizard_portal, self)._user_type_selection(cr, uid, context=context) - selection.extend([('existing','Users you already shared with'), - ('groups','Existing Groups (e.g Portal Groups)')]) + selection.extend([('existing',_('Users you already shared with')), + ('groups',_('Existing Groups (e.g Portal Groups)'))]) return selection _columns = { diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py index 360b1eff159..6a1f5681f4f 100644 --- a/addons/share/wizard/share_wizard.py +++ b/addons/share/wizard/share_wizard.py @@ -74,7 +74,7 @@ class share_wizard(osv.TransientModel): def _user_type_selection(self, cr, uid, context=None): """Selection values may be easily overridden/extended via inheritance""" - return [('embedded', 'Direct link or embed code'), ('emails','Emails'), ] + return [('embedded', _('Direct link or embed code')), ('emails',_('Emails')), ] """Override of create() to auto-compute the action name""" def create(self, cr, uid, values, context=None):