diff options
author | David <dbphillipsnz@gmail.com> | 2014-04-27 13:15:34 +1200 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-04-27 13:15:34 +1200 |
commit | 60b23749238831c3c6105cb082bb6bc921e3cc12 (patch) | |
tree | c181526c03b7b0d962ae920a705a038edb79af00 /trayfreq_set | |
parent | bf21ca822304cdb316c9388a131e3f64cb669a16 (diff) | |
download | paramano-60b23749238831c3c6105cb082bb6bc921e3cc12.tar.xz |
Moved lang files
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 +} |