diff options
author | David <dbphillipsnz@gmail.com> | 2014-04-10 15:02:03 +1200 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-04-10 15:02:03 +1200 |
commit | 46318378cd1cda05329e974e89c032c6c90bd3e1 (patch) | |
tree | cd5b53c2091051f37f1f99bcba5114ca8684e1fe /trayfreq.c | |
parent | e55f3d0ced6cd8a30caefc3e2f6eeacd080a1626 (diff) | |
download | paramano-46318378cd1cda05329e974e89c032c6c90bd3e1.tar.xz |
French translation of strings
Diffstat (limited to 'trayfreq.c')
-rw-r--r-- | trayfreq.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,6 +16,8 @@ * <http://www.gnu.org/licenses/>. * ************************************************************************/ +#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; } |