diff --git a/www/chat_customer/customer_chat_functions.php b/www/chat_customer/customer_chat_functions.php index 3b3c846f..3e11a1e0 100644 --- a/www/chat_customer/customer_chat_functions.php +++ b/www/chat_customer/customer_chat_functions.php @@ -12,6 +12,7 @@ # 160303-0055 - Added code for chat transfers # 160725-1711 - Fixed nested iframe issue # 160805-2315 - Added coding to show logos in customer display +# 161026-2230 - Added translation QXZ to untranslated text # require("dbconnect_mysqli.php"); @@ -460,7 +461,7 @@ if ($action=="update_chat_window" && $chat_id) { # echo ""._QXZ("Waiting for next available agent...")."
\n"; - $chat_status="WAITING"; + $chat_status=""._QXZ("WAITING").""; echo "$chat_status|"; $chat_count_stmt="SELECT chat_id from vicidial_live_chats vlc, vicidial_inbound_groups vig where vlc.status='WAITING' and (vlc.group_id='$group_id' or (vlc.group_id='AGENTDIRECT_CHAT')) and (transferring_agent is null or transferring_agent!='$user') and vlc.group_id=vig.group_id order by queue_priority desc, chat_id asc"; @@ -474,9 +475,9 @@ if ($action=="update_chat_window" && $chat_id) { } } if ($people_ahead_of_you>0) { - echo "There are $people_ahead_of_you customer(s) in chat queue ahead of you"; + echo ""._QXZ("There are")." $people_ahead_of_you "._QXZ("customer(s) in chat queue ahead of you").""; } else { - echo "You are the next customer in line"; + echo ""._QXZ("You are the next customer in line").""; } # echo "\n";