Initial commit to Gerrit
[profile/ivi/quota.git] / pot.c
1 #include "config.h"
2 #include "pot.h"
3 #include <locale.h>
4
5 /*************************************************************************
6  * if you want to turn off gettext without changing sources edit pot.h 
7  *************************************************************************/
8
9 void gettexton(void)
10 {
11 #ifdef USE_GETTEXT
12         setlocale(LC_ALL, "");
13         bindtextdomain("quota", "/usr/share/locale");
14         textdomain("quota");
15 #endif
16 }