diff --git a/app/conference_centers/app_languages.php b/app/conference_centers/app_languages.php index 9aa24aba1b..c125969093 100644 --- a/app/conference_centers/app_languages.php +++ b/app/conference_centers/app_languages.php @@ -4,11 +4,50 @@ $text['title-conference-centers']['en-us'] = 'Conference Centers'; $text['title-conference-centers']['pt-pt'] = ''; + $text['description-conference-centers']['en-us'] = 'Conference Centers are a group of conference rooms. They can be organized by cost center, geographically, or other criteria.'; + $text['description-conference-centers']['pt-pt'] = ''; + + $text['title-conference-center']['en-us'] = 'Conference Center'; + $text['title-conference-center']['pt-pt'] = ''; + + $text['description-conference-center']['en-us'] = 'Conference Center is used to setup one or more conference rooms with a name, extension number, a required pin number length, and a description.'; + $text['description-conference-center']['pt-pt'] = ''; + + $text['label-name']['en-us'] = 'Name'; + $text['label-name']['pt-pt'] = ''; + + $text['label-extension']['en-us'] = 'Extension'; + $text['label-extension']['pt-pt'] = ''; + + $text['label-pin-length']['en-us'] = 'PIN Length'; + $text['label-pin-length']['pt-pt'] = ''; + + $text['label-delete']['en-us'] = 'Delete'; + $text['label-delete']['pt-pt'] = ''; + + $text['label-edit']['en-us'] = 'Edit'; + $text['label-edit']['pt-pt'] = ''; + + $text['description-name']['en-us'] = 'Enter the conference center name.'; + $text['description-name']['pt-pt'] = ''; + + $text['description-extension']['en-us'] = 'Enter the conference center extension number.'; + $text['description-extension']['pt-pt'] = ''; + + $text['description-pin-length']['en-us'] = 'Enter the required PIN length.'; + $text['description-pin-length']['pt-pt'] = ''; + + $text['description-enabled']['en-us'] = 'Select whether to enable or disable the conference center.'; + $text['description-enabled']['pt-pt'] = ''; + + $text['description-description']['en-us'] = 'Enter the description.'; + $text['description-description']['pt-pt'] = ''; + //conference rooms $text['title-conference-rooms']['en-us'] = 'Conference Rooms'; $text['title-conference-rooms']['pt-pt'] = ''; - $text['title-conference-room']['en-us'] = 'Conference Room3'; + $text['title-conference-room']['en-us'] = 'Conference Room'; $text['title-conference-room']['pt-pt'] = ''; $text['label-profile']['en-us'] = 'Profile'; @@ -51,6 +90,9 @@ $text['label-description']['pt-pt'] = 'Descrição'; //conference room edit + $text['button-rooms']['en-us'] = 'Rooms'; + $text['button-rooms']['pt-pt'] = ''; + $text['button-sessions']['en-us'] = 'Sessions'; $text['button-sessions']['pt-pt'] = ''; diff --git a/app/conference_centers/conference_center_edit.php b/app/conference_centers/conference_center_edit.php index 1e5d5ef5e1..a72e864e2b 100644 --- a/app/conference_centers/conference_center_edit.php +++ b/app/conference_centers/conference_center_edit.php @@ -34,6 +34,12 @@ else { exit; } +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + //action add or update if (isset($_REQUEST["id"])) { $action = "update"; @@ -310,110 +316,63 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "
| \n";
- echo " "; + echo " "; echo " |