diff --git a/src/core.py b/src/core.py index 61f70ca6e..8f7e2b4bd 100644 --- a/src/core.py +++ b/src/core.py @@ -55,7 +55,7 @@ import re import shutil import statvfs import time - +import gettext from common import N_, PRIORITY_NORMAL import deluge_core import pref @@ -82,14 +82,14 @@ PREF_FUNCTIONS = { "use_utpex" : deluge_core.use_utpex, } -STATE_MESSAGES = (N_("Queued"), - N_("Checking"), - N_("Connecting"), - N_("Downloading Metadata"), - N_("Downloading"), - N_("Finished"), - N_("Seeding"), - N_("Allocating")) +STATE_MESSAGES = (_("Queued"), + _("Checking"), + _("Connecting"), + _("Downloading Metadata"), + _("Downloading"), + _("Finished"), + _("Seeding"), + _("Allocating")) # Exceptions class DelugeError(Exception):