diff --git a/app/voicemails/app_languages.php b/app/voicemails/app_languages.php index 0bef9c1728..3ab82563f0 100644 --- a/app/voicemails/app_languages.php +++ b/app/voicemails/app_languages.php @@ -76,15 +76,15 @@ $text['description-voicemail_local_after_email']['pt-pt'] = "Escolha se pretende manter o ficheiro de correio de voz depois de enviar email."; $text['description-voicemail_local_after_email']['fr-fr'] = "Garder le message vocal dans la boite vocale après l'envoi du courriel."; - $text['label-copy_destinations']['en-us'] = "Copy Destinations"; - $text['label-copy_destinations']['es-cl'] = "Copiar Destinos"; - $text['label-copy_destinations']['pt-pt'] = "Copiar Destinos"; - $text['label-copy_destinations']['fr-fr'] = "Copier Destinations"; + $text['label-forward_destinations']['en-us'] = "Forward Destinations"; + $text['label-forward_destinations']['es-cl'] = "Destinos Adelante"; + $text['label-forward_destinations']['pt-pt'] = "Destinos Atacante"; + $text['label-forward_destinations']['fr-fr'] = "Destinations à terme"; - $text['description-copy_destinations']['en-us'] = "Set other Voicemail IDs to also receive a copy of incoming voice messages."; - $text['description-copy_destinations']['es-cl'] = "Establezca otras identificaciones de correo de voz para recibir también una copia de los mensajes de voz entrantes."; - $text['description-copy_destinations']['pt-pt'] = "Defina outras identificações Voicemail também para receber uma cópia das mensagens de voz recebidas."; - $text['description-copy_destinations']['fr-fr'] = "Définissez les autres identifications de messagerie vocale de recevoir également une copie des messages vocaux entrants."; + $text['description-forward_destinations']['en-us'] = "Forward voicemail messages to additional destinations."; + $text['description-forward_destinations']['es-cl'] = "Reenviar mensajes de voz a destinos adicionales."; + $text['description-forward_destinations']['pt-pt'] = "Mensagens de voz para a frente para destinos adicionais."; + $text['description-forward_destinations']['fr-fr'] = "Messages vocaux à terme vers des destinations supplémentaires."; $text['label-voicemail_enabled']['en-us'] = "Enabled"; $text['label-voicemail_enabled']['es-cl'] = "Activado"; diff --git a/app/voicemails/voicemail_edit.php b/app/voicemails/voicemail_edit.php index 7fda1e03a9..f7969d8f73 100644 --- a/app/voicemails/voicemail_edit.php +++ b/app/voicemails/voicemail_edit.php @@ -361,11 +361,11 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { if ($action == "update") { echo " "; - echo " ".$text['label-copy_destinations'].":"; + echo " ".$text['label-forward_destinations'].":"; echo " "; echo " \n"; - $sqls = " + $sql = " select v.voicemail_id, d.voicemail_destination_uuid, @@ -380,7 +380,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { d.voicemail_uuid = '".$voicemail_uuid."' order by v.voicemail_id asc"; - $prep_statement = $db->prepare(check_sql($sqls)); + $prep_statement = $db->prepare(check_sql($sql)); $prep_statement->execute(); $result = $prep_statement->fetchAll(PDO::FETCH_NAMED); $result_count = count($result); @@ -397,10 +397,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { if (sizeof($voicemail_uuid_copied) > 0) { // modify sql to remove already copied voicemail uuids from the list - $sqls_mod = " and v.voicemail_uuid not in ('".implode("','", $voicemail_uuid_copied)."') "; + $sql_mod = " and v.voicemail_uuid not in ('".implode("','", $voicemail_uuid_copied)."') "; } echo "
\n"; - $sqls = " + $sql = " select v.voicemail_id, v.voicemail_uuid @@ -410,10 +410,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { v.domain_uuid = '".$_SESSION['domain_uuid']."' and v.voicemail_enabled = 'true' and v.voicemail_uuid <> '".$voicemail_uuid."' - ".$sqls_mod." + ".$sql_mod." order by v.voicemail_id asc"; - $prep_statement = $db->prepare(check_sql($sqls)); + $prep_statement = $db->prepare(check_sql($sql)); $prep_statement->execute(); echo " \n"; unset($sql, $result); echo "
\n"; - echo " ".$text['description-copy_destinations']."\n"; + echo " ".$text['description-forward_destinations']."\n"; echo "
\n"; echo " "; echo " ";