--- a/src/pyams_content/component/illustration/__init__.py Thu Feb 22 17:04:26 2018 +0100
+++ b/src/pyams_content/component/illustration/__init__.py Thu Mar 01 11:35:57 2018 +0100
@@ -56,8 +56,8 @@
author = FieldProperty(IIllustration['author'])
_data = I18nFileProperty(IIllustration['data'])
filename = FieldProperty(IIllustration['filename'])
+ language = FieldProperty(IIllustration['language'])
renderer = FieldProperty(IIllustration['renderer'])
- language = FieldProperty(IIllustration['language'])
@property
def data(self):
--- a/src/pyams_content/component/illustration/interfaces/__init__.py Thu Feb 22 17:04:26 2018 +0100
+++ b/src/pyams_content/component/illustration/interfaces/__init__.py Thu Mar 01 11:35:57 2018 +0100
@@ -60,16 +60,16 @@
description=_("Name under which the file will be saved"),
required=False)
+ language = Choice(title=_("Language"),
+ description=_("File's content language"),
+ vocabulary="PyAMS base languages",
+ required=False)
+
renderer = Choice(title=_("Illustration template"),
description=_("Presentation template used for illustration"),
vocabulary='PyAMS illustration renderers',
default='hidden')
- language = Choice(title=_("Language"),
- description=_("File's content language"),
- vocabulary="PyAMS base languages",
- required=False)
-
class IIllustrationTarget(IAttributeAnnotatable):
"""Illustration target marker interface"""
@@ -89,12 +89,12 @@
description=_("Name under which the file will be saved"),
required=False)
+ language = Choice(title=_("Language"),
+ description=_("File's content language"),
+ vocabulary="PyAMS base languages",
+ required=False)
+
renderer = Choice(title=_("Illustration template"),
description=_("Presentation template used for illustration"),
vocabulary='PyAMS illustration renderers',
default='hidden')
-
- language = Choice(title=_("Language"),
- description=_("File's content language"),
- vocabulary="PyAMS base languages",
- required=False)