translation touchup

This commit is contained in:
Marcos Pinto 2007-07-15 02:18:30 +00:00
parent 44880135d9
commit 99a6b4bcc7
2 changed files with 10 additions and 10 deletions

View File

@ -84,14 +84,14 @@ PREF_FUNCTIONS = {
def N_(self):
return self
STATE_MESSAGES = (_("Queued"),
_("Checking"),
_("Connecting"),
_("Downloading Metadata"),
_("Downloading"),
_("Finished"),
_("Seeding"),
_("Allocating"))
STATE_MESSAGES = (N_("Queued"),
N_("Checking"),
N_("Connecting"),
N_("Downloading Metadata"),
N_("Downloading"),
N_("Finished"),
N_("Seeding"),
N_("Allocating"))
# Exceptions
class DelugeError(Exception):
@ -125,7 +125,7 @@ class InsufficientFreeSpaceError(DelugeError):
self.free_space = free_space
self.needed_space = needed_space
def __str__(self):
return _("%d %d bytes needed")%(self.free_space, self.needed_space)
return "%d %d "%self.free_space, self.needed_space + _("bytes needed")
# A cached data item

View File

@ -219,7 +219,7 @@ class DelugeGTK:
def build_menu_radio_list(self, value_list, callback, pref_value=None,
suffix=None, show_notset=False,
notset_label=_("Unlimited"), notset_lessthan=0):
notset_label="Unlimited", notset_lessthan=0):
# Build a menu with radio menu items from a list and connect them to the callback
# The pref_value is what you would like to test for the default active radio item
# Setting show_unlimited will include an Unlimited radio item