/* (c) 2007 by Michal Cihar */ /** \file locales.h * Gettext wrapper. * * @author Michal Cihar * @{ */ #ifndef __LOCALES_H #define __LOCALES_H #include #include #ifdef GETTEXTLIBS_FOUND #include #define _(x) gettext(x) #else #define _(x) (x) #define gettext(x) (x) #define ngettext(singular, plural, number) (number == 1 ? singular : plural) #endif #define N_(x) (x) #endif