diff options
author | Adam <Adam@anope.org> | 2010-09-26 02:33:01 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-09-26 02:33:01 -0400 |
commit | d646d455e2655be59f6d5bcc56710ac70548ca37 (patch) | |
tree | d236b9d4991d62538a0318f213416396734e72e0 /include/module.h | |
parent | 05e6815d912f0418f6da25a2106dd718796f02fa (diff) |
Changed the language system to use gettext
Diffstat (limited to 'include/module.h')
-rw-r--r-- | include/module.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/module.h b/include/module.h index 468d2307f..7b4db02a2 100644 --- a/include/module.h +++ b/include/module.h @@ -3,7 +3,13 @@ #include "services.h" #include "commands.h" -#include "language.h" #include "modules.h" +#if HAVE_GETTEXT +# include <libintl.h> +# define _(x) gettext(x) +#else +# define _(x) x +#endif + #endif // MODULE_H |