Commit 05d39a61 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add DummyLocalizer.get_supported_languages() that is now required in testERP5Web.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26308 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 909cc5af
...@@ -110,6 +110,9 @@ class DummyLocalizer: ...@@ -110,6 +110,9 @@ class DummyLocalizer:
{'selected': False, 'id': 'pl', 'title': 'Polish'}, {'selected': False, 'id': 'pl', 'title': 'Polish'},
{'selected': False, 'id': 'fr', 'title': 'French'},] {'selected': False, 'id': 'fr', 'title': 'French'},]
def get_supported_languages(self):
return ('en', 'fr', 'pl')
def changeLanguage(self, lang): def changeLanguage(self, lang):
self.lang = lang self.lang = lang
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment