From 195ad621f7ed98d4a324a505881001f7352c5d7a Mon Sep 17 00:00:00 2001 From: Nicolas Varrot Date: Wed, 11 Feb 2026 18:56:11 +0000 Subject: [PATCH] fix(i18n): use i18n key for 'Parameters' label in tool call expansion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 'Paramètres' label in ToolCall.tsx was hardcoded in French instead of using the i18n system. Added tool.parameters key to both EN and FR locales. --- src/components/ToolCall.tsx | 2 +- src/lib/i18n.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/ToolCall.tsx b/src/components/ToolCall.tsx index 69988b0..141b1c4 100644 --- a/src/components/ToolCall.tsx +++ b/src/components/ToolCall.tsx @@ -207,7 +207,7 @@ export function ToolCall({ name, input, result }: { name: string; input?: any; r
{inputStr && (
-
Paramètres
+
{t('tool.parameters')}
= { 'thinking.label': 'Réflexion', + 'tool.parameters': 'Paramètres', 'tool.result': 'Résultat', 'connection.reconnecting': 'Connexion perdue — reconnexion…',