[MERGE] translated messages for share
bzr revid: fp@tinyerp.com-20121112091753-5ux4iq4fmo1qvz13
This commit is contained in:
commit
8410845e7f
|
@ -35,8 +35,8 @@ class share_wizard_portal(osv.TransientModel):
|
||||||
|
|
||||||
def _user_type_selection(self, cr, uid, context=None):
|
def _user_type_selection(self, cr, uid, context=None):
|
||||||
selection = super(share_wizard_portal, self)._user_type_selection(cr, uid, context=context)
|
selection = super(share_wizard_portal, self)._user_type_selection(cr, uid, context=context)
|
||||||
selection.extend([('existing','Users you already shared with'),
|
selection.extend([('existing',_('Users you already shared with')),
|
||||||
('groups','Existing Groups (e.g Portal Groups)')])
|
('groups',_('Existing Groups (e.g Portal Groups)'))])
|
||||||
return selection
|
return selection
|
||||||
|
|
||||||
_columns = {
|
_columns = {
|
||||||
|
|
|
@ -74,7 +74,7 @@ class share_wizard(osv.TransientModel):
|
||||||
|
|
||||||
def _user_type_selection(self, cr, uid, context=None):
|
def _user_type_selection(self, cr, uid, context=None):
|
||||||
"""Selection values may be easily overridden/extended via inheritance"""
|
"""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"""
|
"""Override of create() to auto-compute the action name"""
|
||||||
def create(self, cr, uid, values, context=None):
|
def create(self, cr, uid, values, context=None):
|
||||||
|
|
Loading…
Reference in New Issue