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