1) renamed translation_sql to translation, as translation_file is not used or working (we can allways re-add it)

2) new list_langs function for the TranslationTools, so they dont need to access the languages table direct
This commit is contained in:
Ralf Becker 2005-11-05 12:59:17 +00:00
parent e922cb3e75
commit 185a1cc2bd

View File

@ -570,7 +570,7 @@ function check_dir($dir,&$msg,$check_in_docroot=false)
'submit',lang('Manage Languages'), 'submit',lang('Manage Languages'),
''); '');
// show system-charset and offer conversation // show system-charset and offer conversation
include_once(EGW_API_INC.'/class.translation_sql.inc.php'); include_once(EGW_API_INC.'/class.translation.inc.php');
$translation = new translation; $translation = new translation;
$btn_manage_lang .= lang('Current system-charset is %1, click %2here%3 to change it.', $btn_manage_lang .= lang('Current system-charset is %1, click %2here%3 to change it.',
$translation->system_charset ? "'$translation->system_charset'" : lang('not set'), $translation->system_charset ? "'$translation->system_charset'" : lang('not set'),