mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
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:
parent
e922cb3e75
commit
185a1cc2bd
@ -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'),
|
||||||
|
Loading…
Reference in New Issue
Block a user