mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:49:10 +01:00
Add CP850 to translation class list of installed charsets, don't need to add it in import/export
This commit is contained in:
parent
ee98b63c0b
commit
03bae6ff27
@ -966,7 +966,6 @@ class importexport_definitions_ui
|
||||
{
|
||||
unset($sel_options['import_charsets'][strtoupper($charset)]);
|
||||
}
|
||||
unset($sel_options['import_charsets']['CP850']); // This one explicitly added in wizard
|
||||
|
||||
if(!$data['update']) $data['update'] = 'request';
|
||||
|
||||
|
@ -201,8 +201,6 @@ class importexport_wizard_basic_export_csv
|
||||
);
|
||||
$sel_options['charset'] = $GLOBALS['egw']->translation->get_installed_charsets()+
|
||||
array(
|
||||
'utf-8' => 'utf-8 (Unicode)',
|
||||
'CP850' => 'CP850 (Old DOS systems)',
|
||||
'user' => lang('User preference'),
|
||||
);
|
||||
|
||||
|
@ -217,8 +217,6 @@ class importexport_wizard_basic_import_csv
|
||||
|
||||
$sel_options['charset'] = $GLOBALS['egw']->translation->get_installed_charsets()+
|
||||
array(
|
||||
'utf-8' => 'utf-8 (Unicode)',
|
||||
'CP850' => 'CP850 (Old DOS systems)',
|
||||
'user' => lang('User preference'),
|
||||
);
|
||||
|
||||
|
@ -498,7 +498,7 @@ class translation
|
||||
if (!isset($charsets))
|
||||
{
|
||||
$charsets = array(
|
||||
'utf-8' => lang('all languages').' (utf-8)',
|
||||
'utf-8' => lang('Unicode').' (utf-8)',
|
||||
'iso-8859-1' => lang('Western european').' (iso-8859-1)',
|
||||
'iso-8859-2' => lang('Eastern european').' (iso-8859-2)',
|
||||
'iso-8859-7' => lang('Greek').' (iso-8859-7)',
|
||||
@ -506,6 +506,7 @@ class translation
|
||||
'euc-kr' => lang('Korean').' (euc-kr)',
|
||||
'koi8-r' => lang('Russian').' (koi8-r)',
|
||||
'windows-1251' => lang('Bulgarian').' (windows-1251)',
|
||||
'cp850' => lang('DOS International').' (CP850)',
|
||||
);
|
||||
}
|
||||
return $charsets;
|
||||
|
Loading…
Reference in New Issue
Block a user