Add the language translations to the app/users.

This commit is contained in:
Mark Crane 2013-01-05 05:51:29 +00:00
parent 743469a551
commit f2d5f424ed
2 changed files with 73 additions and 44 deletions

View File

@ -63,4 +63,33 @@
$content_users['confirm-update']['en-us'] = 'Update Complete';
$content_users['confirm-update']['pt-pt'] = 'Actualização Completa';
$text['title-user-information']['en-us'] = 'User Information';
$text['title-user-information']['pt-pt'] = 'Informação do Utilizador';
$text['label-username']['en-us'] = 'User Name';
$text['label-username']['pt-pt'] = 'Nome do Utilizador';
$text['label-voicemail']['en-us'] = 'Voicemail';
$text['label-voicemail']['pt-pt'] = 'Correio de Voz';
$text['label-view-messages']['en-us'] = 'View Messages';
$text['label-view-messages']['pt-pt'] = 'Ver Mensagens';
$text['table-extension']['en-us'] = 'Extension';
$text['table-extension']['pt-pt'] = 'Extensão';
$text['table-tools']['en-us'] = 'Tools';
$text['table-tools']['pt-pt'] = 'Ferramentas';
$text['table-description']['en-us'] = 'Description';
$text['table-description']['pt-pt'] = 'Descrição';
$text['label-callforward']['en-us'] = 'Call Forward';
$text['label-callforward']['pt-pt'] = 'Encaminhamento de Chamadas';
$text['label-followme']['en-us'] = 'Follow Me';
$text['label-followme']['pt-pt'] = 'Segue-me';
$text['label-dnd']['en-us'] = 'Do Not Disturb';
$text['label-dnd']['pt-pt'] = 'Não Perturbar';
?>

View File

@ -56,11 +56,11 @@ echo "<br />";
//start the user table
echo "<table width=\"100%\" border=\"0\" cellpadding=\"7\" cellspacing=\"0\">\n";
echo "<tr>\n";
echo " <th class='th' colspan='2' align='left'>".$text['title-table']."&nbsp;</th>\n";
echo " <th class='th' colspan='2' align='left'>".$text['title-user-information']."&nbsp;</th>\n";
echo "</tr>\n";
echo "<tr>\n";
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
echo " ".$text['label-name'].": \n";
echo " ".$text['label-usernname'].": \n";
echo " </td>\n";
echo " <td class=\"row_style1\">\n";
echo " <a href='".PROJECT_PATH."/app/user/user_edit.php'>".$_SESSION["username"]."</a> \n";