Fix:maptool:Another name for faroe islands
[navit-package] / navit / navit_nls.h
1 #ifndef __NAVIT_NLS_H__
2 #include "config.h"
3
4 #ifdef ENABLE_NLS
5 #include <libintl.h>
6 #define _(STRING)    gettext(STRING)
7 #define gettext_noop(String) String
8 #define _n(STRING)    gettext_noop(STRING)
9 #else
10 #define _(STRING) STRING
11 #define _n(STRING) STRING
12 #define gettext(STRING) STRING
13 static inline const char *ngettext(const char *msgid, const char *msgid_plural, unsigned long int n)
14 {
15         if (n == 1) {
16                 return msgid;
17         } else {
18                 return msgid_plural;
19         }
20 }
21 #endif
22 #define __NAVIT_NLS_H__
23 #endif