diff --git a/pyfpdb/Filters.py b/pyfpdb/Filters.py index b41406e3..32e3b2fb 100644 --- a/pyfpdb/Filters.py +++ b/pyfpdb/Filters.py @@ -77,7 +77,7 @@ class Filters(threading.Thread): self.mainVBox = gtk.VBox(False, 0) self.sw.add_with_viewport(self.mainVBox) 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.label = {} diff --git a/pyfpdb/XTables.py b/pyfpdb/XTables.py index 6ca77e67..579674a1 100644 --- a/pyfpdb/XTables.py +++ b/pyfpdb/XTables.py @@ -67,11 +67,11 @@ class Table(Table_Window): self.number = int( mo.groupdict()["XID"], 0 ) self.title = title 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 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 (self.window, self.parent) = self.get_window_from_xid(self.number) @@ -165,4 +165,3 @@ def treewalk(parent): for ww in treewalk(w): yield ww yield w -