From ad9bdd9f48fad4c3b0ab699fa87f2d8eaeb77ffb Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Fri, 25 Apr 2014 05:27:19 +0000 Subject: [PATCH] Add the dialplan destination action translation --- app/destinations/app_languages.php | 5 +++++ app/destinations/destination_edit.php | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) 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";