]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
remove NLS code from snack (#599608)
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 8 Jun 2010 15:39:49 +0000 (17:39 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 8 Jun 2010 15:39:49 +0000 (17:39 +0200)
snackmodule.c

index d5dcff98ed4aee0c97c1a5624117e06ea90f37bf..55d1a0aa480ff612e16dcc86c45d457702fa2739 100644 (file)
@@ -1307,12 +1307,6 @@ static PyObject * pywstrlen(PyObject * s, PyObject * args)
 void init_snack(void) {
     PyObject * d, * m;
 
-#ifdef ENABLE_NLS
-    setlocale (LC_ALL, "");
-    bindtextdomain (PACKAGE, LOCALEDIR);
-    textdomain (PACKAGE);
-#endif
-
     m = Py_InitModule("_snack", snackModuleMethods);
     d = PyModule_GetDict(m);