make networkhealth plugin translatable
This commit is contained in:
parent
6df2dba77d
commit
88b356f22b
|
@ -1,9 +1,7 @@
|
||||||
|
plugin_name = _("Network Health Monitor")
|
||||||
|
|
||||||
plugin_name = "Network Health Monitor"
|
|
||||||
plugin_author = "Alon Zakai, Zach Tibbitts"
|
plugin_author = "Alon Zakai, Zach Tibbitts"
|
||||||
plugin_version = "0.2"
|
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):
|
def deluge_init(deluge_path):
|
||||||
|
|
|
@ -18,7 +18,7 @@ class plugin_NetworkHealth:
|
||||||
self.counter = self.maxCount*2
|
self.counter = self.maxCount*2
|
||||||
self.maxCount = self.counter
|
self.maxCount = self.counter
|
||||||
else:
|
else:
|
||||||
message = "[Health: OK]"
|
message = _("[Health: OK]")
|
||||||
self.counter = self.maxCount
|
self.counter = self.maxCount
|
||||||
|
|
||||||
self.parent.statusbar_temp_msg = self.parent.statusbar_temp_msg + ' ' + message
|
self.parent.statusbar_temp_msg = self.parent.statusbar_temp_msg + ' ' + message
|
||||||
|
|
Loading…
Reference in New Issue