From b7a70d2ac601dfe7fc523e9ba380b6e084d8eb96 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Mon, 2 Feb 2026 19:50:23 +0100 Subject: [PATCH] fix: correct translation key paths in pricing section template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pricing section template was using short keys like 'pricing.monthly' but the CMS locale files use the full path 'cms.platform.pricing.monthly'. Updated all translation keys in _pricing.html to use correct paths: - pricing.monthly → cms.platform.pricing.monthly - pricing.annual → cms.platform.pricing.annual - pricing.save_months → cms.platform.pricing.save_months - pricing.most_popular → cms.platform.pricing.most_popular - pricing.month → cms.platform.pricing.per_month - pricing.get_started → cms.platform.pricing.start_trial Co-Authored-By: Claude Opus 4.5 --- .../templates/cms/platform/sections/_pricing.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/modules/cms/templates/cms/platform/sections/_pricing.html b/app/modules/cms/templates/cms/platform/sections/_pricing.html index 24496b38..1d0713bc 100644 --- a/app/modules/cms/templates/cms/platform/sections/_pricing.html +++ b/app/modules/cms/templates/cms/platform/sections/_pricing.html @@ -37,7 +37,7 @@ {# Billing toggle #}
- {{ _('pricing.monthly') or 'Monthly' }} + {{ _('cms.platform.pricing.monthly') or 'Monthly' }} - {{ _('pricing.annual') or 'Annual' }} - {{ _('pricing.save_months') or 'Save 2 months!' }} + {{ _('cms.platform.pricing.annual') or 'Annual' }} + {{ _('cms.platform.pricing.save_months') or 'Save 2 months!' }}
@@ -58,7 +58,7 @@ {% if tier.is_popular %}
- {{ _('pricing.most_popular') or 'Most Popular' }} + {{ _('cms.platform.pricing.most_popular') or 'Most Popular' }}
{% endif %} @@ -77,13 +77,13 @@ x-text="annual ? '{{ tier.price_annual or (tier.price_monthly * 10)|int }}' : '{{ tier.price_monthly }}'"> {{ tier.price_monthly }} - /{{ _('pricing.month') or 'mo' }} + {{ _('cms.platform.pricing.per_month') or '/month' }} {# CTA button #} - {{ _('pricing.get_started') or 'Get Started' }} + {{ _('cms.platform.pricing.start_trial') or 'Start Free Trial' }} @@ -107,7 +107,7 @@ {% else %} {# Placeholder when no tiers available #}
- {{ _('pricing.coming_soon') or 'Pricing plans coming soon' }} + {{ _('cms.platform.pricing.coming_soon') or 'Pricing plans coming soon' }}
{% endif %}