diff -r b850b54f668a -r 6c603d0fb2c7 web/component.py --- a/web/component.py Fri May 06 11:41:42 2011 +0200 +++ b/web/component.py Fri May 06 11:44:40 2011 +0200 @@ -139,19 +139,23 @@ @property def no_previous_page_link(self): - return u'' % self.prev_icon_url + return (u'%s' % + (self.prev_icon_url, self._cw._('there is no previous page'))) @property def no_next_page_link(self): - return u'' % self.next_icon_url + return (u'%s' % + (self.next_icon_url, self._cw._('there is no next page'))) @property def no_content_prev_link(self): - return '' % self.prev_icon_url + return (u'%s' % ( + (self.prev_icon_url, self._cw._('no content prev link')))) @property def no_content_next_link(self): - return '' % self.next_icon_url + return (u'%s' % + (self.next_icon_url, self._cw._('no content next link'))) def previous_link(self, path, params, content=None, title=_('previous_results')): if not content: