navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
navit_nls.h
Go to the documentation of this file.
1 #ifndef __NAVIT_NLS_H__
2 
3 char *navit_nls_add_textdomain(const char *package, const char *dir);
4 void navit_nls_remove_textdomain(const char *package);
5 const char *navit_nls_gettext(const char *msgid);
6 const char *navit_nls_ngettext(const char *msgid, const char *msgid_plural, unsigned long int n);
7 void navit_nls_main_init(void);
8 
9 #define _(STRING) navit_nls_gettext(STRING)
10 #define gettext_noop(String) String
11 #define _n(STRING) gettext_noop(STRING)
12 
13 #define __NAVIT_NLS_H__
14 #endif