mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-08 17:43:35 +00:00
-
This commit is contained in:
parent
3b65630a04
commit
d7eda4ba53
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user