mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 20:09:27 +01:00
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)
|
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)
|
function pre_process($name,&$value,&$cell,&$readonlys,&$extension_data,&$tmpl)
|
||||||
|
Loading…
Reference in New Issue
Block a user