From 12e174b7f3abc625d94b7081f619a18cf246cbf1 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 31 Jul 2010 17:19:37 +0000 Subject: [PATCH] 3366: Assistant for new users svn: r15674 --- src/plugins/gramplet/FaqGramplet.py | 47 +++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/src/plugins/gramplet/FaqGramplet.py b/src/plugins/gramplet/FaqGramplet.py index ac8c75b3e..3edb5954d 100644 --- a/src/plugins/gramplet/FaqGramplet.py +++ b/src/plugins/gramplet/FaqGramplet.py @@ -25,6 +25,7 @@ #------------------------------------------------------------------------ from gen.plug import Gramplet from gen.ggettext import sgettext as _ +import const #------------------------------------------------------------------------ # @@ -35,19 +36,39 @@ class FAQGramplet(Gramplet): def init(self): self.set_use_markup(True) self.clear_text() - self.render_text(_("Frequently Asked Questions (need connection to internet)\n\n")) - self.render_text(_(" 1. How do I change the order of spouses?\n")) - self.render_text(_(" 2. Is it necessary to update Gramps every time an update is released?\n")) - self.render_text(_(" 3. How do I make backups safely?\n")) - self.render_text(_(" 4. How should information about marriages be entered?\n")) - self.render_text(_(" 5. What's the difference between a residence and an address?\n")) - self.render_text(_(" 6. How can I make a website with Gramps and my tree?\n")) - self.render_text(_(" 7. How do I record one's occupation?\n")) - self.render_text(_(" 8. What do I do if I have found a bug?\n")) - self.render_text(_(" 9. Is there a manual for Gramps?\n")) - self.render_text(_(" 10. Are there tutorials available?\n")) - self.render_text(_(" 11. How do I ...?\n")) - self.render_text(_(" 12. How can I help with Gramps?\n")) + WIKI = const.URL_MANUAL_PAGE + self.render_text(_("Frequently Asked Questions\n(needs a connection to the internet)\n") % WIKI) + self.render_text("\n%s\n\n" % _("Editing Spouses")) + + self.render_text(_(" 1. How do I change the order of spouses?\n") % WIKI) + self.render_text(_(" 2. How do I add an additional spouse?\n") % WIKI) + self.render_text(_(" 3. How do I remove a spouse?\n") % WIKI) + + self.render_text("\n%s\n\n" % _("Backups and Updates")) + + self.render_text(_(" 4. How do I make backups safely?\n") % WIKI) + self.render_text(_(" 5. Is it necessary to update Gramps every time an update is released?\n") % WIKI) + + self.render_text("\n%s\n\n" % _("Data Entry")) + + self.render_text(_(" 6. How should information about marriages be entered?\n") % WIKI) + self.render_text(_(" 7. What's the difference between a residence and an address?\n") % WIKI) + + self.render_text("\n%s\n\n" % _("Media Files")) + + self.render_text(_(" 8. How do you add a photo of a person/source/event?\n") % WIKI) + self.render_text(_(" 9. How do you find unused media objects?\n") % WIKI) + + self.render_text("\n%s\n\n" % _("Miscellaneous")) + + self.render_text(_(" 10. How can I make a website with Gramps and my tree?\n") % WIKI) + self.render_text(_(" 11. How do I record one's occupation?\n")) + self.render_text(_(" 12. What do I do if I have found a bug?\n") % WIKI) + self.render_text(_(" 13. Is there a manual for Gramps?\n")) + self.render_text(_(" 14. Are there tutorials available?\n")) + self.render_text(_(" 15. How do I ...?\n")) + self.render_text(_(" 16. How can I help with Gramps?\n")) + self.append_text("", scroll_to='begin') def post_init(self): self.disconnect("active-changed")