$OpenBSD: patch-invest-applet_invest_invest-applet_py,v 1.2 2010/04/24 17:50:50 ajacoutot Exp $
--- invest-applet/invest/invest-applet.py.orig	Sun Mar 28 07:29:51 2010
+++ invest-applet/invest/invest-applet.py	Sat Apr 24 19:34:31 2010
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!${MODPY_BIN}
 #
 
 import gobject
@@ -21,15 +21,6 @@ else:
 # Now the path is set, import our applet
 import invest, invest.applet, invest.defs
 
-# Prepare i18n
-import gettext, locale
-gettext.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR)
-gettext.textdomain(invest.defs.GETTEXT_PACKAGE)
-locale.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR)
-locale.textdomain(invest.defs.GETTEXT_PACKAGE)
-
-from gettext import gettext as _
-
 def applet_factory(applet, iid):
 	invest.debug('Starting invest instance: %s %s'% ( applet, iid ))
 	invest.applet.InvestApplet(applet)
@@ -38,7 +29,7 @@ def applet_factory(applet, iid):
 # Return a standalone window that holds the applet
 def build_window():
 	app = gtk.Window(gtk.WINDOW_TOPLEVEL)
-	app.set_title(_("Invest Applet"))
+	app.set_title("Invest Applet")
 	app.connect("destroy", gtk.main_quit)
 	app.set_property('resizable', False)
 
