diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-10-03 11:42:54 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-10-03 11:42:54 (GMT) |
commit | c711bd0a4392ff8bb66d1b9a9ffe6e48ba5c8c6b (patch) | |
tree | 0a0fab376cda03882ca0d95ac877776d54251282 /charthelp.py | |
parent | f0b6e0d1d3ca19acd760de3c95acde290e136cfa (diff) |
rebase to Chart code; add new charts for journal data
Diffstat (limited to 'charthelp.py')
-rw-r--r-- | charthelp.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/charthelp.py b/charthelp.py new file mode 100644 index 0000000..6150141 --- /dev/null +++ b/charthelp.py @@ -0,0 +1,30 @@ +# Help for ChartActivity + +from gettext import gettext as _ + +from helpbutton import HelpButton + + +def create_help(toolbar): + helpitem = HelpButton() + toolbar.insert(helpitem, -1) + helpitem.show() + helpitem.add_section(_('Basic usage')) + helpitem.add_paragraph(_('First select data type:')) + helpitem.add_paragraph(_('The free space in the Journal;'), + 'import-freespace') + helpitem.add_paragraph(_('The types of Sugar Activities you have used;'), + 'import-journal') + helpitem.add_paragraph(_('The types of blocks used in Turtle Art.'), + 'import-turtle') + helpitem.add_paragraph(_('The graph title is the same as the Activity title')) + + helpitem.add_paragraph(_('You can change the type of graph:')) + helpitem.add_paragraph(_('Vertical bars'), 'vbar') + helpitem.add_paragraph(_('Horizontal bars'), 'hbar') + helpitem.add_paragraph(_('Lines'), 'line') + helpitem.add_paragraph(_('Pie'), 'pie') + + helpitem.add_section(_('Saving as an image')) + helpitem.add_paragraph(_('In the activity toolbar you have button to save the graph as an image'), + 'save-as-image') |