Fix Label Plugin text 'All' for translation in sidebar

This commit is contained in:
Calum Lind 2012-03-11 17:37:08 +00:00
parent aeca5dd1e7
commit 3c7f492451

View File

@ -237,7 +237,7 @@ class FilterTreeView(component.Component):
label = _t("none") label = _t("none")
elif cat == "label": elif cat == "label":
label = _t("no_label") label = _t("no_label")
elif cat == "state" or cat == "tracker_host": elif cat in ["state", "tracker_host", "label"]:
label = _t(value) label = _t(value)
row = self.treestore.append(self.cat_nodes[cat],[cat, value, label, count , pix, True]) row = self.treestore.append(self.cat_nodes[cat],[cat, value, label, count , pix, True])