equal
deleted
inserted
replaced
138 return self.format_date(self.modification_date, date_format=date_format) |
138 return self.format_date(self.modification_date, date_format=date_format) |
139 |
139 |
140 def dc_type(self, form=''): |
140 def dc_type(self, form=''): |
141 """return the display name for the type of this entity (translated)""" |
141 """return the display name for the type of this entity (translated)""" |
142 return self.e_schema.display_name(self.req, form) |
142 return self.e_schema.display_name(self.req, form) |
143 display_name = deprecated_function(dc_type) # require agueol > 0.8.1, asteretud > 0.10.0 for removal |
|
144 |
143 |
145 def dc_language(self): |
144 def dc_language(self): |
146 """return language used by this entity (translated)""" |
145 """return language used by this entity (translated)""" |
147 # check if entities has internationalizable attributes |
146 # check if entities has internationalizable attributes |
148 # XXX one is enough or check if all String attributes are internationalizable? |
147 # XXX one is enough or check if all String attributes are internationalizable? |