Commit 1db7bbfe authored by Aurel's avatar Aurel

new parameters required

parent 74aea681
...@@ -199,7 +199,9 @@ class MessageCatalog(LanguageManager, ObjectManager, SimpleItem): ...@@ -199,7 +199,9 @@ class MessageCatalog(LanguageManager, ObjectManager, SimpleItem):
def translate(self, msgid, mapping=None, context=None, def translate(self, msgid, mapping=None, context=None,
target_language=None, default=None): target_language=None, default=None,
# zope i18n 4.7
msgid_plural=None, default_plural=None, number=None):
""" """ """ """
msgstr = self.gettext(msgid, lang=target_language, default=default) msgstr = self.gettext(msgid, lang=target_language, default=default)
# BBB support str in mapping by converting to unicode for # BBB support str in mapping by converting to unicode for
......
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