Changeset 13476 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 18 Nov 2015, 10:18:17 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser.py
r13445 r13476 314 314 message = ', '.join(switched) 315 315 m_translated = ', '.join(switched_translated) 316 self.flash(_('Successfully switched beds: ${a}', 317 mapping = {'a':m_translated})) 316 if len(switched) > 50: 317 self.flash(_('Successfully switched ${a} beds.', 318 mapping = {'a':len(switched)})) 319 else: 320 self.flash(_('Successfully switched beds: ${a}', 321 mapping = {'a':m_translated})) 318 322 self.context.writeLogMessage(self, 'switched: %s' % message) 319 323 self.redirect(self.url(self.context, '@@manage')+'#tab2')
Note: See TracChangeset for help on using the changeset viewer.