translation touchup
This commit is contained in:
parent
44880135d9
commit
99a6b4bcc7
18
src/core.py
18
src/core.py
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue