');
this.appendFilter();
//Call data from server
@@ -1508,7 +1508,7 @@ class SRec
if(this.f_State=="1") //select one record
{
//Send the id of the selected record to the parent of the selected record and close the window
- //alert2(_('Alert'),"id="+id+" f_PropName="+this.f_PropName+" f_TypeName="+this.f_TypeName);
+ //alert2(trt('Alert'),"id="+id+" f_PropName="+this.f_PropName+" f_TypeName="+this.f_TypeName);
this.opener.setFilterObject(this.f_TypeName,this.f_PropName,id);
this.win.Close();
}else
@@ -1520,7 +1520,7 @@ class SRec
//We run through the marked records and request their removal
deleteRecord(recordid)
{
- if (confirm(_("Are_you_sure_you_want_to_delete_the_entries")+'?'))
+ if (confirm(trt("Are_you_sure_you_want_to_delete_the_entries")+'?'))
{
for(let i=0;i\n\
\n\
\n\
-
\n\
+
\n\
\n\
';
@@ -205,8 +205,8 @@ function confirm2(title,text,okFunc,cancelFunc)
\n\
\n\
\n\
-
\n\
- \
\n\
+
\n\
+ \
\n\
\n\
';
@@ -982,12 +982,12 @@ class TRequest
//загрузился xml документ начинаем его разбирать (по id функции в документе)
var xmldoc = xmlHttpRequest.responseXML;
if(xmldoc==null){
- alert2(_('Alert'),_('Wrong_XML_document')+"!\nXML=("+xmlHttpRequest.responseText+')\nURL=('+url+')\nxmlString=('+xmlString+')');
+ alert2(trt('Alert'),trt('Wrong_XML_document')+"!\nXML=("+xmlHttpRequest.responseText+')\nURL=('+url+')\nxmlString=('+xmlString+')');
return;
}
var node = xmldoc.documentElement;
- if((node==null)||(node.getAttribute("fn")==null)) alert(_('Error')+"\n"+_('No_data')+"!\n"+xmlHttpRequest.responseText);
+ if((node==null)||(node.getAttribute("fn")==null)) alert(trt('Error')+"\n"+trt('No_data')+"!\n"+xmlHttpRequest.responseText);
else
{
//alert("XML=\n"+getXMLNodeSerialisation(node));
@@ -1006,7 +1006,7 @@ class TRequest
}
}else
{
- if(confirm(_('Failed_to_get_data')+"\n URL: "+url+"\n"+xmlHttpRequest.statusText+"\nПовторить запрос?"))
+ if(confirm(trt('Failed_to_get_data')+"\n URL: "+url+"\n"+xmlHttpRequest.statusText+"\nПовторить запрос?"))
{
this.callServer(url,xmlString);
};