diff options
Diffstat (limited to 'trayfreq_set')
-rw-r--r-- | trayfreq_set/trayfreq_set.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/trayfreq_set/trayfreq_set.c b/trayfreq_set/trayfreq_set.c index ac22a8b..a9de8c1 100644 --- a/trayfreq_set/trayfreq_set.c +++ b/trayfreq_set/trayfreq_set.c @@ -20,6 +20,7 @@ #include <stdlib.h> #include <string.h> #include <libintl.h> +#include <locale.h> #include "../strings.h" #include "../freq_tray/getfreq.h" @@ -105,6 +106,10 @@ void set_freq(char* freq, char* core) int main(int argc, char *argv[]) { + setlocale(LC_ALL,""); + bindtextdomain("trayfreq","/usr/share/locale"); + textdomain("trayfreq"); + gc_init(); gf_init(); @@ -149,4 +154,4 @@ int main(int argc, char *argv[]) printf( _("Use -g to set the governor or -f to set the frequency\n") ); } return 0; -}
\ No newline at end of file +} |