From b344ed12a17196edaad858c25c4afbd1f349558b Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Fri, 23 May 2025 17:01:49 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20refactor:=20Progress=20Text=20Lo?= =?UTF-8?q?calization=20for=20Running=20Tools=20(#7526)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/Chat/Messages/Content/ToolCall.tsx | 6 +++++- client/src/locales/en/translation.json | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/components/Chat/Messages/Content/ToolCall.tsx b/client/src/components/Chat/Messages/Content/ToolCall.tsx index 3d68c3fc16..c9ff328d0e 100644 --- a/client/src/components/Chat/Messages/Content/ToolCall.tsx +++ b/client/src/components/Chat/Messages/Content/ToolCall.tsx @@ -157,7 +157,11 @@ export default function ToolCall({ setShowInfo((prev) => !prev)} - inProgressText={localize('com_assistants_running_action')} + inProgressText={ + function_name + ? localize('com_assistants_running_var', { 0: function_name }) + : localize('com_assistants_running_action') + } authText={ !cancelled && authDomain.length > 0 ? localize('com_ui_requires_auth') : undefined } diff --git a/client/src/locales/en/translation.json b/client/src/locales/en/translation.json index 28ef49146b..9ae9de9645 100644 --- a/client/src/locales/en/translation.json +++ b/client/src/locales/en/translation.json @@ -62,6 +62,7 @@ "com_assistants_non_retrieval_model": "File search is not enabled on this model. Please select another model.", "com_assistants_retrieval": "Retrieval", "com_assistants_running_action": "Running action", + "com_assistants_running_var": "Running {{0}}", "com_assistants_search_name": "Search assistants by name", "com_assistants_update_actions_error": "There was an error creating or updating the action.", "com_assistants_update_actions_success": "Successfully created or updated Action",