diff --git a/app_languages.php b/app_languages.php index 65171765fc..0a9846c4d0 100644 --- a/app_languages.php +++ b/app_languages.php @@ -2,32 +2,32 @@ $content['title-table']['en-us'] = 'User Information'; $content['title-table']['pt-pt'] = 'Informação do Utilizador'; - - $content['label-name']['en-us'] = 'User Name'; + + $content['label-name']['en-us'] = 'User Name'; $content['label-name']['pt-pt'] = 'Nome do Utilizador'; - - $content['label-voicemail']['en-us'] = 'Voicemail'; + + $content['label-voicemail']['en-us'] = 'Voicemail'; $content['label-voicemail']['pt-pt'] = 'Correio de Voz'; - - $content['label-view-messages']['en-us'] = 'View Messages'; + + $content['label-view-messages']['en-us'] = 'View Messages'; $content['label-view-messages']['pt-pt'] = 'Ver Mensagens'; - - $content_calls['table-extension']['en-us'] = 'Extension'; + + $content_calls['table-extension']['en-us'] = 'Extension'; $content_calls['table-extension']['pt-pt'] = 'Extensão'; - - $content_calls['table-tools']['en-us'] = 'Tools'; + + $content_calls['table-tools']['en-us'] = 'Tools'; $content_calls['table-tools']['pt-pt'] = 'Ferramentas'; - - $content_calls['table-description']['en-us'] = 'Description'; + + $content_calls['table-description']['en-us'] = 'Description'; $content_calls['table-description']['pt-pt'] = 'Descrição'; - - $content_calls['label-callforward']['en-us'] = 'Call Forward'; + + $content_calls['label-callforward']['en-us'] = 'Call Forward'; $content_calls['label-callforward']['pt-pt'] = 'Encaminhamento de Chamadas'; - - $content_calls['label-followme']['en-us'] = 'Follow Me'; + + $content_calls['label-followme']['en-us'] = 'Follow Me'; $content_calls['label-followme']['pt-pt'] = 'Segue-me'; - - $content_calls['label-dnd']['en-us'] = 'Do Not Disturb'; + + $content_calls['label-dnd']['en-us'] = 'Do Not Disturb'; $content_calls['label-dnd']['pt-pt'] = 'Não Perturbar'; -?> +?> \ No newline at end of file diff --git a/index2.php b/index2.php index 6b8c037595..ba677d5742 100644 --- a/index2.php +++ b/index2.php @@ -31,12 +31,15 @@ if (!file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php")) require_once "includes/require.php"; require_once "includes/checkauth.php"; require_once "includes/header.php"; -require_once "app_languages.php"; echo "
"; echo "
"; - foreach($content as $key => $value) { +//add multi-lingual support + echo "\n"; + foreach($content as $key => $value) { $content[$key] = $value[$_SESSION['domain']['language']['code']]; }