From fa14c5dd9a80d98296fb0230be3c99daae3e0131 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 25 Apr 2014 19:01:34 +1200 Subject: Making preparations for gettext --- trayfreq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'trayfreq.c') diff --git a/trayfreq.c b/trayfreq.c index f7b09a9..5d28add 100644 --- a/trayfreq.c +++ b/trayfreq.c @@ -31,6 +31,7 @@ #include #include #include +#include static gboolean SHOW_BATTERY = TRUE; @@ -62,7 +63,7 @@ void config_init() if(!success) { - g_warning(S_TRAYFREQ_C_CONFIG_FILE_ERROR); + g_warning(_("Failed to open config files!\n")); return; } @@ -105,7 +106,7 @@ int main(int argc, char** argv) if(!gtk_init_check(&argc, &argv)) { - g_error(S_TRAYFREQ_C_GTK_ERROR); + g_error(_("GTK Error: gtk_init_check returned FALSE.\nBailing.") ); return 1; } -- cgit v1.1