forked from extern/egroupware
translate the monthnames and contries like the sbox-class
This commit is contained in:
parent
38c7e3d145
commit
a9d53deafb
@ -356,6 +356,21 @@
|
||||
|
||||
function select_widget($ui)
|
||||
{
|
||||
foreach($this->monthnames as $k => $name)
|
||||
{
|
||||
if ($name)
|
||||
{
|
||||
$this->monthnames[$k] = lang($name);
|
||||
}
|
||||
}
|
||||
foreach($this->countrys as $k => $name)
|
||||
{
|
||||
if (($translated = lang($name)) != $name.'*')
|
||||
{
|
||||
$this->countrys[$k] = $translated;
|
||||
}
|
||||
}
|
||||
asort($this->countrys);
|
||||
}
|
||||
|
||||
function pre_process($name,&$value,&$cell,&$readonlys,&$extension_data,&$tmpl)
|
||||
|
Loading…
Reference in New Issue
Block a user