summaryrefslogtreecommitdiffstats
path: root/loader2/lang.h
blob: 79aff8c903cee2dec7543613553fc85da69bca73 (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, * lc_all, * keyboard;
} ;


int chooseLanguage(char ** lang);
char * translateString(char * str);
int setLanguage (char * key);
int getLangInfo(struct langInfo **langs);

void setKickstartLanguage(struct loaderData_s * loaderData, int argc, 
                          char ** argv);

#endif /* _LANG_H_ */