From 1ec0c34ba7766fe520c15af2d41555a29bb262fb Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Thu, 2 Jul 2026 12:21:22 +0100 Subject: [PATCH] fix(dashboard): use default highlighting for API quick-start snippets (#707) * fix(dashboard): API page snippet highlighting and breadcrumb i18n Stop double-translating nav titles in breadcrumbs (t was called on already-localized strings like Audience and API). Use Code.Root default typescript highlighting for all API quick-start snippets instead of unsupported bash/python/go langs. Co-authored-by: Rotimi Best * revert(dashboard): drop breadcrumb i18n change from API page PR Translation warnings were unrelated; keep only the Shiki lang fix. Co-authored-by: Rotimi Best --------- Co-authored-by: Cursor Agent Co-authored-by: Rotimi Best --- .../src/lib/features/automation/pages/api.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/dashboard/src/lib/features/automation/pages/api.svelte b/apps/dashboard/src/lib/features/automation/pages/api.svelte index 95b74ecb..fdfeed64 100644 --- a/apps/dashboard/src/lib/features/automation/pages/api.svelte +++ b/apps/dashboard/src/lib/features/automation/pages/api.svelte @@ -116,7 +116,7 @@

{$t('automation.api.keys.secret_once')}

- +
@@ -216,7 +216,7 @@ - + @@ -224,7 +224,7 @@ - + @@ -232,7 +232,7 @@ - + @@ -240,7 +240,7 @@ - +