openbsd-ports/x11/awn/patches/patch-awn-settings_awnDefs_py_in

11 lines
478 B
Plaintext

$OpenBSD: patch-awn-settings_awnDefs_py_in,v 1.1 2011/09/22 13:20:37 landry Exp $
--- awn-settings/awnDefs.py.in.orig Thu Mar 25 00:13:56 2010
+++ awn-settings/awnDefs.py.in Wed Sep 21 11:47:17 2011
@@ -127,4 +127,6 @@ def i18nize(symbol_table):
locale.setlocale(locale.LC_ALL, '')
gettext.bindtextdomain(I18N_DOMAIN, LOCALEDIR)
gettext.textdomain(I18N_DOMAIN)
+ gettext.bind_textdomain_codeset(I18N_DOMAIN, "UTF-8")
+
symbol_table['_'] = gettext.gettext