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

@@ -76,10 +76,11 @@ else
$case_id = $connect->GetOne($sql);
include_once(dirname(__FILE__) . '/quexs.php');
//Add a case note to clarify (need to translate this string)
$sql = "INSERT INTO `case_note` (case_id,operator_id,note,datetime)
VALUES ($case_id,1,'Self completion refused via opt out function',CONVERT_TZ(NOW(),'System','UTC'))";
VALUES ($case_id,1,'" . TQ_("Self completion refused via opt out function") . "',CONVERT_TZ(NOW(),'System','UTC'))";
$connect->Execute($sql);