- Timestamp:
- 29 Jan 2014, 18:42:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/pages.py
r11001 r11005 1179 1179 label = _(u'Process CSV file') 1180 1180 pnav = 0 1181 cancel_button =_(u' Cancel')1181 cancel_button =_(u'Back to Data Center') 1182 1182 1183 1183 def getFiles(self): … … 1191 1191 def update(self, filename=None, select=None, cancel=None): 1192 1192 if cancel is not None: 1193 self.flash(_('Import aborted.'))1194 1193 self.redirect(self.url(self.context)) 1195 1194 return … … 1504 1503 pnav = 0 1505 1504 search_button = _('Search') 1506 back_button = _('Back ')1505 back_button = _('Back to Data Center') 1507 1506 placeholder = _('Enter a regular expression here...') 1508 1507 … … 1543 1542 save_button =_(u'Save') 1544 1543 reset_button =_(u'Reset') 1545 cancel_button =_(u' Cancel')1544 cancel_button =_(u'Back to Data Center') 1546 1545 1547 1546 def update(self, newpath=None, move=False, overwrite=False, … … 1562 1561 mapping = {'a':name})) 1563 1562 except: 1564 self.flash(_('Given storage path cannot be used. '))1565 self.flash(_('Error: ${a}', mapping = {'a':sys.exc_info()[1]}))1563 self.flash(_('Given storage path cannot be used. ${a}', 1564 mapping = {'a':sys.exc_info()[1]}), type='danger') 1566 1565 return 1567 1566 if newpath:
Note: See TracChangeset for help on using the changeset viewer.