mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Imported french install lang from "IfXen" and add it to build.
This commit is contained in:
@@ -30,12 +30,13 @@ struct knic knics[20] = { { "" , "" , "" , "" } }; // only defined for compile
|
||||
|
||||
extern char *en_tr[];
|
||||
extern char *de_tr[];
|
||||
extern char *fr_tr[];
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
char *langnames[] = { "Deutsch", "English", NULL };
|
||||
char *shortlangnames[] = { "de", "en", NULL };
|
||||
char **langtrs[] = { de_tr, en_tr, NULL };
|
||||
char *langnames[] = { "Deutsch", "English", "Francais", NULL };
|
||||
char *shortlangnames[] = { "de", "en", "fr" ,NULL };
|
||||
char **langtrs[] = { de_tr, en_tr, fr_tr,NULL };
|
||||
char hdletter;
|
||||
char harddrive[30], sourcedrive[5]; /* Device holder. */
|
||||
struct devparams hdparams, cdromparams; /* Params for CDROM and HD */
|
||||
|
||||
@@ -287,6 +287,7 @@ int replace(char filename1[], char *from, char *to)
|
||||
#else
|
||||
#include "lang_de.c"
|
||||
#include "lang_en.c"
|
||||
#include "lang_fr.c"
|
||||
#endif
|
||||
|
||||
// returns a pointer to the actual running version number of IPFire.
|
||||
|
||||
@@ -22,6 +22,8 @@ struct knic knics[20] = { { "" , "" , "" , "" } };
|
||||
|
||||
extern char *en_tr[];
|
||||
extern char *de_tr[];
|
||||
extern char *fr_tr[];
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
@@ -29,8 +31,8 @@ int main(int argc, char *argv[])
|
||||
char *shortlangnames[] = { "en", NULL };
|
||||
char **langtrs[] = { en_tr, NULL };
|
||||
#else
|
||||
char *shortlangnames[] = { "de", "en", NULL };
|
||||
char **langtrs[] = { de_tr, en_tr, NULL };
|
||||
char *shortlangnames[] = { "de", "en", "fr", NULL };
|
||||
char **langtrs[] = { de_tr, en_tr, fr_tr, NULL };
|
||||
#endif
|
||||
int choice;
|
||||
char *sections[11]; /* need to fill this out AFTER knowning lang */
|
||||
|
||||
Reference in New Issue
Block a user