extern char *en_tr[];
extern char *de_tr[];
+extern char *fr_tr[];
+extern char *es_tr[];
+extern char *pl_tr[];
+extern char *ru_tr[];
+extern char *nl_tr[];
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", "es", "nl", "pl", "ru", NULL };
+ char **langtrs[] = { de_tr, en_tr, fr_tr, es_tr, nl_tr, pl_tr, ru_tr, NULL };
#endif
int choice;
char *sections[11]; /* need to fill this out AFTER knowning lang */
goto EXIT;
if (!(handledomainname()))
goto EXIT;
- if (!(handlenetworking()))
+ if (!(handlerootpassword()))
goto EXIT;
- if (!(handleisdn()))
+ if (!(handleadminpassword()))
goto EXIT;
- if (!(handledhcp()))
+ if (!(handleisdn()))
goto EXIT;
- if (!(handlerootpassword()))
+ if (!(handlenetworking()))
goto EXIT;
- if (!(handleadminpassword()))
+ if (!(handledhcp()))
goto EXIT;
autook = 1;
if (autook)
newtWinMessage(title, ctr[TR_OK], ctr[TR_SETUP_FINISHED]);
else
+ {
newtWinMessage(ctr[TR_WARNING], ctr[TR_OK], ctr[TR_SETUP_NOT_COMPLETE]);
+
+ fprintf(flog, "Setup program has not finished.\n");
+ fflush(flog);
+ fclose(flog);
+
+ newtFinished();
+
+ return 1;
+ }
}
fprintf(flog, "Setup program ended.\n");