Choose english if the language is not available. Fixes #1047

This commit is contained in:
Benjamin Sonntag 2007-08-27 07:25:19 +00:00
parent d2c5c63811
commit 1d1c8f9a01
2 changed files with 4 additions and 1 deletions

View File

@ -47,7 +47,9 @@ if ($setlang && $lang) {
}
// User chose a non existent language, select the first available one
if ($lang == NULL) {
$lang = "en_US";
}
/* Language ok, set the locale environment */
putenv("LC_MESSAGES=$lang");

1
debian/changelog vendored
View File

@ -1,5 +1,6 @@
alternc (0.9.6.5) testing; urgency=low
* Choose english as default language, (#1047)
* parameter checking in subdomain creation (#1037)
* Changing ownership of /var/alternc/tmp, makes file upload work again (#1058)
* Force the restart of apache & apache-ssl (#1000)