diff --git a/src/support.c b/src/support.c
index d292e846234a746e16ce90df31034b903dcba969..8cb4ecafd84a413b08c1a449e0e1809e7cedf649 100644 (file)
--- a/src/support.c
+++ b/src/support.c
#include <glib.h>
#include "config.h"
+#include "ncmpc.h"
#include "support.h"
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
-#ifdef DEBUG
-#define D(x) x
-#else
-#define D(x)
-#endif
-
#define BUFSIZE 1024
extern void screen_status_printf(char *format, ...);
&error);
if( error )
{
- screen_status_printf("Error: Unable to convert characters to %s",
+ screen_status_printf(_("Error: Unable to convert characters to %s"),
charset);
D(g_printerr("utf8_to_locale(): %s\n", error->message));
g_error_free(error);
&error);
if( error )
{
- screen_status_printf("Error: Unable to convert characters to UTF-8");
+ screen_status_printf(_("Error: Unable to convert characters to UTF-8"));
D(g_printerr("locale_to_utf8: %s\n", error->message));
g_error_free(error);
return g_strdup(localestr);