changeset 447:2169217252a0

*** empty log message ***
author abukhman
date Mon, 18 Jul 2011 16:02:37 +0200
parents 48f33478acec
children 35e7ea6f2368
files MpdlXmlTextServer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)))