diff -r 3453c5f0db21 -r ac8052334e0d web/views/baseviews.py --- a/web/views/baseviews.py Tue Oct 11 18:16:06 2011 +0200 +++ b/web/views/baseviews.py Wed Oct 12 19:06:15 2011 +0200 @@ -132,21 +132,6 @@ though usually dedicated for cells containing an attribute's value. """ __regid__ = 'final' - # record generated i18n catalog messages - _('%d years') - _('%d months') - _('%d weeks') - _('%d days') - _('%d hours') - _('%d minutes') - _('%d seconds') - _('%d years') - _('%d months') - _('%d weeks') - _('%d days') - _('%d hours') - _('%d minutes') - _('%d seconds') def cell_call(self, row, col, props=None, format='text/html'): value = self.cw_rset.rows[row][col] @@ -163,8 +148,9 @@ return value = self._cw.printable_value(etype, value, props) if etype in ('Time', 'Interval'): - value = value.replace(' ', ' ') - self.wdata(value) + self.w(value.replace(' ', ' ')) + else: + self.wdata(value) class InContextView(EntityView):