Commit 521829f5 authored by Yusei Tahara's avatar Yusei Tahara

Since property sheet may be changed, property translation domain dict needs to...

Since property sheet may be changed, property translation domain dict needs to update before selecting domain.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31010 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4e550bad
......@@ -145,6 +145,9 @@ class TranslationProviderBase(object):
if properties is None:
properties = REQUEST
# PropertySheet might be changed.
self.updateInitialPropertyTranslationDomainDict()
property_domain_dict = self.getPropertyTranslationDomainDict()
for prop_name in property_domain_dict.keys():
new_domain_name = properties.get(prop_name)
......
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