Commit d45352cb authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

Translation.py: revert unused modifications added during development.

parent 249f4249
......@@ -61,6 +61,7 @@ class TranslatedPropertyGetter(BaseGetter):
if self._warning:
LOG("ERP5Type Deprecated Getter Id:",0, self._id)
domain = instance.getProperty('%s_translation_domain' % self._property_id)
if domain==TRANSLATION_DOMAIN_CONTENT_TRANSLATION:
if len(args) > 0:
default = args[0]
......
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