From 3dd32737bdb46d735117f2fb7934fb1aa0415c71 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Sun, 20 Feb 2022 15:41:23 +0100
Subject: [PATCH] Add help texts for steps

---
 aleksis/apps/paweljong/views.py | 43 ++++++++++++++++++++++-----------
 1 file changed, 29 insertions(+), 14 deletions(-)

diff --git a/aleksis/apps/paweljong/views.py b/aleksis/apps/paweljong/views.py
index b166913..6504a8a 100644
--- a/aleksis/apps/paweljong/views.py
+++ b/aleksis/apps/paweljong/views.py
@@ -384,38 +384,53 @@ class RegisterEventWizardView(SessionWizardView):
         if self.steps.current == "email":
             context["page_title"] = ""
             context["browser_title"] = ""
-            context["info_title"] = "foobar"
-            context["info_text"] = "barfoo"
+            context["info_title"] = _("Create e-mail address")
+            context["info_text"] = _("All participants need a personal e-mail address, which they check and read "
+                                     "temselves. We offer the possibility to register an e-mail address "
+                                     "on our secure servers, made for young users.")
         elif self.steps.current == "register":
             context["page_title"] = ""
             context["browser_title"] = ""
-            context["info_title"] = "foobar"
-            context["info_text"] = "barfoo"
+            context["info_title"] = _("Event registration")
+            context["info_text"] = _("First, please enter some basic information about yourself, and check "
+                                     "whether all information is correct.")
         elif self.steps.current == "contact_details":
             context["page_title"] = ""
             context["browser_title"] = ""
-            context["info_title"] = "foobar"
-            context["info_text"] = "barfoo"
+            context["info_title"] = _("Contact information")
+            context["info_text"] = _("Tell us how we can contact you. You will receive information about "
+                                     "the event by e-mail. Please use your personal e-mail address ",
+                                     "where you will read mails yourself, not an address of your parents. "
+                                     "We will always send all important information to your parents as well, "
+                                     "and you will enter their e-mail address on the next page.")
         elif self.steps.current == "guardians":
             context["page_title"] = ""
             context["browser_title"] = ""
-            context["info_title"] = "foobar"
-            context["info_text"] = "barfoo"
+            context["info_title"] = _("Legal guardians / parents")
+            context["info_text"] = _("Tell us how we can reach your parents or other legal guardians. "
+                                     "This should be the person who was present when you registered for the "
+                                     "event (which is now). If you want to add another parent, please tell us "
+                                     "later as a comment.")
         elif self.steps.current == "additional":
             context["page_title"] = ""
             context["browser_title"] = ""
-            context["info_title"] = "foobar"
-            context["info_text"] = "barfoo"
+            context["info_title"] = _("Additional registration information")
+            context["info_text"] = _("Please answer the following questions as precisely as you can, so "
+                                     "we can make sure your event attendance will be organised as wel las possible.")
         elif self.steps.current == "financial":
             context["page_title"] = ""
             context["browser_title"] = ""
-            context["info_title"] = "foobar"
-            context["info_text"] = "barfoo"
+            context["info_title"] = _("Payment")
+            context["info_text"] = _("By default, we will send you an invoice, which you or your parents "
+                                     "can pay by bank transfer. You can also choose to pay by direct debit – "
+                                     "please make sure to enter exactly what your parents tell you.")
         elif self.steps.current == "consent":
             context["page_title"] = ""
             context["browser_title"] = ""
-            context["info_title"] = "foobar"
-            context["info_text"] = "barfoo"
+            context["info_title"] = _("Consent")
+            context["info_text"] = _("Lastly, please read the terms and conditions carefully, together "
+                                     "with your parents. After that, you will need to confirm that you "
+                                     "agree with everything yourself, and that your parents also agree.")
 
         return context
 
-- 
GitLab