Mayur Maheshwari(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-opw-580183-port-mma into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-580183-port-mma/+merge/133436

Hello,

    I have Fixed the issue translation in share module, "Share your Document" 
wizard, "Share Method" field.
    Code is forward port from 6.1

Thanks,
Mayur
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-580183-port-mma/+merge/133436
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-opw-580183-port-mma.
=== modified file 'portal/wizard/share_wizard.py'
--- portal/wizard/share_wizard.py	2012-10-25 13:09:30 +0000
+++ portal/wizard/share_wizard.py	2012-11-08 10:12:09 +0000
@@ -35,8 +35,8 @@
 
     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 = {

=== modified file 'share/wizard/share_wizard.py'
--- share/wizard/share_wizard.py	2012-10-25 13:09:30 +0000
+++ share/wizard/share_wizard.py	2012-11-08 10:12:09 +0000
@@ -74,7 +74,7 @@
 
     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):

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to