langs: add russian to buildsystem.

This commit is contained in:
Arne Fitzenreiter
2011-07-30 12:29:19 +02:00
parent f42da6def9
commit 2bb7b134c3
10 changed files with 522 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
/* SmoothWall install program.
*
* This program is distributed under the terms of the GNU General Public
@@ -34,15 +35,16 @@ extern char *es_tr[];
extern char *de_tr[];
extern char *fr_tr[];
extern char *pl_tr[];
extern char *ru_tr[];
int main(int argc, char *argv[])
{
char discl_msg[40000] = "Disclaimer\n";
char *langnames[] = { "Deutsch", "English", "Français", "Español", "Polski", NULL };
char *shortlangnames[] = { "de", "en", "fr", "es", "pl", NULL };
char **langtrs[] = { de_tr, en_tr, fr_tr, es_tr, pl_tr, NULL };
char *langnames[] = { "Deutsch", "English", "Français", "Español", "Polski", "Русский", NULL };
char *shortlangnames[] = { "de", "en", "fr", "es", "pl", "ru", NULL };
char **langtrs[] = { de_tr, en_tr, fr_tr, es_tr, pl_tr, ru_tr, NULL };
char hdletter;
char harddrive[30], sourcedrive[5]; /* Device holder. */
struct devparams hdparams, cdromparams; /* Params for CDROM and HD */

View File

@@ -345,6 +345,7 @@ int replace(char filename1[], char *from, char *to)
#include "lang_es.c"
#include "lang_fr.c"
#include "lang_pl.c"
#include "lang_ru.c"
#endif
// returns a pointer to the actual running version number of IPFire.

View File

@@ -25,6 +25,7 @@ extern char *de_tr[];
extern char *fr_tr[];
extern char *es_tr[];
extern char *pl_tr[];
extern char *ru_tr[];
int main(int argc, char *argv[])
{
@@ -32,8 +33,8 @@ int main(int argc, char *argv[])
char *shortlangnames[] = { "en", NULL };
char **langtrs[] = { en_tr, NULL };
#else
char *shortlangnames[] = { "de", "en", "fr", "es", "pl", NULL };
char **langtrs[] = { de_tr, en_tr, fr_tr, es_tr, pl_tr, NULL };
char *shortlangnames[] = { "de", "en", "fr", "es", "pl", "ru", NULL };
char **langtrs[] = { de_tr, en_tr, fr_tr, es_tr, pl_tr, ru_tr, NULL };
#endif
int choice;
char *sections[11]; /* need to fill this out AFTER knowning lang */