mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-23 19:31:53 +02:00
useing the localised lang-list from the translation class
This commit is contained in:
parent
745bfdc35e
commit
de263f5b30
@ -86,14 +86,6 @@
|
|||||||
'In which country are you. This is used to set certain defaults for you.');
|
'In which country are you. This is used to set certain defaults for you.');
|
||||||
|
|
||||||
$langs = $GLOBALS['phpgw']->translation->get_installed_langs();
|
$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,
|
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.');
|
'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.');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user