Changeset 12782 for main/waeup.ikoba


Ignore:
Timestamp:
17 Mar 2015, 21:00:37 (10 years ago)
Author:
Henrik Bettermann
Message:

Do it the right way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/products/browser.py

    r12781 r12782  
    100100    label = _('Manage product section')
    101101
    102     taboneactions = [_('Save'),_('Cancel')]
    103     tabtwoactions = [_('Add product'), _('Remove selected'),_('Cancel')]
     102    taboneactions = [_('Save'), _('Cancel')]
     103    tabtwoactions = [_('Add product'), _('Remove selected'), _('Cancel')]
    104104
    105105    @action(_('Add product'), style='primary', validator=NullValidator)
     
    205205    pnav = 1
    206206
    207     taboneactions = [_('Save'),_('Cancel')]
     207    taboneactions = [_('Save'), _('Cancel')]
    208208    tabtwoactions1 = [_('Remove selected local roles')]
    209209    tabtwoactions2 = [_('Add local role')]
     
    216216
    217217    def label(self):
    218         return _('Manage product') + ' ' + self.context.product_id
     218        return _("Manage product ${a}", mapping = {'a':self.context.product_id})
    219219
    220220    @action(_('Save'), style='primary')
Note: See TracChangeset for help on using the changeset viewer.