From 1d7be1ada7374986468763af6e9478c1e5e53c10 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 20 Sep 2014 01:13:14 +0000 Subject: [PATCH] Add the translation for TTA on CDR --- app/xml_cdr/app_languages.php | 5 +++++ app/xml_cdr/xml_cdr.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/xml_cdr/app_languages.php b/app/xml_cdr/app_languages.php index b36c35db59..6751561379 100644 --- a/app/xml_cdr/app_languages.php +++ b/app/xml_cdr/app_languages.php @@ -324,6 +324,11 @@ $text['label-start']['pt-pt'] = "Começo"; $text['label-start']['fr-fr'] = "Démarrer"; + $text['label-tta']['en-us'] = "TTA"; + $text['label-tta']['es-cl'] = "TTA"; + $text['label-tta']['pt-pt'] = "TTA"; + $text['label-tta']['fr-fr'] = "TTA"; + $text['label-answer']['en-us'] = "Answer"; $text['label-answer']['es-cl'] = "Respuesta"; $text['label-answer']['pt-pt'] = "Resposta"; diff --git a/app/xml_cdr/xml_cdr.php b/app/xml_cdr/xml_cdr.php index 8d1063f53b..8ac4d32e2f 100644 --- a/app/xml_cdr/xml_cdr.php +++ b/app/xml_cdr/xml_cdr.php @@ -346,7 +346,7 @@ else { echo th_order_by('destination_number', $text['label-destination'], $order_by, $order); echo "".$text['label-tools']."\n"; echo th_order_by('start_stamp', $text['label-start'], $order_by, $order, null, "style='text-align: right;'"); - echo th_order_by('tta', 'TTA', $order_by, $order, null, "style='text-align: right;'"); + echo th_order_by('tta', $text['label-tta'], $order_by, $order, null, "style='text-align: right;'"); echo th_order_by('duration', $text['label-duration'], $order_by, $order, null, "style='text-align: center;'"); if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/billing/app_config.php")){ // billing collumns