mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 11:29:23 +01:00
fixed double-translation of country-names
This commit is contained in:
parent
68fc63f2a6
commit
9ec5c51938
@ -625,11 +625,10 @@
|
|||||||
$name = 'country';
|
$name = 'country';
|
||||||
}
|
}
|
||||||
$str = '<select name="'.$name.'">'."\n"
|
$str = '<select name="'.$name.'">'."\n"
|
||||||
. ' <option value=" "'.($selected == ' '?' selected':'').'>Select One</option>'."\n";
|
. ' <option value=" "'.($selected == ' '?' selected':'').'>'.lang('Select One').'</option>'."\n";
|
||||||
reset($this->country_array);
|
foreach($this->country_array as $key => $value)
|
||||||
while(list($key,$value) = each($this->country_array))
|
|
||||||
{
|
{
|
||||||
$str .= ' <option value="'.$key.'"'.($selected == $key?' selected':'') . '>'.lang($value).'</option>'."\n";
|
$str .= ' <option value="'.$key.'"'.($selected == $key?' selected':'') . '>'.$value.'</option>'."\n";
|
||||||
}
|
}
|
||||||
$str .= '</select>'."\n";
|
$str .= '</select>'."\n";
|
||||||
return $str;
|
return $str;
|
||||||
|
Loading…
Reference in New Issue
Block a user