From c1be7dd1ef094abf6ac0ecc11e903a21ca53855e Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Mon, 12 Jan 2026 12:32:43 +0100 Subject: [PATCH] fix: add package feature labels --- resources/js/admin/i18n/locales/de/management.json | 6 ++++++ resources/js/admin/i18n/locales/en/management.json | 6 ++++++ resources/js/admin/mobile/PackageShopPage.tsx | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/resources/js/admin/i18n/locales/de/management.json b/resources/js/admin/i18n/locales/de/management.json index b960656..47a9553 100644 --- a/resources/js/admin/i18n/locales/de/management.json +++ b/resources/js/admin/i18n/locales/de/management.json @@ -2944,7 +2944,13 @@ }, "features": { "advanced_analytics": "Erweiterte Analytics", + "basic_uploads": "Basis-Uploads", "custom_branding": "Eigenes Branding", + "custom_tasks": "Benutzerdefinierte Aufgaben", + "limited_sharing": "Begrenztes Teilen", + "live_slideshow": "Live-Slideshow", + "priority_support": "Priorisierter Support", + "unlimited_sharing": "Unbegrenztes Teilen", "watermark_removal": "Kein Wasserzeichen" }, "status": { diff --git a/resources/js/admin/i18n/locales/en/management.json b/resources/js/admin/i18n/locales/en/management.json index d279da7..91d846a 100644 --- a/resources/js/admin/i18n/locales/en/management.json +++ b/resources/js/admin/i18n/locales/en/management.json @@ -2948,7 +2948,13 @@ }, "features": { "advanced_analytics": "Advanced Analytics", + "basic_uploads": "Basic uploads", "custom_branding": "Custom Branding", + "custom_tasks": "Custom tasks", + "limited_sharing": "Limited sharing", + "live_slideshow": "Live slideshow", + "priority_support": "Priority support", + "unlimited_sharing": "Unlimited sharing", "watermark_removal": "No Watermark" }, "status": { diff --git a/resources/js/admin/mobile/PackageShopPage.tsx b/resources/js/admin/mobile/PackageShopPage.tsx index 9a7fcb8..68f1e5c 100644 --- a/resources/js/admin/mobile/PackageShopPage.tsx +++ b/resources/js/admin/mobile/PackageShopPage.tsx @@ -392,7 +392,7 @@ function PackageShopCompareView({ ); } else if (row.type === 'feature') { - const enabled = Boolean(entry.pkg.features?.[row.featureKey]); + const enabled = getEnabledPackageFeatures(entry.pkg).includes(row.featureKey); content = ( {enabled ? (