You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.5 KiB

Index: src/shar.c
--- src/shar.c.orig 2015-01-07 03:11:42.000000000 +0100
+++ src/shar.c 2015-02-08 08:59:26.355641533 +0100
@@ -2328,8 +2328,10 @@
setlocale (LC_ALL, "");
/* Set the text message domain. */
+#ifdef ENABLE_NLS
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+#endif
scribble_init ();
opt_idx = optionProcess (&sharOptions, *argcp, *argvp);
Index: src/unshar.c
--- src/unshar.c.orig 2015-01-07 03:14:10.000000000 +0100
+++ src/unshar.c 2015-02-08 08:59:36.145448408 +0100
@@ -439,8 +439,10 @@
init_unshar (void)
{
setlocale (LC_ALL, "");
+#ifdef ENABLE_NLS
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+#endif
#ifdef __MSDOS__
setbuf (stdout, NULL);
setbuf (stderr, NULL);
Index: src/uudecode.c
--- src/uudecode.c.orig 2015-01-07 02:42:05.000000000 +0100
+++ src/uudecode.c 2015-02-08 09:00:15.276374266 +0100
@@ -500,8 +500,10 @@
setlocale (LC_ALL, "");
/* Set the text message domain. */
+#ifdef ENABLE_NLS
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+#endif
{
int ct = optionProcess (&uudecodeOptions, argc, (char **)(void *)argv);
Index: src/uuencode.c
--- src/uuencode.c.orig 2014-02-02 20:28:38.000000000 +0100
+++ src/uuencode.c 2015-02-08 08:59:57.585418781 +0100
@@ -201,8 +201,10 @@
setlocale (LC_ALL, "");
/* Set the text message domain. */
+#ifdef ENABLE_NLS
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+#endif
input_name = _("standard input");