blob: 405f955f82ec95e16c28734e89fd0a92eda154ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef _LANG_H_
#define _LANG_H_
#define _(x) translateString (x)
#define N_(foo) (foo)
struct langInfo {
char * lang, * key, * font, * map, * lc_all, * keyboard;
} ;
int chooseLanguage(char ** lang, int flags);
char * translateString(char * str);
void setLanguage (char * key, int flags);
int getLangInfo(struct langInfo **langs, int flags);
#endif /* _LANG_H_ */
|