diff options
author | jkar8572 <jkar8572> | 2001-03-23 12:03:26 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2001-03-23 12:03:26 +0000 |
commit | 869fe242340fefe0540fdcf51698ba4c3c8c07bb (patch) | |
tree | 950fa3f5997c1e8ee68c0f17d4eaf17abef64f34 /pot.c | |
download | linuxquota-869fe242340fefe0540fdcf51698ba4c3c8c07bb.tar.gz |
Initial revision
Diffstat (limited to 'pot.c')
-rw-r--r-- | pot.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,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 +} |