web/views/magicsearch.py
branchstable
changeset 3362 2a2dcfb379a0
parent 2650 18aec79ec3a3
child 3369 7b88d12b4ee2
child 3689 deb13e88e037
--- a/web/views/magicsearch.py	Tue Sep 22 09:44:35 2009 +0200
+++ b/web/views/magicsearch.py	Tue Sep 22 09:50:45 2009 +0200
@@ -119,7 +119,7 @@
         return TRANSLATION_MAPS[lang]
     except KeyError:
         assert lang in config.translations, '%s %s' % (lang, config.translations)
-        tr = config.translations[lang]
+        tr, ctxtr = config.translations[lang]
         langmap = {}
         for etype in schema.entities():
             etype = str(etype)