This commit is contained in:
Zach Tibbitts 2007-02-16 02:25:53 +00:00
parent 53e7614419
commit 3b65630a04
2 changed files with 5 additions and 1 deletions

View File

@ -46,7 +46,7 @@ if not "org.deluge_torrent.Deluge" in dbus_objects:
print "no existing Deluge session"
import deluge, deluge.delugegtk
import gettext
gettext.install(gettext_name)
gettext.install('deluge')
print _('message')
interface = deluge.delugegtk.DelugeGTK()

View File

@ -40,7 +40,11 @@ import deluge_core
import os, shutil
import pickle
import time
import gettext
try: _
except NameError:
def _(s): return s
# Constants