make networkgraph plugin translatable
This commit is contained in:
parent
396e3501ff
commit
6df2dba77d
|
@ -1,8 +1,7 @@
|
|||
|
||||
plugin_name = "Network Activity Graph"
|
||||
plugin_name = _("Network Activity Graph")
|
||||
plugin_author = "Alon Zakai, Zach Tibbitts"
|
||||
plugin_version = "0.2"
|
||||
plugin_description = "Network Activity Graph plugin\n\nWritten by Kripkenstein"
|
||||
plugin_description = _("Network Activity Graph plugin\n\nWritten by Kripkenstein")
|
||||
|
||||
|
||||
def deluge_init(deluge_path):
|
||||
|
|
|
@ -20,7 +20,7 @@ class plugin_NetGraph:
|
|||
|
||||
self.parentNotebook = self.parent.notebook
|
||||
# print "Parent NOTEBOOK:", self.parentNotebook
|
||||
self.parentNotebook.append_page(self.topWidget, gtk.Label("Graph"))
|
||||
self.parentNotebook.append_page(self.topWidget, gtk.Label(_("Graph")))
|
||||
# print "My INDEX in parentNoteBook:", self.index
|
||||
|
||||
self.image.show()
|
||||
|
@ -156,5 +156,3 @@ class plugin_NetGraph:
|
|||
self.ctx.fill()
|
||||
else:
|
||||
self.ctx.stroke()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue