i18n of my last patch

This commit is contained in:
Julien Pivotto 2011-03-23 14:15:09 +01:00
parent 39434dfe1e
commit 5cfa5bf221
1 changed files with 4 additions and 1 deletions

View File

@ -561,7 +561,10 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
img_mark = self.textbuf.create_mark(None, self.iter, True) img_mark = self.textbuf.create_mark(None, self.iter, True)
gajim.thread_interface(self._get_img, [attrs], \ gajim.thread_interface(self._get_img, [attrs], \
self._update_img, [attrs, img_mark]) self._update_img, [attrs, img_mark])
alt = 'Loading...' alt = attrs.get('alt', '')
if alt:
alt += '\n'
alt += _('Loading')
pixbuf = get_icon_pixmap('gajim-receipt_missing') pixbuf = get_icon_pixmap('gajim-receipt_missing')
if mem: if mem:
# Caveat: GdkPixbuf is known not to be safe to load # Caveat: GdkPixbuf is known not to be safe to load