# HG changeset patch # User abukhman # Date 1310997757 -7200 # Node ID 2169217252a07dada5884371e2e43c76a368ed77 # Parent 48f33478acecf080421a95df8943bcd25ed3afd3 *** empty log message *** diff -r 48f33478acec -r 2169217252a0 MpdlXmlTextServer.py --- a/MpdlXmlTextServer.py Mon Jul 18 15:59:03 2011 +0200 +++ b/MpdlXmlTextServer.py Mon Jul 18 16:02:37 2011 +0200 @@ -403,7 +403,7 @@ return docinfo['pageNumberOrigNorm'] - def getTranslate(self, word=None, language=None): + def getTranslate(self, word=None, language=None, display=None): """translate into another languages""" data = self.getServerData("lt/wordInfo.xql","language="+str(language)+"&word="+urllib.quote(word)+"&display="+urllib.quote(display)+"&output=html") #pagexml=self.template.fulltextclient.eval("/mpdl/interface/lt/lex.xql","document=&language="+str(language)+"&query="+url_quote(str(query)))