mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
translation touchup
This commit is contained in:
parent
44880135d9
commit
99a6b4bcc7
2 changed files with 10 additions and 10 deletions
18
src/core.py
18
src/core.py
|
@ -84,14 +84,14 @@ PREF_FUNCTIONS = {
|
||||||
def N_(self):
|
def N_(self):
|
||||||
return self
|
return self
|
||||||
|
|
||||||
STATE_MESSAGES = (_("Queued"),
|
STATE_MESSAGES = (N_("Queued"),
|
||||||
_("Checking"),
|
N_("Checking"),
|
||||||
_("Connecting"),
|
N_("Connecting"),
|
||||||
_("Downloading Metadata"),
|
N_("Downloading Metadata"),
|
||||||
_("Downloading"),
|
N_("Downloading"),
|
||||||
_("Finished"),
|
N_("Finished"),
|
||||||
_("Seeding"),
|
N_("Seeding"),
|
||||||
_("Allocating"))
|
N_("Allocating"))
|
||||||
# Exceptions
|
# Exceptions
|
||||||
|
|
||||||
class DelugeError(Exception):
|
class DelugeError(Exception):
|
||||||
|
@ -125,7 +125,7 @@ class InsufficientFreeSpaceError(DelugeError):
|
||||||
self.free_space = free_space
|
self.free_space = free_space
|
||||||
self.needed_space = needed_space
|
self.needed_space = needed_space
|
||||||
def __str__(self):
|
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
|
# A cached data item
|
||||||
|
|
||||||
|
|
|
@ -219,7 +219,7 @@ class DelugeGTK:
|
||||||
|
|
||||||
def build_menu_radio_list(self, value_list, callback, pref_value=None,
|
def build_menu_radio_list(self, value_list, callback, pref_value=None,
|
||||||
suffix=None, show_notset=False,
|
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
|
# 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
|
# 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
|
# Setting show_unlimited will include an Unlimited radio item
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue