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): ...@@ -57,16 +57,14 @@ class OOoChartWidget(Widget.Widget):
default = fields.StringField( default = fields.StringField(
'default', 'default',
title='Default', title='Default',
description=( description=("A default value (not used)."),
"A default value (not used)."),
default="", default="",
required=0) required=0)
listbox_form_id = fields.StringField( listbox_form_id = fields.StringField(
'listbox_form_id', 'listbox_form_id',
title='ListBox Form ID', title='ListBox Form ID',
description= \ description=("ID of the master form."),
"ID of the master form.",
default="", default="",
required=0) required=0)
property_names.append('listbox_form_id') property_names.append('listbox_form_id')
...@@ -74,16 +72,14 @@ class OOoChartWidget(Widget.Widget): ...@@ -74,16 +72,14 @@ class OOoChartWidget(Widget.Widget):
listbox_id = fields.StringField( listbox_id = fields.StringField(
'listbox_id', 'listbox_id',
title='ListBox ID', title='ListBox ID',
description= \ description=("ID of the listbox in the master form."),
"ID of the listbox in the master form.",
default="", default="",
required=0) required=0)
property_names.append('listbox_id') property_names.append('listbox_id')
image_display = fields.ListField('image_display', image_display = fields.ListField('image_display',
title='Image Display', title='Image Display',
description=( description=("Render size of this chart in HTML mode."),
"Render size of this chart in HTML mode."),
default='medium', default='medium',
items=[('thumbnail','thumbnail'), items=[('thumbnail','thumbnail'),
('xsmall', 'xsmall'), ('xsmall', 'xsmall'),
...@@ -106,7 +102,7 @@ class OOoChartWidget(Widget.Widget): ...@@ -106,7 +102,7 @@ class OOoChartWidget(Widget.Widget):
ooo_template = fields.StringField('ooo_template', ooo_template = fields.StringField('ooo_template',
title='OOo Template', title='OOo Template',
description=('The ID of a OOo Page Template' description=('The ID of a OOo Page Template'
' to render the ListBox'), 'to render the ListBox'),
default='ERP5Site_viewChart', default='ERP5Site_viewChart',
required=0) required=0)
property_names.append('ooo_template') property_names.append('ooo_template')
...@@ -136,7 +132,8 @@ class OOoChartWidget(Widget.Widget): ...@@ -136,7 +132,8 @@ class OOoChartWidget(Widget.Widget):
# vertical ="true" # vertical ="true"
chart_position = fields.ListField('chart_position', chart_position = fields.ListField('chart_position',
title='Bar 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', default='false',
items=[('horizontal', 'true'), items=[('horizontal', 'true'),
('vertical', 'false'), ('vertical', 'false'),
...@@ -155,7 +152,8 @@ class OOoChartWidget(Widget.Widget): ...@@ -155,7 +152,8 @@ class OOoChartWidget(Widget.Widget):
position_legend = fields.ListField('position_legend', position_legend = fields.ListField('position_legend',
title='Legend Position', title='Legend Position',
description=('Legend Position according to the graph'), description=(
'Legend Position according to the graph'),
default='end', default='end',
items=[('bottom', 'bottom'), items=[('bottom', 'bottom'),
('end', 'end'), ('end', 'end'),
...@@ -184,7 +182,8 @@ class OOoChartWidget(Widget.Widget): ...@@ -184,7 +182,8 @@ class OOoChartWidget(Widget.Widget):
grid_size = fields.ListField('grid_size', grid_size = fields.ListField('grid_size',
title='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', default='major',
items=[('major', 'major'), items=[('major', 'major'),
('minor', 'minor'), ('minor', 'minor'),
...@@ -226,7 +225,8 @@ class OOoChartWidget(Widget.Widget): ...@@ -226,7 +225,8 @@ class OOoChartWidget(Widget.Widget):
chart_three_dimensional = fields.CheckBoxField('chart_three_dimensional', chart_three_dimensional = fields.CheckBoxField('chart_three_dimensional',
title='3D', 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, default=0,
required=0) required=0)
property_names.append('chart_three_dimensional') property_names.append('chart_three_dimensional')
...@@ -475,7 +475,7 @@ class OOoChartWidget(Widget.Widget): ...@@ -475,7 +475,7 @@ class OOoChartWidget(Widget.Widget):
class OOoChartValidator(Validator.Validator): class OOoChartValidator(Validator.Validator):
""" """
""" """
property_names =Validator.Validator.property_names property_names = Validator.Validator.property_names
def validate(self, key,field, REQUEST): 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