a couple of l10n things

This commit is contained in:
Steffen Schaumburg 2011-02-23 16:48:05 +01:00
parent 104bc26da4
commit c3b8e5affb
2 changed files with 3 additions and 4 deletions

View File

@ -77,7 +77,7 @@ class Filters(threading.Thread):
self.mainVBox = gtk.VBox(False, 0) self.mainVBox = gtk.VBox(False, 0)
self.sw.add_with_viewport(self.mainVBox) self.sw.add_with_viewport(self.mainVBox)
self.sw.show() self.sw.show()
print "DEBUG: New packing box created!" print _("DEBUG: New packing box created!")
self.found = {'nl':False, 'fl':False, 'pl':False, 'ring':False, 'tour':False} self.found = {'nl':False, 'fl':False, 'pl':False, 'ring':False, 'tour':False}
self.label = {} self.label = {}

View File

@ -67,11 +67,11 @@ class Table(Table_Window):
self.number = int( mo.groupdict()["XID"], 0 ) self.number = int( mo.groupdict()["XID"], 0 )
self.title = title self.title = title
if self.number is None: if self.number is None:
log.error("Could not retrieve XID from table xwininfo. xwininfo is %s" % listing) log.error(_("Could not retrieve XID from table xwininfo. xwininfo is %s") % listing)
break break
if self.number is None: if self.number is None:
log.error("No match in XTables for table '%s'." % self.search_string) log.error(_("No match in XTables for table '%s'.") % self.search_string)
return None return None
(self.window, self.parent) = self.get_window_from_xid(self.number) (self.window, self.parent) = self.get_window_from_xid(self.number)
@ -165,4 +165,3 @@ def treewalk(parent):
for ww in treewalk(w): for ww in treewalk(w):
yield ww yield ww
yield w yield w