diff --git a/bun.lock b/bun.lock index 5ce64721dc..cfde53b26a 100644 --- a/bun.lock +++ b/bun.lock @@ -7,7 +7,7 @@ "devDependencies": { "@biomejs/biome": "^1.9.4", "@changesets/cli": "^2.31.0", - "turbo": "^2.9.12", + "turbo": "^2.9.14", "vercel": "50.37.3", }, }, diff --git a/packages/gitbook/src/components/AIChat/AIChatButton.tsx b/packages/gitbook/src/components/AIChat/AIChatButton.tsx index bfe9587af3..abf533d347 100644 --- a/packages/gitbook/src/components/AIChat/AIChatButton.tsx +++ b/packages/gitbook/src/components/AIChat/AIChatButton.tsx @@ -1,6 +1,6 @@ 'use client'; import { useLanguage } from '@/intl/client'; -import { t } from '@/intl/translate'; +import { t, tString } from '@/intl/translate'; import type { Assistant } from '../AI'; import { useIsMobile } from '../hooks/useIsMobile'; import { Button } from '../primitives'; @@ -38,6 +38,7 @@ export function AIChatButton(props: { ) : null} } + aria-label={tString(language, 'ai_chat_ask', assistant.label)} onClick={() => assistant.open()} > {showLabel ? t(language, 'ask') : null} diff --git a/packages/gitbook/src/components/Ads/Ad.tsx b/packages/gitbook/src/components/Ads/Ad.tsx index 81fb4f64e4..9ece896149 100644 --- a/packages/gitbook/src/components/Ads/Ad.tsx +++ b/packages/gitbook/src/components/Ads/Ad.tsx @@ -132,7 +132,7 @@ function AdSponsoredLink(props: { spaceId: string }) { viaUrl.searchParams.set('utm_campaign', spaceId); return ( -
+