From 53b3427a6b66bc1ff6620b6af55074d14bc8bbb6 Mon Sep 17 00:00:00 2001 From: luis daniel lucio quiroz Date: Mon, 14 Jul 2014 03:42:13 +0000 Subject: [PATCH] some language and default values support --- app/destinations/app_languages.php | 11 ++++++++--- app/destinations/destination_edit.php | 4 ++-- app/dialplan/app_languages.php | 5 +++++ app/dialplan/dialplan_edit.php | 2 +- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/app/destinations/app_languages.php b/app/destinations/app_languages.php index 5228f4c05d..a93fab7376 100644 --- a/app/destinations/app_languages.php +++ b/app/destinations/app_languages.php @@ -170,9 +170,9 @@ $text['label-carrier']['fr-fr'] = "Nom du carrier"; $text['description-carrier']['en-us'] = "Enter the carrier name. This is use to keep track incase billing"; - $text['description-carrier']['es-cl'] = "Ingrese el nombre del carrier. Es utilizado en caso de usar la cobranza"; - $text['description-carrier']['pt-pt'] = ""; - $text['description-carrier']['fr-fr'] = "Entrez nom du carrier. Il est utilisé en casu ou vous utilisez le billing"; + $text['description-carrier']['es-cl'] = "Introduzca el nombre del carrier. Esto se utiliza para realizar un seguimiento en caso de facturación"; + $text['description-carrier']['pt-pt'] = "Digite o nome da operadora. Isto é usado para manter o controle meter faturamento"; + $text['description-carrier']['fr-fr'] = "Entrez le nom du transporteur. Ceci est utilise pour garder une trace encas facturation"; $text['button-add']['en-us'] = "Add"; $text['button-add']['es-cl'] = "Agregar"; @@ -234,4 +234,9 @@ $text['message-duplicate']['pt-pt'] = "Duplicar detectado"; $text['message-duplicate']['fr-fr'] = "Dupliquer détecté"; + $text['billing-warning']['en-us'] = "If you are using fusionpbx billing application, make sure to add accountcode and carrier variables."; + $text['billing-warning']['es-cl'] = "Si está utilizando la aplicación de facturación fusionpbx, asegúrese de agregar lasvariables accountcode y carrier"; + $text['billing-warning']['pt-pt'] = "Se você estiver usando o aplicativo de faturamento fusionpbx, certifique-se de adicionar variáveis accountcode e carrier"; + $text['billing-warning']['fr-fr'] = "Si vous utilisez l'application de facturation fusionpbx, assurez-vous d'ajouter des variables de accountcode et carrier"; + ?> diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index ccb7fd2eb2..caf7151dba 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -672,7 +672,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; } - + if ($action == "add"){ $destination_accountcode=$_SESSION['domain_name'];} echo "\n"; echo "\n"; echo " ".$text['label-accountcode'].":\n"; @@ -710,7 +710,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " "; echo ""; echo ""; - + echo "

".$text['billing-warning']."

"; //include the footer require_once "resources/footer.php"; ?> diff --git a/app/dialplan/app_languages.php b/app/dialplan/app_languages.php index e1c49a39c3..252dc0e993 100644 --- a/app/dialplan/app_languages.php +++ b/app/dialplan/app_languages.php @@ -520,4 +520,9 @@ $text['message-required']['pt-pt'] = "Por favor indique: "; $text['message-required']['fr-fr'] = "Merci d'indiquer: "; + $text['billing-warning']['en-us'] = "If you are using fusionpbx billing application, make sure to add accountcode and carrier variables."; + $text['billing-warning']['es-cl'] = "Si está utilizando la aplicación de facturación fusionpbx, asegúrese de agregar lasvariables accountcode y carrier"; + $text['billing-warning']['pt-pt'] = "Se você estiver usando o aplicativo de faturamento fusionpbx, certifique-se de adicionar variáveis ​​accountcode e carrier"; + $text['billing-warning']['fr-fr'] = "Si vous utilisez l'application de facturation fusionpbx, assurez-vous d'ajouter des variables de accountcode et carrier"; + ?> diff --git a/app/dialplan/dialplan_edit.php b/app/dialplan/dialplan_edit.php index c0445335f2..c2ae673355 100644 --- a/app/dialplan/dialplan_edit.php +++ b/app/dialplan/dialplan_edit.php @@ -807,7 +807,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo " "; echo ""; echo ""; - + echo "

".$text['billing-warning']."

" ; //show the footer require_once "resources/footer.php"; ?>