Example #1
0
 def message(self, mapping=None):
     if mapping is None:
         mapping={'object': _('object')}
     return _(u'${object} successfully added', mapping=mapping)
Example #2
0
 def message(self, mapping=None):
     if mapping is None:
         mapping =  dict(object= _('object'))
     return _(u'${object} successfully edited', mapping=mapping)