From d7eda4ba5337f233ecf75f88264b2ca4741cdb04 Mon Sep 17 00:00:00 2001 From: Zach Tibbitts Date: Fri, 16 Feb 2007 02:48:25 +0000 Subject: [PATCH] - --- src/deluge.py | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) 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" )