mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 23:48:40 +00:00
i18n touchup for blocklist plugin
This commit is contained in:
parent
4ec3a75538
commit
b6c99ce1c2
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ class BlocklistImport:
|
||||||
ips = reader.next()
|
ips = reader.next()
|
||||||
curr += 1
|
curr += 1
|
||||||
if curr % 100 == 0:
|
if curr % 100 == 0:
|
||||||
self.gtkprog.import_prog(text="Imported %s IPs"%curr)
|
self.gtkprog.import_prog(text=(_("Imported") + " %s " + _("IPs"))%curr)
|
||||||
else:
|
else:
|
||||||
self.gtkprog.import_prog()
|
self.gtkprog.import_prog()
|
||||||
|
|
||||||
|
@ -152,5 +152,5 @@ class BlocklistImport:
|
||||||
self.core.reset_ip_filter()
|
self.core.reset_ip_filter()
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
msg = "[Blocklist: %s entries]" % self.nimported
|
msg = ("[" + _("Blocklist") + ": %s " + _("entries") + "]") % self.nimported
|
||||||
self.interface.statusbar_temp_msg += ' ' + msg
|
self.interface.statusbar_temp_msg += ' ' + msg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue