i18n for status bar. never finished with i18n, it seems :)

This commit is contained in:
Marcos Pinto 2007-07-21 22:37:07 +00:00
parent d9c2ab0a32
commit 95b03bdb48
1 changed files with 3 additions and 3 deletions

View File

@ -970,8 +970,8 @@ class DelugeGTK:
# 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)'%(
_('Connections'), connections, max_connections, _('Down Speed'),
dlspeed, dlspeed_max, _('Up Speed'), ulspeed, ulspeed_max)
_("Connections"), connections, max_connections, _("Down Speed"),
dlspeed, dlspeed_max, _("Up Speed"), ulspeed, ulspeed_max)
if 'DHT_nodes' in core_state:
dht_peers = core_state['DHT_nodes']
@ -980,7 +980,7 @@ class DelugeGTK:
else:
dht_peers = str(dht_peers)
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)' % (
_("Deluge Bittorrent Client"), _("Connections"), connections,