From 46318378cd1cda05329e974e89c032c6c90bd3e1 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 10 Apr 2014 15:02:03 +1200 Subject: French translation of strings --- trayfreq.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'trayfreq.c') diff --git a/trayfreq.c b/trayfreq.c index ec82705..f7b09a9 100644 --- a/trayfreq.c +++ b/trayfreq.c @@ -16,6 +16,8 @@ * . * ************************************************************************/ +#include "strings.h" + #include "widget_manager.h" #include "tray.h" #include "bat_tray/bat_tray.h" @@ -39,8 +41,6 @@ void config_init() gboolean home_config_exists; config.key_file = NULL; - printf("Battery governor: %s",_DEFAULT_BAT_GOV); - config.file_name = g_strconcat(getenv("HOME"), "/.trayfreq.config", NULL); // Check if ~/.trayfreq.config exists @@ -62,7 +62,7 @@ void config_init() if(!success) { - g_warning("Failed to open config files!\n"); + g_warning(S_TRAYFREQ_C_CONFIG_FILE_ERROR); return; } @@ -105,7 +105,7 @@ int main(int argc, char** argv) if(!gtk_init_check(&argc, &argv)) { - g_error("Cannot initialize gtk: gtk_init_check returned FALSE.\nBailing."); + g_error(S_TRAYFREQ_C_GTK_ERROR); return 1; } -- cgit v1.1