$OpenBSD: patch-invest-applet_invest_invest-applet_py,v 1.3 2010/09/30 07:33:16 ajacoutot Exp $
--- invest-applet/invest/invest-applet.py.orig	Sun Sep 26 22:21:46 2010
+++ invest-applet/invest/invest-applet.py	Wed Sep 29 14:18:02 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, invest.help
 
-# 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)
 
