diff --git a/app/destinations/app_languages.php b/app/destinations/app_languages.php index cb6722411a..56429c2b77 100644 --- a/app/destinations/app_languages.php +++ b/app/destinations/app_languages.php @@ -92,6 +92,11 @@ $text['label-destination_context']['pt-pt'] = "Contexto"; $text['label-destination_context']['fr-fr'] = "Contexte"; + $text['label-detail_action']['en-us'] = "Actions"; + $text['label-detail_action']['es-cl'] = "Accións"; + $text['label-detail_action']['pt-pt'] = "Ações"; + $text['label-detail_action']['fr-fr'] = "Actions"; + $text['description-destination_context']['en-us'] = "Enter the context."; $text['description-destination_context']['es-cl'] = "Ingrese el contexto"; $text['description-destination_context']['pt-pt'] = "Introduza o contexto."; diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 0a53c35543..a668223528 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -96,13 +96,13 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { //get the array $dialplan_details = $_POST["dialplan_details"]; - + //remove the array from the HTTP POST unset($_POST["dialplan_details"]); - + //add the domain_uuid $_POST["domain_uuid"] = $_SESSION['domain_uuid']; - + //array cleanup $x = 0; foreach ($dialplan_details as $row) { @@ -400,7 +400,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\n"; - echo " ".$text['label-actions'].":\n"; + echo " ".$text['label-detail_action'].":\n"; echo "\n"; echo "\n";