blob: 6d9108db1df58d588965f63700442060c03a9e8a (
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(PACKAGE, PACKAGE_LOCALE_DIR);
textdomain(PACKAGE);
#endif
}
|