From ccbd3e1962ea292489e8a1bfb06f9207bcc3e3af Mon Sep 17 00:00:00 2001 From: claude_code Date: Sun, 21 Jun 2026 21:35:29 +0300 Subject: [PATCH] =?UTF-8?q?i18n(ai-chat):=20rename=20typing=20indicator=20?= =?UTF-8?q?to=20"Thinking=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the AI chat typing indicator text "AI is typing…" with "Thinking…". - typing-indicator.tsx: use t("Thinking…") instead of t("AI is typing…") - en-US: drop the now-redundant "AI is typing…" key (the "Thinking…" key already existed and was unused) - ru-RU: rename the key to "Thinking…" with value "Думаю…" - update related comments in message-list.tsx and the test file --- apps/client/public/locales/en-US/translation.json | 1 - apps/client/public/locales/ru-RU/translation.json | 2 +- apps/client/src/features/ai-chat/components/message-list.tsx | 2 +- .../features/ai-chat/components/show-typing-indicator.test.ts | 2 +- .../src/features/ai-chat/components/typing-indicator.tsx | 4 ++-- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/client/public/locales/en-US/translation.json b/apps/client/public/locales/en-US/translation.json index 0f05d69f..fc39a8d9 100644 --- a/apps/client/public/locales/en-US/translation.json +++ b/apps/client/public/locales/en-US/translation.json @@ -1147,7 +1147,6 @@ "Take a look at the current document": "Take a look at the current document", "AI agent is typing…": "AI agent is typing…", "{{name}} is typing…": "{{name}} is typing…", - "AI is typing…": "AI is typing…", "Send": "Send", "Stop": "Stop", "Chat menu": "Chat menu", diff --git a/apps/client/public/locales/ru-RU/translation.json b/apps/client/public/locales/ru-RU/translation.json index 816da5d6..73a68aa4 100644 --- a/apps/client/public/locales/ru-RU/translation.json +++ b/apps/client/public/locales/ru-RU/translation.json @@ -672,7 +672,7 @@ "Take a look at the current document": "Посмотри текущий документ", "AI agent is typing…": "AI-агент печатает…", "{{name}} is typing…": "{{name}} печатает…", - "AI is typing…": "AI печатает…", + "Thinking…": "Думаю…", "Agent role": "Роль агента", "AI chat": "AI-чат", "AI chat is disabled for this workspace.": "AI-чат отключён для этого рабочего пространства.", diff --git a/apps/client/src/features/ai-chat/components/message-list.tsx b/apps/client/src/features/ai-chat/components/message-list.tsx index 1314bf38..f9debc57 100644 --- a/apps/client/src/features/ai-chat/components/message-list.tsx +++ b/apps/client/src/features/ai-chat/components/message-list.tsx @@ -43,7 +43,7 @@ interface MessageListProps { const BOTTOM_THRESHOLD = 40; /** - * Whether to show the standalone "AI is typing…" indicator. It bridges every + * Whether to show the standalone "Thinking…" indicator. It bridges every * gap in a turn where the assistant is working but nothing visible is actively * being produced yet — so it shows while a turn is in flight AND the latest * assistant message's LAST part is not live output: diff --git a/apps/client/src/features/ai-chat/components/show-typing-indicator.test.ts b/apps/client/src/features/ai-chat/components/show-typing-indicator.test.ts index a1a97815..0c18431b 100644 --- a/apps/client/src/features/ai-chat/components/show-typing-indicator.test.ts +++ b/apps/client/src/features/ai-chat/components/show-typing-indicator.test.ts @@ -5,7 +5,7 @@ import { showTypingIndicator } from "@/features/ai-chat/components/message-list. /** * Pure-helper tests for the typing-indicator bridging logic that the internal * chat and the public share widget now share. This is the behavior that decides - * whether the animated "AI is typing…" placeholder shows in the gap + * whether the animated "Thinking…" placeholder shows in the gap * between sending and the first streamed token. */ const msg = ( diff --git a/apps/client/src/features/ai-chat/components/typing-indicator.tsx b/apps/client/src/features/ai-chat/components/typing-indicator.tsx index 9dce2a7d..fce0dcee 100644 --- a/apps/client/src/features/ai-chat/components/typing-indicator.tsx +++ b/apps/client/src/features/ai-chat/components/typing-indicator.tsx @@ -21,7 +21,7 @@ interface TypingIndicatorProps { * Mirrors the assistant row layout in MessageItem (the dimmed label), so it reads * as the assistant's bubble taking shape. The dimmed label uses the configured * identity name when provided (otherwise the generic "AI agent"), while the - * typing line is always the generic "AI is typing…" (it never includes the + * typing line is always the generic "Thinking…" (it never includes the * role/identity name). */ export default function TypingIndicator({ assistantName }: TypingIndicatorProps) { @@ -40,7 +40,7 @@ export default function TypingIndicator({ assistantName }: TypingIndicatorProps) - {t("AI is typing…")} + {t("Thinking…")}