2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Allow translations of queXS created strings in Limesurvey

This commit is contained in:
Adam Zammit
2014-03-17 09:45:30 +11:00
parent d1d991d92f
commit 1fee78451f
7 changed files with 60 additions and 56 deletions

View File

@@ -1697,7 +1697,8 @@ function do_list_radio($ia)
$quexs_appointment = false;
if (strncasecmp($ansrow['answer'],"{SCHEDULEAPPOINTMENT}",21) == 0)
{
$ansrow['answer'] = $clang->gT("Schedule Appointment");
include_once(dirname(__FILE__) . '/quexs.php');
$ansrow['answer'] = T_("Schedule Appointment");
$quexs_appointment = true;
}
@@ -1916,7 +1917,8 @@ function do_listwithcomment($ia)
$quexs_appointment = false;
if (strncasecmp($ansrow['answer'],"{SCHEDULEAPPOINTMENT}",21) == 0)
{
$ansrow['answer'] = $clang->gT("Schedule Appointment");
include_once(dirname(__FILE__) . '/quexs.php');
$ansrow['answer'] = T_("Schedule Appointment");
$quexs_appointment = true;
}