blob: bfacfe239a04a9ace87b13f5887c4e46fbc915be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "pot.h"
#include <locale.h>
/*************************************************************************
* if you want to turn off gettext without changing sources edit pot.h
*************************************************************************/
void gettexton(void)
{
#ifdef __GETTEXT__
setlocale(LC_ALL, "");
bindtextdomain("quota", "/usr/share/locale");
textdomain("quota");
#endif
}
|