diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a08db9..a32c4d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +### Changed +- copy: switch all German UI copy from formal "Sie/Ihr" to informal "Du/Dein" — covers i18n.py (~60 keys), planner wizard step titles/subtitles, export waitlist page, quote wizard steps, quote submitted/verify pages, directory supplier detail, directory results partial, supplier signup step 4, supplier waitlist confirmed page +- copy: replace "Platz-Anbieter" with "Anbieter" in CTAs; "Anlage" → "Padel-Platz" in planner wizard step 1 title/subtitle and planner translations (wiz_venue, sl_budget_target); "Anlageplanung" → "Padelplatz-Planung" in service checklist +- copy: update directory H1 to SEO multi-term "Padelplatz-Hersteller, Platzbauer & Anbieter"; subheading now mentions Hersteller, Platzbauer, schlüsselfertige Lösungen +- copy: fix `mkt_no_results` and `mkt_search_placeholder` — replaced incorrect "Artikel" with "Märkte" in German and English (markets page shows market pages like Miami, not articles) + ### Added - i18n: translate `base.html`, `_cookie_banner.html` — "Manage Cookies", "About" footer links, feedback placeholder via `{{ t.key }}`; cookie banner heading/categories/descriptions/buttons; JS toggle text injected via `tojson` so "Manage"/"Close" states are also translated; `public/routes.py` feedback flash messages use `get_translations(g.lang)` keys - i18n: expand `i18n.py` with ~300 UI template keys, ~200 planner JS locale strings (`_PLANNER_TRANSLATIONS`), ~35 CAPEX/OPEX item name translations (`_CALC_ITEM_NAMES`), plus `get_planner_translations()` and `get_calc_item_names()` functions diff --git a/padelnomics/src/padelnomics/directory/templates/partials/results.html b/padelnomics/src/padelnomics/directory/templates/partials/results.html index 20c8493..d8113a7 100644 --- a/padelnomics/src/padelnomics/directory/templates/partials/results.html +++ b/padelnomics/src/padelnomics/directory/templates/partials/results.html @@ -38,7 +38,7 @@
-

{% if lang == 'de' %}Ihr Projektfoto{% else %}Your project photo{% endif %}

+

{% if lang == 'de' %}Dein Projektfoto{% else %}Your project photo{% endif %}

{% if lang == 'de' %}Ihre Kategorie{% else %}Your Category{% endif %}
@@ -47,10 +47,10 @@
?
-

{% if lang == 'de' %}Ihr Unternehmen{% else %}Your Company{% endif %}

+

{% if lang == 'de' %}Dein Unternehmen{% else %}Your Company{% endif %}

- {% if lang == 'de' %}Ihre Stadt, Land{% else %}Your City, Country{% endif %} + {% if lang == 'de' %}Deine Stadt, Land{% else %}Your City, Country{% endif %}

diff --git a/padelnomics/src/padelnomics/directory/templates/supplier_detail.html b/padelnomics/src/padelnomics/directory/templates/supplier_detail.html index becbe99..dff2dc2 100644 --- a/padelnomics/src/padelnomics/directory/templates/supplier_detail.html +++ b/padelnomics/src/padelnomics/directory/templates/supplier_detail.html @@ -361,7 +361,7 @@
+ placeholder="{% if lang == 'de' %}Erzähl {{ supplier.name }} von Deinem Projekt…{% else %}Tell {{ supplier.name }} about your project…{% endif %}">
@@ -500,7 +500,7 @@