diff options
Diffstat (limited to 'trayfreq.c')
-rw-r--r-- | trayfreq.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -32,6 +32,7 @@ #include <stdlib.h> #include <stdio.h> #include <libintl.h> +#include <locale.h> static gboolean SHOW_BATTERY = TRUE; @@ -102,7 +103,9 @@ void config_init() int main(int argc, char** argv) { - //gboolean gtk_init_success = gtk_init_check(&argc, &argv); + setlocale(LC_ALL, ""); + bindtextdomain("trayfreq","/usr/share/locale"); + textdomain("trayfreq"); if(!gtk_init_check(&argc, &argv)) { @@ -126,4 +129,4 @@ int main(int argc, char** argv) gtk_main(); return 0; -}
\ No newline at end of file +} |