diff --git a/phpgwapi/inc/class.sbox.inc.php b/phpgwapi/inc/class.sbox.inc.php index 638d6f40f4..e56b5d3482 100644 --- a/phpgwapi/inc/class.sbox.inc.php +++ b/phpgwapi/inc/class.sbox.inc.php @@ -283,6 +283,19 @@ 'ZW'=>'ZIMBABWE' ); + function sbox() + { + foreach ($this->country_array as $key => $name) + { + $translated = lang($name); + if ($translated != $name.'*') + { + $this->country_array[$key] = $translated; + } + } + asort($this->country_array); + } + function hour_formated_text($name, $selected = 0) { $s = '