i18n for status bar. never finished with i18n, it seems :)
This commit is contained in:
parent
d9c2ab0a32
commit
95b03bdb48
|
@ -970,8 +970,8 @@ class DelugeGTK:
|
||||||
|
|
||||||
# Use self.statusbar_temp_msg instance var to allow plugins access it
|
# Use self.statusbar_temp_msg instance var to allow plugins access it
|
||||||
self.statusbar_temp_msg = '%s: %s (%s) %s: %s (%s) %s: %s (%s)'%(
|
self.statusbar_temp_msg = '%s: %s (%s) %s: %s (%s) %s: %s (%s)'%(
|
||||||
_('Connections'), connections, max_connections, _('Down Speed'),
|
_("Connections"), connections, max_connections, _("Down Speed"),
|
||||||
dlspeed, dlspeed_max, _('Up Speed'), ulspeed, ulspeed_max)
|
dlspeed, dlspeed_max, _("Up Speed"), ulspeed, ulspeed_max)
|
||||||
|
|
||||||
if 'DHT_nodes' in core_state:
|
if 'DHT_nodes' in core_state:
|
||||||
dht_peers = core_state['DHT_nodes']
|
dht_peers = core_state['DHT_nodes']
|
||||||
|
@ -980,7 +980,7 @@ class DelugeGTK:
|
||||||
else:
|
else:
|
||||||
dht_peers = str(dht_peers)
|
dht_peers = str(dht_peers)
|
||||||
self.statusbar_temp_msg = self.statusbar_temp_msg + \
|
self.statusbar_temp_msg = self.statusbar_temp_msg + \
|
||||||
' [DHT: %s]'%(dht_peers)
|
' [' + _("DHT") + ': %s]'%(dht_peers)
|
||||||
|
|
||||||
msg = '%s\n%s: %s (%s)\n%s: %s (%s)\n%s: %s (%s)' % (
|
msg = '%s\n%s: %s (%s)\n%s: %s (%s)\n%s: %s (%s)' % (
|
||||||
_("Deluge Bittorrent Client"), _("Connections"), connections,
|
_("Deluge Bittorrent Client"), _("Connections"), connections,
|
||||||
|
|
Loading…
Reference in New Issue