summaryrefslogtreecommitdiff
path: root/pot.c
blob: e5a1e1d030315ed3ffb0c7c7d4e1ea7bf8d31cfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "config.h"
#include "pot.h"
#include <locale.h>

/*************************************************************************
 * if you want to turn off gettext without changing sources edit pot.h 
 *************************************************************************/

void gettexton(void)
{
#ifdef USE_GETTEXT
	setlocale(LC_ALL, "");
	bindtextdomain("quota", "/usr/share/locale");
	textdomain("quota");
#endif
}