summaryrefslogtreecommitdiff
path: root/navit/navit_nls.h
blob: e0fe2efe47df2d2bdc33372217726e684a5e7681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __NAVIT_NLS_H__

char *navit_nls_add_textdomain(const char *package, const char *dir);
void navit_nls_remove_textdomain(const char *package);
const char *navit_nls_gettext(const char *msgid);
const char *navit_nls_ngettext(const char *msgid, const char *msgid_plural, unsigned long int n);
void navit_nls_main_init(void);

#define _(STRING)    navit_nls_gettext(STRING)
#define gettext_noop(String) String
#define _n(STRING)    gettext_noop(STRING)

#define __NAVIT_NLS_H__
#endif