blob: 5c00460722c9cdb4aca1d5b8c6b2feab4fcc8cb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef _LANG_H_
#define _LANG_H_
#include "loader.h"
#define _(x) translateString (x)
#define N_(foo) (foo)
struct langInfo {
char * lang, * key, * font, * map, * lc_all, * keyboard, * instlang;
} ;
int chooseLanguage(char ** lang, int flags);
char * translateString(char * str);
int setLanguage (char * key, int flags);
int getLangInfo(struct langInfo **langs, int flags);
void setKickstartLanguage(struct loaderData_s * loaderData, int argc,
char ** argv, int * flagsPtr);
#endif /* _LANG_H_ */
|