View | Details | Raw Unified
Collapse All | Expand All

(-) newt-0.52.7.orig/nls.h (-2 / +4 lines)
 Lines 6-13    Link Here 
# include <locale.h>
# include <locale.h>
# include <libintl.h>
//# include <libintl.h>
# define _(Text) gettext (Text)
# define _(Text) (Text)
# define dgettext(Package, String) (String)
# ifdef gettext_noop
# ifdef gettext_noop
#  define N_(String) gettext_noop (String)
#  define N_(String) gettext_noop (String)
# else
# else
(-) newt-0.52.7.orig/whiptail.c (-2 / +2 lines)
 Lines 389-399    Link Here 
	    { "version", 'v', 0, &version, 0, NULL, NULL },
	    { "version", 'v', 0, &version, 0, NULL, NULL },
	    { 0, 0, 0, 0, 0 } 
	    { 0, 0, 0, 0, 0 } 
    };
    };
   
/*
    setlocale (LC_ALL, "");
    setlocale (LC_ALL, "");
    bindtextdomain (PACKAGE, LOCALEDIR);
    bindtextdomain (PACKAGE, LOCALEDIR);
    textdomain (PACKAGE);
    textdomain (PACKAGE);
*/
    optCon = poptGetContext("whiptail", argc, argv, optionsTable, 0);
    optCon = poptGetContext("whiptail", argc, argv, optionsTable, 0);
    while ((arg = poptGetNextOpt(optCon)) > 0) {
    while ((arg = poptGetNextOpt(optCon)) > 0) {