Commit c98f84ce authored by Nicolas Delaby's avatar Nicolas Delaby

Typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24635 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 91423515
......@@ -57,16 +57,14 @@ class OOoChartWidget(Widget.Widget):
default = fields.StringField(
'default',
title='Default',
description=(
"A default value (not used)."),
description=("A default value (not used)."),
default="",
required=0)
listbox_form_id = fields.StringField(
'listbox_form_id',
title='ListBox Form ID',
description= \
"ID of the master form.",
description=("ID of the master form."),
default="",
required=0)
property_names.append('listbox_form_id')
......@@ -74,16 +72,14 @@ class OOoChartWidget(Widget.Widget):
listbox_id = fields.StringField(
'listbox_id',
title='ListBox ID',
description= \
"ID of the listbox in the master form.",
description=("ID of the listbox in the master form."),
default="",
required=0)
property_names.append('listbox_id')
image_display = fields.ListField('image_display',
title='Image Display',
description=(
"Render size of this chart in HTML mode."),
description=("Render size of this chart in HTML mode."),
default='medium',
items=[('thumbnail','thumbnail'),
('xsmall', 'xsmall'),
......@@ -106,7 +102,7 @@ class OOoChartWidget(Widget.Widget):
ooo_template = fields.StringField('ooo_template',
title='OOo Template',
description=('The ID of a OOo Page Template'
' to render the ListBox'),
'to render the ListBox'),
default='ERP5Site_viewChart',
required=0)
property_names.append('ooo_template')
......@@ -136,7 +132,8 @@ class OOoChartWidget(Widget.Widget):
# vertical ="true"
chart_position = fields.ListField('chart_position',
title='Bar Position',
description=('Render the bar in horizontal position or vertical position'),
description=(
'Render the bar in horizontal position or vertical position'),
default='false',
items=[('horizontal', 'true'),
('vertical', 'false'),
......@@ -155,7 +152,8 @@ class OOoChartWidget(Widget.Widget):
position_legend = fields.ListField('position_legend',
title='Legend Position',
description=('Legend Position according to the graph'),
description=(
'Legend Position according to the graph'),
default='end',
items=[('bottom', 'bottom'),
('end', 'end'),
......@@ -184,7 +182,8 @@ class OOoChartWidget(Widget.Widget):
grid_size = fields.ListField('grid_size',
title='Grid Size',
description=('Render a big grid size or a small grid size'),
description=(
'Render a big grid size or a small grid size'),
default='major',
items=[('major', 'major'),
('minor', 'minor'),
......@@ -226,7 +225,8 @@ class OOoChartWidget(Widget.Widget):
chart_three_dimensional = fields.CheckBoxField('chart_three_dimensional',
title='3D',
description=('Render the chart in three dimensions rather in flat mode'),
description=(
'Render the chart in three dimensions rather in flat mode'),
default=0,
required=0)
property_names.append('chart_three_dimensional')
......@@ -475,7 +475,7 @@ class OOoChartWidget(Widget.Widget):
class OOoChartValidator(Validator.Validator):
"""
"""
property_names =Validator.Validator.property_names
property_names = Validator.Validator.property_names
def validate(self, key,field, REQUEST):
......
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