fix progress text translations
This commit is contained in:
parent
edb46be1b7
commit
4d6ccb75d0
18
src/core.py
18
src/core.py
|
@ -55,7 +55,7 @@ import re
|
||||||
import shutil
|
import shutil
|
||||||
import statvfs
|
import statvfs
|
||||||
import time
|
import time
|
||||||
|
import gettext
|
||||||
from common import N_, PRIORITY_NORMAL
|
from common import N_, PRIORITY_NORMAL
|
||||||
import deluge_core
|
import deluge_core
|
||||||
import pref
|
import pref
|
||||||
|
@ -82,14 +82,14 @@ PREF_FUNCTIONS = {
|
||||||
"use_utpex" : deluge_core.use_utpex,
|
"use_utpex" : deluge_core.use_utpex,
|
||||||
}
|
}
|
||||||
|
|
||||||
STATE_MESSAGES = (N_("Queued"),
|
STATE_MESSAGES = (_("Queued"),
|
||||||
N_("Checking"),
|
_("Checking"),
|
||||||
N_("Connecting"),
|
_("Connecting"),
|
||||||
N_("Downloading Metadata"),
|
_("Downloading Metadata"),
|
||||||
N_("Downloading"),
|
_("Downloading"),
|
||||||
N_("Finished"),
|
_("Finished"),
|
||||||
N_("Seeding"),
|
_("Seeding"),
|
||||||
N_("Allocating"))
|
_("Allocating"))
|
||||||
# Exceptions
|
# Exceptions
|
||||||
|
|
||||||
class DelugeError(Exception):
|
class DelugeError(Exception):
|
||||||
|
|
Loading…
Reference in New Issue