This commit is contained in:
Zach Tibbitts 2007-02-16 02:48:25 +00:00
parent 3b65630a04
commit d7eda4ba53

View File

@ -42,10 +42,6 @@ import pickle
import time import time
import gettext import gettext
try: _
except NameError:
def _(s): return s
# Constants # Constants
TORRENTS_SUBDIR = "torrentfiles" TORRENTS_SUBDIR = "torrentfiles"
@ -78,14 +74,14 @@ PREF_FUNCTIONS = {
"max_download_rate" : deluge_core.set_download_rate_limit, "max_download_rate" : deluge_core.set_download_rate_limit,
"max_upload_rate" : deluge_core.set_upload_rate_limit "max_upload_rate" : deluge_core.set_upload_rate_limit
} }
STATE_MESSAGES = ( _("Queued"), STATE_MESSAGES = ( "Queued",
_("Checking"), "Checking",
_("Connecting"), "Connecting",
_("Downloading Metadata"), "Downloading Metadata",
_("Downloading"), "Downloading",
_("Finished"), "Finished",
_("Seeding"), "Seeding",
_("Allocating") "Allocating"
) )