diff --git a/padelnomics/src/padelnomics/locales/de.json b/padelnomics/src/padelnomics/locales/de.json
index ace243e..2f79251 100644
--- a/padelnomics/src/padelnomics/locales/de.json
+++ b/padelnomics/src/padelnomics/locales/de.json
@@ -521,15 +521,80 @@
"sup_signup_step2": "Boost-Add-ons",
"sup_signup_step3": "Credit-Pakete",
"sup_signup_step4": "Kontodaten",
+ "sup_signup_page_title": "Anbieter-Registrierung",
+ "sup_signup_of_steps": "von 4",
"sup_success_h2": "Alles bereit!",
"sup_success_text": "Dein Anbieter-Konto wird aktiviert. Du erhältst in Kürze qualifizierte Leads, die Deinen Leistungen entsprechen.",
"sup_success_next_h3": "Was als nächstes passiert:",
"sup_success_btn": "Zum Lead-Feed",
+ "sup_success_page_title": "Willkommen!",
+ "sup_success_li1": "Dein Eintrag wird in wenigen Minuten aktualisiert",
+ "sup_success_li2": "Lead-Credits wurden deinem Konto hinzugefügt",
+ "sup_success_li3": "Prüfe deine E-Mail auf einen Anmelde-Link",
+ "sup_success_li4": "Durchsuche und entsperre Leads in deinem Feed",
"sup_waitlist_h1": "Auf die Warteliste für die Anbieter-Plattform",
"sup_waitlist_email_label": "E-Mail",
"sup_waitlist_submit": "Zur Warteliste",
"sup_waitlist_signin_text": "Bereits ein Konto?",
"sup_waitlist_signin_link": "Anmelden",
+ "sup_waitlist_page_title": "Anbieter-Warteliste",
+ "sup_waitlist_intro": "Wir bauen die ultimative Plattform, um verifizierte Padel-Anbieter mit Unternehmern zu verbinden. Sei Erster in der Schlange für den {plan_name}-Tier-Zugang.",
+ "sup_waitlist_plan_h3": "{name} Plan-Highlights",
+ "sup_waitlist_hint": "Frühzeitiger Zugang, exklusiver Launch-Preis und bevorzugtes Onboarding.",
+ "sup_waitlist_conf_page_title": "Du stehst auf der Anbieter-Warteliste",
+ "sup_waitlist_conf_h1": "Du stehst auf der Anbieter-Warteliste!",
+ "sup_waitlist_conf_msg": "Wir haben eine Bestätigung gesendet an:",
+ "sup_waitlist_conf_first_pre": "Du gehörst zu den ersten Anbietern mit Zugang zum ",
+ "sup_waitlist_conf_first_post": "-Tier bei unserem Launch.",
+ "sup_waitlist_conf_early_h3": "Was du als Frühmitglied erhältst:",
+ "sup_waitlist_conf_li1": "Erster Zugang zu qualifizierten Leads von Padel-Unternehmern",
+ "sup_waitlist_conf_li2": "Exklusiver Launch-Preis (für 12 Monate festgeschrieben)",
+ "sup_waitlist_conf_li3": "Vorrangiges Onboarding und Support bei der Eintragsoptimierung",
+ "sup_waitlist_conf_li4": "Hervorgehobene Platzierung im Verzeichnis beim Launch",
+ "sup_waitlist_conf_btn": "Anbieterverzeichnis durchsuchen",
+ "sup_btn_back": "Zurück",
+ "sup_step1_title": "Plan auswählen",
+ "sup_step1_sub": "Wähle den Plan, der zu deinen Wachstumszielen passt.",
+ "sup_step1_monthly": "Monatlich",
+ "sup_step1_yearly": "Jährlich",
+ "sup_step1_save_badge": "Bis zu 26 % sparen",
+ "sup_step1_popular": "Beliebtester",
+ "sup_step1_billed_yearly": "jährl. €{price}",
+ "sup_step1_billed_monthly": "monatliche Abrechnung",
+ "sup_step1_next": "Weiter: Add-ons",
+ "sup_step2_title": "Boost-Add-ons",
+ "sup_step2_sub_pre": "Erhöhe deine Sichtbarkeit mit optionalen Boosts.",
+ "sup_step2_sub_included": "Einige sind in deinem Plan enthalten.",
+ "sup_step2_included": "Im Plan enthalten",
+ "sup_step2_next": "Weiter: Credit-Pakete",
+ "sup_step3_title": "Credit-Pakete",
+ "sup_step3_sub": "Optional deine Lead-Credits aufstocken. Dein Plan enthält monatliche Credits — Pakete geben dir zusätzliche.",
+ "sup_step3_free": "Kostenlos",
+ "sup_step3_free_desc": "Nur Plan-Credits",
+ "sup_step3_next": "Weiter: Deine Daten",
+ "sup_step4_title": "Kontodaten",
+ "sup_step4_sub": "Erzähl uns von deinem Unternehmen und wie wir dich erreichen können.",
+ "sup_step4_contact_name": "Ansprechpartner",
+ "sup_step4_email": "E-Mail",
+ "sup_step4_phone": "Telefon",
+ "sup_step4_short_desc": "Kurzbeschreibung",
+ "sup_step4_short_desc_ph": "max. 160 Zeichen",
+ "sup_step4_service_cats": "Leistungskategorien",
+ "sup_step4_service_cats_ph": "z.B. schlüsselfertig, Beläge, Beleuchtung",
+ "sup_step4_service_area": "Servicegebiet (Länder)",
+ "sup_step4_years": "Jahre im Geschäft",
+ "sup_step4_projects": "Anzahl Projekte",
+ "sup_step4_claiming": "Eintrag beanspruchen:",
+ "sup_step4_order_h3": "Bestellübersicht",
+ "sup_step4_boost_row": "Boost-Add-ons",
+ "sup_step4_total_yearly": "Jahresgesamt",
+ "sup_step4_total_monthly": "Monatsgesamt",
+ "sup_step4_equiv": "/Mon. äquiv.",
+ "sup_step4_credit_row": "Credit-Paket (einmalig)",
+ "sup_step4_checkout": "Zur Kasse",
+ "sup_step4_loading": "Wird geladen…",
+ "sup_step4_error": "Etwas ist schiefgelaufen. Bitte versuch es erneut.",
+ "sup_step4_network_error": "Netzwerkfehler. Bitte überprüfe Deine Verbindung und versuch es erneut.",
"mkt_heading": "Padel-Märkte",
"mkt_subheading": "Kostenanalysen und Finanzprojektionen für Padel-Center weltweit.",
"mkt_search_placeholder": "Märkte suchen…",
diff --git a/padelnomics/src/padelnomics/locales/en.json b/padelnomics/src/padelnomics/locales/en.json
index 9fb492c..a2312bc 100644
--- a/padelnomics/src/padelnomics/locales/en.json
+++ b/padelnomics/src/padelnomics/locales/en.json
@@ -521,15 +521,80 @@
"sup_signup_step2": "Boost Add-Ons",
"sup_signup_step3": "Credit Packs",
"sup_signup_step4": "Account Details",
+ "sup_signup_page_title": "Supplier Signup",
+ "sup_signup_of_steps": "of 4",
"sup_success_h2": "You’re All Set!",
"sup_success_text": "Your supplier account is being activated. You’ll start receiving qualified leads matching your services.",
"sup_success_next_h3": "What happens next:",
"sup_success_btn": "Go to Lead Feed",
+ "sup_success_page_title": "Welcome!",
+ "sup_success_li1": "Your listing will be upgraded within minutes",
+ "sup_success_li2": "Lead credits have been added to your account",
+ "sup_success_li3": "Check your email for a sign-in link",
+ "sup_success_li4": "Browse and unlock leads in your feed",
"sup_waitlist_h1": "Join the Supplier Platform Waitlist",
"sup_waitlist_email_label": "Email",
"sup_waitlist_submit": "Join Waitlist",
"sup_waitlist_signin_text": "Already have an account?",
"sup_waitlist_signin_link": "Sign in",
+ "sup_waitlist_page_title": "Supplier Waitlist",
+ "sup_waitlist_intro": "We're building the ultimate platform to connect verified padel suppliers with entrepreneurs. Be first in line for {plan_name} tier access.",
+ "sup_waitlist_plan_h3": "{name} Plan Highlights",
+ "sup_waitlist_hint": "Get early access, exclusive launch pricing, and priority onboarding.",
+ "sup_waitlist_conf_page_title": "You're on the Supplier Waitlist",
+ "sup_waitlist_conf_h1": "You're on the Supplier Waitlist!",
+ "sup_waitlist_conf_msg": "We've sent a confirmation to:",
+ "sup_waitlist_conf_first_pre": "You'll be among the first suppliers with access to the ",
+ "sup_waitlist_conf_first_post": " tier when we launch.",
+ "sup_waitlist_conf_early_h3": "What you'll get as an early member:",
+ "sup_waitlist_conf_li1": "First access to qualified leads from padel entrepreneurs",
+ "sup_waitlist_conf_li2": "Exclusive launch pricing (locked in for 12 months)",
+ "sup_waitlist_conf_li3": "Priority onboarding and listing optimization support",
+ "sup_waitlist_conf_li4": "Featured placement in the directory at launch",
+ "sup_waitlist_conf_btn": "Browse Supplier Directory",
+ "sup_btn_back": "Back",
+ "sup_step1_title": "Choose Your Plan",
+ "sup_step1_sub": "Select the plan that fits your growth goals.",
+ "sup_step1_monthly": "Monthly",
+ "sup_step1_yearly": "Yearly",
+ "sup_step1_save_badge": "Save up to 26%",
+ "sup_step1_popular": "Most Popular",
+ "sup_step1_billed_yearly": "billed at €{price}/yr",
+ "sup_step1_billed_monthly": "billed monthly",
+ "sup_step1_next": "Next: Add-Ons",
+ "sup_step2_title": "Boost Add-Ons",
+ "sup_step2_sub_pre": "Increase your visibility with optional boosts.",
+ "sup_step2_sub_included": "Some are included in your plan.",
+ "sup_step2_included": "Included in plan",
+ "sup_step2_next": "Next: Credit Packs",
+ "sup_step3_title": "Credit Packs",
+ "sup_step3_sub": "Optionally top up your lead credits. Your plan includes monthly credits — packs give you extra.",
+ "sup_step3_free": "Free",
+ "sup_step3_free_desc": "Plan credits only",
+ "sup_step3_next": "Next: Your Details",
+ "sup_step4_title": "Account Details",
+ "sup_step4_sub": "Tell us about your company and how to reach you.",
+ "sup_step4_contact_name": "Contact Name",
+ "sup_step4_email": "Email",
+ "sup_step4_phone": "Phone",
+ "sup_step4_short_desc": "Short Description",
+ "sup_step4_short_desc_ph": "160 chars max",
+ "sup_step4_service_cats": "Service Categories",
+ "sup_step4_service_cats_ph": "e.g. turnkey, surfaces, lighting",
+ "sup_step4_service_area": "Service Area (countries)",
+ "sup_step4_years": "Years in Business",
+ "sup_step4_projects": "Project Count",
+ "sup_step4_claiming": "Claiming listing:",
+ "sup_step4_order_h3": "Order Summary",
+ "sup_step4_boost_row": "Boost add-ons",
+ "sup_step4_total_yearly": "Yearly total",
+ "sup_step4_total_monthly": "Monthly total",
+ "sup_step4_equiv": "/mo equiv.",
+ "sup_step4_credit_row": "Credit pack (one-time)",
+ "sup_step4_checkout": "Proceed to Checkout",
+ "sup_step4_loading": "Loading…",
+ "sup_step4_error": "Something went wrong. Please try again.",
+ "sup_step4_network_error": "Network error. Please check your connection and try again.",
"mkt_heading": "Padel Markets",
"mkt_subheading": "Cost analysis and financial projections for padel centers worldwide.",
"mkt_search_placeholder": "Search markets…",
diff --git a/padelnomics/src/padelnomics/suppliers/templates/suppliers/partials/signup_step_1.html b/padelnomics/src/padelnomics/suppliers/templates/suppliers/partials/signup_step_1.html
index 625a660..2510a22 100644
--- a/padelnomics/src/padelnomics/suppliers/templates/suppliers/partials/signup_step_1.html
+++ b/padelnomics/src/padelnomics/suppliers/templates/suppliers/partials/signup_step_1.html
@@ -1,6 +1,6 @@
-
{% if lang == 'de' %}Plan auswählen{% else %}Choose Your Plan{% endif %}
-
{% if lang == 'de' %}Wähle den Plan, der zu deinen Wachstumszielen passt.{% else %}Select the plan that fits your growth goals.{% endif %}
+
{{ t.sup_step1_title }}
+
{{ t.sup_step1_sub }}
-
{% if lang == 'de' %}Bestellübersicht{% else %}Order Summary{% endif %}
+
{{ t.sup_step4_order_h3 }}
{{ order.plan_name }} Plan
@@ -71,17 +71,17 @@
{% if order.boost_monthly > 0 %}
- {% if lang == 'de' %}Boost-Add-ons{% else %}Boost add-ons{% endif %}
+ {{ t.sup_step4_boost_row }}
+€{{ order.boost_monthly }}/mo
{% endif %}
- {% if order.billing_period == 'yearly' %}{% if lang == 'de' %}Jahresgesamt{% else %}Yearly total{% endif %}{% else %}{% if lang == 'de' %}Monatsgesamt{% else %}Monthly total{% endif %}{% endif %}
- €{{ order.monthly_total }}{% if order.billing_period == 'yearly' %}{% if lang == 'de' %}/Mon. äquiv.{% else %}/mo equiv.{% endif %}{% else %}/mo{% endif %}
+ {% if order.billing_period == 'yearly' %}{{ t.sup_step4_total_yearly }}{% else %}{{ t.sup_step4_total_monthly }}{% endif %}
+ €{{ order.monthly_total }}{% if order.billing_period == 'yearly' %}{{ t.sup_step4_equiv }}{% else %}/mo{% endif %}
{% if order.one_time_total > 0 %}
- {% if lang == 'de' %}Credit-Paket (einmalig){% else %}Credit pack (one-time){% endif %}
+ {{ t.sup_step4_credit_row }}
€{{ order.one_time_total }}
{% endif %}
@@ -91,8 +91,8 @@
{% if lang == 'de' %}Zurück{% else %}Back{% endif %}
-
{% if lang == 'de' %}Zur Kasse{% else %}Proceed to Checkout{% endif %}
+ hx-include="[name='_accumulated']">{{ t.sup_btn_back }}
+
{{ t.sup_step4_checkout }}
{{ t.sup_signup_step1 }}
- 1 {% if lang == 'de' %}von 4{% else %}of 4{% endif %}
+ 1 {{ t.sup_signup_of_steps }}
@@ -144,7 +144,7 @@ document.body.addEventListener('htmx:afterSwap', function(e) {
var n = parseInt(step.dataset.step);
var labels = [{{ t.sup_signup_step1 | tojson }}, {{ t.sup_signup_step2 | tojson }}, {{ t.sup_signup_step3 | tojson }}, {{ t.sup_signup_step4 | tojson }}];
document.getElementById('s-progress-label').textContent = labels[n-1] || '';
- document.getElementById('s-progress-count').textContent = n + ' {% if lang == 'de' %}von 4{% else %}of 4{% endif %}';
+ document.getElementById('s-progress-count').textContent = n + ' ' + {{ t.sup_signup_of_steps | tojson }};
document.getElementById('s-progress-fill').style.width = (n * 25) + '%';
}
}
diff --git a/padelnomics/src/padelnomics/suppliers/templates/suppliers/signup_success.html b/padelnomics/src/padelnomics/suppliers/templates/suppliers/signup_success.html
index 9544dd8..9725106 100644
--- a/padelnomics/src/padelnomics/suppliers/templates/suppliers/signup_success.html
+++ b/padelnomics/src/padelnomics/suppliers/templates/suppliers/signup_success.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% block title %}{% if lang == 'de' %}Willkommen! - {{ config.APP_NAME }}{% else %}Welcome! - {{ config.APP_NAME }}{% endif %}{% endblock %}
+{% block title %}{{ t.sup_success_page_title }} - {{ config.APP_NAME }}{% endblock %}
{% block content %}
@@ -16,10 +16,10 @@
{{ t.sup_success_next_h3 }}
- ✓ {% if lang == 'de' %}Dein Eintrag wird in wenigen Minuten aktualisiert{% else %}Your listing will be upgraded within minutes{% endif %}
- ✓ {% if lang == 'de' %}Lead-Credits wurden deinem Konto hinzugefügt{% else %}Lead credits have been added to your account{% endif %}
- ✓ {% if lang == 'de' %}Prüfe deine E-Mail auf einen Anmelde-Link{% else %}Check your email for a sign-in link{% endif %}
- ✓ {% if lang == 'de' %}Durchsuche und entsperre Leads in deinem Feed{% else %}Browse and unlock leads in your feed{% endif %}
+ ✓ {{ t.sup_success_li1 }}
+ ✓ {{ t.sup_success_li2 }}
+ ✓ {{ t.sup_success_li3 }}
+ ✓ {{ t.sup_success_li4 }}
diff --git a/padelnomics/src/padelnomics/suppliers/templates/suppliers/waitlist.html b/padelnomics/src/padelnomics/suppliers/templates/suppliers/waitlist.html
index ef2ed4a..a6da74b 100644
--- a/padelnomics/src/padelnomics/suppliers/templates/suppliers/waitlist.html
+++ b/padelnomics/src/padelnomics/suppliers/templates/suppliers/waitlist.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
-{% block title %}{% if lang == 'de' %}Anbieter-Warteliste - {{ config.APP_NAME }}{% else %}Supplier Waitlist - {{ config.APP_NAME }}{% endif %}{% endblock %}
+{% block title %}{{ t.sup_waitlist_page_title }} - {{ config.APP_NAME }}{% endblock %}
{% block content %}
@@ -8,10 +8,10 @@
{% set plan_info = plans.get(plan, plans['supplier_growth']) %}
{{ t.sup_waitlist_h1 }}
- {% if lang == 'de' %}Wir bauen die ultimative Plattform, um verifizierte Padel-Anbieter mit Unternehmern zu verbinden. Sei Erster in der Schlange für den {{ plan_info.name }}-Tier-Zugang.{% else %}We're building the ultimate platform to connect verified padel suppliers with entrepreneurs. Be first in line for {{ plan_info.name }} tier access.{% endif %}
+ {{ t.sup_waitlist_intro | tformat(plan_name=plan_info.name) }}
-
{% if lang == 'de' %}{{ plan_info.name }} Plan-Highlights{% else %}{{ plan_info.name }} Plan Highlights{% endif %}
+
{{ t.sup_waitlist_plan_h3 | tformat(name=plan_info.name) }}
{% set feature_list = plan_info.features_de if lang == 'de' else plan_info.features %}
{% for feature in feature_list[:4] %}
@@ -40,7 +40,7 @@
required
autofocus
>
- {% if lang == 'de' %}Frühzeitiger Zugang, exklusiver Launch-Preis und bevorzugtes Onboarding.{% else %}Get early access, exclusive launch pricing, and priority onboarding.{% endif %}
+ {{ t.sup_waitlist_hint }}
{{ t.sup_waitlist_submit }}
diff --git a/padelnomics/src/padelnomics/suppliers/templates/suppliers/waitlist_confirmed.html b/padelnomics/src/padelnomics/suppliers/templates/suppliers/waitlist_confirmed.html
index 230d9e9..068af97 100644
--- a/padelnomics/src/padelnomics/suppliers/templates/suppliers/waitlist_confirmed.html
+++ b/padelnomics/src/padelnomics/suppliers/templates/suppliers/waitlist_confirmed.html
@@ -1,32 +1,32 @@
{% extends "base.html" %}
-{% block title %}{% if lang == 'de' %}Du stehst auf der Anbieter-Warteliste - {{ config.APP_NAME }}{% else %}You're on the Supplier Waitlist - {{ config.APP_NAME }}{% endif %}{% endblock %}
+{% block title %}{{ t.sup_waitlist_conf_page_title }} - {{ config.APP_NAME }}{% endblock %}
{% block content %}
{% set plan_info = plans.get(plan, plans['supplier_growth']) %}
-
{% if lang == 'de' %}Du stehst auf der Anbieter-Warteliste!{% else %}You're on the Supplier Waitlist!{% endif %}
+
{{ t.sup_waitlist_conf_h1 }}
-
{% if lang == 'de' %}Wir haben eine Bestätigung gesendet an:{% else %}We've sent a confirmation to:{% endif %}
+
{{ t.sup_waitlist_conf_msg }}
{{ email }}
-
{% if lang == 'de' %}Du gehörst zu den ersten Anbietern mit Zugang zum {{ plan_info.name }} -Tier bei unserem Launch.{% else %}You'll be among the first suppliers with access to the {{ plan_info.name }} tier when we launch.{% endif %}
+
{{ t.sup_waitlist_conf_first_pre }}{{ plan_info.name }} {{ t.sup_waitlist_conf_first_post }}
-
{% if lang == 'de' %}Was du als Frühmitglied erhältst:{% else %}What you'll get as an early member:{% endif %}
+
{{ t.sup_waitlist_conf_early_h3 }}
- {% if lang == 'de' %}Erster Zugang zu qualifizierten Leads von Padel-Unternehmern{% else %}First access to qualified leads from padel entrepreneurs{% endif %}
- {% if lang == 'de' %}Exklusiver Launch-Preis (für 12 Monate festgeschrieben){% else %}Exclusive launch pricing (locked in for 12 months){% endif %}
- {% if lang == 'de' %}Vorrangiges Onboarding und Support bei der Eintragsoptimierung{% else %}Priority onboarding and listing optimization support{% endif %}
- {% if lang == 'de' %}Hervorgehobene Platzierung im Verzeichnis beim Launch{% else %}Featured placement in the directory at launch{% endif %}
+ {{ t.sup_waitlist_conf_li1 }}
+ {{ t.sup_waitlist_conf_li2 }}
+ {{ t.sup_waitlist_conf_li3 }}
+ {{ t.sup_waitlist_conf_li4 }}
-
{% if lang == 'de' %}Anbieterverzeichnis durchsuchen{% else %}Browse Supplier Directory{% endif %}
+
{{ t.sup_waitlist_conf_btn }}
{% endblock %}