make networkhealth plugin translatable

This commit is contained in:
Marcos Pinto 2007-07-20 21:14:11 +00:00
parent 6df2dba77d
commit 88b356f22b
2 changed files with 3 additions and 5 deletions

View File

@ -1,9 +1,7 @@
plugin_name = "Network Health Monitor"
plugin_name = _("Network Health Monitor")
plugin_author = "Alon Zakai, Zach Tibbitts"
plugin_version = "0.2"
plugin_description = "Network Health Monitor plugin\n\nWritten by Kripkenstein"
plugin_description = _("Network Health Monitor plugin\n\nWritten by Kripkenstein")
def deluge_init(deluge_path):

View File

@ -18,7 +18,7 @@ class plugin_NetworkHealth:
self.counter = self.maxCount*2
self.maxCount = self.counter
else:
message = "[Health: OK]"
message = _("[Health: OK]")
self.counter = self.maxCount
self.parent.statusbar_temp_msg = self.parent.statusbar_temp_msg + ' ' + message