Imported french install lang from "IfXen" and add it to build.

This commit is contained in:
Arne Fitzenreiter
2009-11-29 20:46:54 +01:00
parent bb2795c789
commit 462515e4c1
9 changed files with 2684 additions and 10 deletions

View File

@@ -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 */

View File

@@ -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.

View File

@@ -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 */