useing the localised lang-list from the translation class

This commit is contained in:
Ralf Becker 2004-03-21 22:41:00 +00:00
parent 745bfdc35e
commit de263f5b30

View File

@ -86,14 +86,6 @@
'In which country are you. This is used to set certain defaults for you.');
$langs = $GLOBALS['phpgw']->translation->get_installed_langs();
foreach ($langs as $key => $name) // if we have a translation use it
{
$trans = lang($name);
if ($trans != $name . '*')
{
$langs[$key] = $trans;
}
}
create_select_box('Language','lang',$langs,
'Select the language of texts and messages within phpGroupWare.<br>Some languages may not contain all messages, in that case you will see an english message.');