wrong character in the GSM 03.38 table (ç for Ç)
[gammu.git] / helper / locales.h
blobb483625429981bd841e47a493019e14815ef7012
1 /* (c) 2007 by Michal Cihar */
3 /** \file locales.h
4 * Gettext wrapper.
6 * @author Michal Cihar
7 * @{
8 */
10 #ifndef __LOCALES_H
11 #define __LOCALES_H
13 #include <gammu-config.h>
15 #include <locale.h>
17 #ifdef LIBINTL_LIB_FOUND
18 #include <libintl.h>
19 #define _(x) gettext(x)
20 #else
21 #define _(x) (x)
22 #define gettext(x) (x)
23 #define ngettext(singular, plural, number) (number == 1 ? singular : plural)
24 #endif
26 #define N_(x) x
28 #endif