--- a/entities/__init__.py Fri Dec 18 15:10:38 2009 +0100
+++ b/entities/__init__.py Fri Dec 18 15:10:57 2009 +0100
@@ -93,8 +93,7 @@
# check if entities has internationalizable attributes
# XXX one is enough or check if all String attributes are internationalizable?
for rschema, attrschema in self.e_schema.attribute_definitions():
- if rschema.rproperty(self.e_schema, attrschema,
- 'internationalizable'):
+ if rschema.rdef(self.e_schema, attrschema).internationalizable:
return self._cw._(self._cw.user.property_value('ui.language'))
return self._cw._(self._cw.vreg.property_value('ui.language'))