From b858d418aa413da2080c57e8b9d30ce30fbebc21 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 31 May 2026 06:03:53 +0100 Subject: [PATCH] fix(ui): localize tool error card label --- ui/src/i18n/.i18n/ar.meta.json | 10 ++++++---- ui/src/i18n/.i18n/de.meta.json | 10 ++++++---- ui/src/i18n/.i18n/es.meta.json | 10 ++++++---- ui/src/i18n/.i18n/fa.meta.json | 10 ++++++---- ui/src/i18n/.i18n/fr.meta.json | 10 ++++++---- ui/src/i18n/.i18n/id.meta.json | 10 ++++++---- ui/src/i18n/.i18n/it.meta.json | 10 ++++++---- ui/src/i18n/.i18n/ja-JP.meta.json | 10 ++++++---- ui/src/i18n/.i18n/ko.meta.json | 10 ++++++---- ui/src/i18n/.i18n/nl.meta.json | 10 ++++++---- ui/src/i18n/.i18n/pl.meta.json | 10 ++++++---- ui/src/i18n/.i18n/pt-BR.meta.json | 10 ++++++---- ui/src/i18n/.i18n/th.meta.json | 10 ++++++---- ui/src/i18n/.i18n/tr.meta.json | 10 ++++++---- ui/src/i18n/.i18n/uk.meta.json | 10 ++++++---- ui/src/i18n/.i18n/vi.meta.json | 10 ++++++---- ui/src/i18n/.i18n/zh-CN.meta.json | 10 ++++++---- ui/src/i18n/.i18n/zh-TW.meta.json | 10 ++++++---- ui/src/i18n/locales/ar.ts | 3 +++ ui/src/i18n/locales/de.ts | 3 +++ ui/src/i18n/locales/en.ts | 3 +++ ui/src/i18n/locales/es.ts | 3 +++ ui/src/i18n/locales/fa.ts | 3 +++ ui/src/i18n/locales/fr.ts | 3 +++ ui/src/i18n/locales/id.ts | 3 +++ ui/src/i18n/locales/it.ts | 3 +++ ui/src/i18n/locales/ja-JP.ts | 3 +++ ui/src/i18n/locales/ko.ts | 3 +++ ui/src/i18n/locales/nl.ts | 3 +++ ui/src/i18n/locales/pl.ts | 3 +++ ui/src/i18n/locales/pt-BR.ts | 3 +++ ui/src/i18n/locales/th.ts | 3 +++ ui/src/i18n/locales/tr.ts | 3 +++ ui/src/i18n/locales/uk.ts | 3 +++ ui/src/i18n/locales/vi.ts | 3 +++ ui/src/i18n/locales/zh-CN.ts | 3 +++ ui/src/i18n/locales/zh-TW.ts | 3 +++ ui/src/ui/chat/tool-cards.ts | 3 ++- 38 files changed, 167 insertions(+), 73 deletions(-) diff --git a/ui/src/i18n/.i18n/ar.meta.json b/ui/src/i18n/.i18n/ar.meta.json index 9f528de8392a..426e3786b3f4 100644 --- a/ui/src/i18n/.i18n/ar.meta.json +++ b/ui/src/i18n/.i18n/ar.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:53.789Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:18.777Z", "locale": "ar", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/de.meta.json b/ui/src/i18n/.i18n/de.meta.json index 052a4111fcf2..43ad23cb87d0 100644 --- a/ui/src/i18n/.i18n/de.meta.json +++ b/ui/src/i18n/.i18n/de.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:50.267Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:15.750Z", "locale": "de", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/es.meta.json b/ui/src/i18n/.i18n/es.meta.json index 0f1a3e0815f1..757cfb5a354b 100644 --- a/ui/src/i18n/.i18n/es.meta.json +++ b/ui/src/i18n/.i18n/es.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:50.968Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:16.353Z", "locale": "es", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/fa.meta.json b/ui/src/i18n/.i18n/fa.meta.json index 44c1226d119c..0ae3af7fbd4a 100644 --- a/ui/src/i18n/.i18n/fa.meta.json +++ b/ui/src/i18n/.i18n/fa.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:59:00.128Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:24.420Z", "locale": "fa", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/fr.meta.json b/ui/src/i18n/.i18n/fr.meta.json index 895b8fd1a916..d4764271bf4e 100644 --- a/ui/src/i18n/.i18n/fr.meta.json +++ b/ui/src/i18n/.i18n/fr.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:53.086Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:18.183Z", "locale": "fr", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/id.meta.json b/ui/src/i18n/.i18n/id.meta.json index ef353a3a036b..044d0baf9d84 100644 --- a/ui/src/i18n/.i18n/id.meta.json +++ b/ui/src/i18n/.i18n/id.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:56.596Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:21.208Z", "locale": "id", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/it.meta.json b/ui/src/i18n/.i18n/it.meta.json index 77eed646e86d..3450e4b15d27 100644 --- a/ui/src/i18n/.i18n/it.meta.json +++ b/ui/src/i18n/.i18n/it.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:54.491Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:19.382Z", "locale": "it", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/ja-JP.meta.json b/ui/src/i18n/.i18n/ja-JP.meta.json index e7476eab2e49..eb33c5a4e2bd 100644 --- a/ui/src/i18n/.i18n/ja-JP.meta.json +++ b/ui/src/i18n/.i18n/ja-JP.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:51.672Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:16.964Z", "locale": "ja-JP", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/ko.meta.json b/ui/src/i18n/.i18n/ko.meta.json index 952f7b86eb61..6294357c3f1f 100644 --- a/ui/src/i18n/.i18n/ko.meta.json +++ b/ui/src/i18n/.i18n/ko.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:52.390Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:17.580Z", "locale": "ko", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/nl.meta.json b/ui/src/i18n/.i18n/nl.meta.json index 26b5c5e41413..1eeb9a340a35 100644 --- a/ui/src/i18n/.i18n/nl.meta.json +++ b/ui/src/i18n/.i18n/nl.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:59.409Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:23.823Z", "locale": "nl", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/pl.meta.json b/ui/src/i18n/.i18n/pl.meta.json index 4c660e527480..47d012a7b3d1 100644 --- a/ui/src/i18n/.i18n/pl.meta.json +++ b/ui/src/i18n/.i18n/pl.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:57.290Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:21.826Z", "locale": "pl", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/pt-BR.meta.json b/ui/src/i18n/.i18n/pt-BR.meta.json index eebec7c66a6a..e11c2294ccc3 100644 --- a/ui/src/i18n/.i18n/pt-BR.meta.json +++ b/ui/src/i18n/.i18n/pt-BR.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:49.558Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:15.153Z", "locale": "pt-BR", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/th.meta.json b/ui/src/i18n/.i18n/th.meta.json index 3e0b0607afb0..c53622304d61 100644 --- a/ui/src/i18n/.i18n/th.meta.json +++ b/ui/src/i18n/.i18n/th.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:57.996Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:22.432Z", "locale": "th", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/tr.meta.json b/ui/src/i18n/.i18n/tr.meta.json index fff85bce8031..fe5425cc076a 100644 --- a/ui/src/i18n/.i18n/tr.meta.json +++ b/ui/src/i18n/.i18n/tr.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:55.193Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:19.995Z", "locale": "tr", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/uk.meta.json b/ui/src/i18n/.i18n/uk.meta.json index 4ba0358bd027..5f19adfceaa6 100644 --- a/ui/src/i18n/.i18n/uk.meta.json +++ b/ui/src/i18n/.i18n/uk.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:55.895Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:20.600Z", "locale": "uk", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/vi.meta.json b/ui/src/i18n/.i18n/vi.meta.json index 3b16a2e0d668..ef5c5e9395ae 100644 --- a/ui/src/i18n/.i18n/vi.meta.json +++ b/ui/src/i18n/.i18n/vi.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:58.704Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:23.215Z", "locale": "vi", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/zh-CN.meta.json b/ui/src/i18n/.i18n/zh-CN.meta.json index 6e0fb37afb7b..6c94cb2d4280 100644 --- a/ui/src/i18n/.i18n/zh-CN.meta.json +++ b/ui/src/i18n/.i18n/zh-CN.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:48.092Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:13.926Z", "locale": "zh-CN", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/.i18n/zh-TW.meta.json b/ui/src/i18n/.i18n/zh-TW.meta.json index 90f54011fd84..1b39d3647162 100644 --- a/ui/src/i18n/.i18n/zh-TW.meta.json +++ b/ui/src/i18n/.i18n/zh-TW.meta.json @@ -1,11 +1,13 @@ { - "fallbackKeys": [], - "generatedAt": "2026-05-30T19:58:48.848Z", + "fallbackKeys": [ + "chat.toolCards.toolError" + ], + "generatedAt": "2026-05-31T05:03:14.552Z", "locale": "zh-TW", "model": "gpt-5.5", "provider": "openai", - "sourceHash": "6a593959229f82b0f1b312c7d387f1095137a71067734613f0ef98d8085dea5a", - "totalKeys": 1289, + "sourceHash": "8a217d36d3f11e701c8d4a27a7040af327297ed4fdd01d89d15b62a79e8acefd", + "totalKeys": 1290, "translatedKeys": 1289, "workflow": 1 } diff --git a/ui/src/i18n/locales/ar.ts b/ui/src/i18n/locales/ar.ts index b26a05d084c9..eed58ef942ab 100644 --- a/ui/src/i18n/locales/ar.ts +++ b/ui/src/i18n/locales/ar.ts @@ -1273,6 +1273,9 @@ export const ar: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "English (الإنجليزية)", diff --git a/ui/src/i18n/locales/de.ts b/ui/src/i18n/locales/de.ts index 66a7ede269a3..6204e8cd43bb 100644 --- a/ui/src/i18n/locales/de.ts +++ b/ui/src/i18n/locales/de.ts @@ -1297,6 +1297,9 @@ export const de: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "Englisch", diff --git a/ui/src/i18n/locales/en.ts b/ui/src/i18n/locales/en.ts index b232e5fa17f1..0bfc4f5f884d 100644 --- a/ui/src/i18n/locales/en.ts +++ b/ui/src/i18n/locales/en.ts @@ -1279,6 +1279,9 @@ export const en: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "English", diff --git a/ui/src/i18n/locales/es.ts b/ui/src/i18n/locales/es.ts index 59b2166f4bf2..be26851608c5 100644 --- a/ui/src/i18n/locales/es.ts +++ b/ui/src/i18n/locales/es.ts @@ -1294,6 +1294,9 @@ export const es: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "Inglés (English)", diff --git a/ui/src/i18n/locales/fa.ts b/ui/src/i18n/locales/fa.ts index e75966c1c3fe..d38cc18ef263 100644 --- a/ui/src/i18n/locales/fa.ts +++ b/ui/src/i18n/locales/fa.ts @@ -1290,6 +1290,9 @@ export const fa: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "English (انگلیسی)", diff --git a/ui/src/i18n/locales/fr.ts b/ui/src/i18n/locales/fr.ts index bb3f80e3cec0..95956e7a158a 100644 --- a/ui/src/i18n/locales/fr.ts +++ b/ui/src/i18n/locales/fr.ts @@ -1301,6 +1301,9 @@ export const fr: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "Anglais", diff --git a/ui/src/i18n/locales/id.ts b/ui/src/i18n/locales/id.ts index 98ff595cebe7..b5f65d13ed49 100644 --- a/ui/src/i18n/locales/id.ts +++ b/ui/src/i18n/locales/id.ts @@ -1288,6 +1288,9 @@ export const id: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "Inggris", diff --git a/ui/src/i18n/locales/it.ts b/ui/src/i18n/locales/it.ts index 6cddba27d58e..40a50a1b79e2 100644 --- a/ui/src/i18n/locales/it.ts +++ b/ui/src/i18n/locales/it.ts @@ -1295,6 +1295,9 @@ export const it: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "English (Inglese)", diff --git a/ui/src/i18n/locales/ja-JP.ts b/ui/src/i18n/locales/ja-JP.ts index 8111850330c6..60266569ebc5 100644 --- a/ui/src/i18n/locales/ja-JP.ts +++ b/ui/src/i18n/locales/ja-JP.ts @@ -1292,6 +1292,9 @@ export const ja_JP: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "英語", diff --git a/ui/src/i18n/locales/ko.ts b/ui/src/i18n/locales/ko.ts index 02de285fbfbc..e1326eaee0f3 100644 --- a/ui/src/i18n/locales/ko.ts +++ b/ui/src/i18n/locales/ko.ts @@ -1281,6 +1281,9 @@ export const ko: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "영어", diff --git a/ui/src/i18n/locales/nl.ts b/ui/src/i18n/locales/nl.ts index 948b590b9c1d..bc765de239e8 100644 --- a/ui/src/i18n/locales/nl.ts +++ b/ui/src/i18n/locales/nl.ts @@ -1293,6 +1293,9 @@ export const nl: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "English (Engels)", diff --git a/ui/src/i18n/locales/pl.ts b/ui/src/i18n/locales/pl.ts index 1de1436e62b4..3cbcd47de6a9 100644 --- a/ui/src/i18n/locales/pl.ts +++ b/ui/src/i18n/locales/pl.ts @@ -1293,6 +1293,9 @@ export const pl: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "Angielski (English)", diff --git a/ui/src/i18n/locales/pt-BR.ts b/ui/src/i18n/locales/pt-BR.ts index 504203545763..84e384fc3aa1 100644 --- a/ui/src/i18n/locales/pt-BR.ts +++ b/ui/src/i18n/locales/pt-BR.ts @@ -1289,6 +1289,9 @@ export const pt_BR: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "Inglês", diff --git a/ui/src/i18n/locales/th.ts b/ui/src/i18n/locales/th.ts index 3977573c0df8..02d3d0a8f3cf 100644 --- a/ui/src/i18n/locales/th.ts +++ b/ui/src/i18n/locales/th.ts @@ -1258,6 +1258,9 @@ export const th: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "อังกฤษ", diff --git a/ui/src/i18n/locales/tr.ts b/ui/src/i18n/locales/tr.ts index 9b6613008a05..3d23825bc571 100644 --- a/ui/src/i18n/locales/tr.ts +++ b/ui/src/i18n/locales/tr.ts @@ -1294,6 +1294,9 @@ export const tr: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "İngilizce", diff --git a/ui/src/i18n/locales/uk.ts b/ui/src/i18n/locales/uk.ts index 0a035201e7b8..a1a558e5b26c 100644 --- a/ui/src/i18n/locales/uk.ts +++ b/ui/src/i18n/locales/uk.ts @@ -1291,6 +1291,9 @@ export const uk: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "Англійська", diff --git a/ui/src/i18n/locales/vi.ts b/ui/src/i18n/locales/vi.ts index 0aa1bddf3987..e9d731bfff65 100644 --- a/ui/src/i18n/locales/vi.ts +++ b/ui/src/i18n/locales/vi.ts @@ -1280,6 +1280,9 @@ export const vi: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "English (Tiếng Anh)", diff --git a/ui/src/i18n/locales/zh-CN.ts b/ui/src/i18n/locales/zh-CN.ts index e6484e1c26e0..b4fe96a3e811 100644 --- a/ui/src/i18n/locales/zh-CN.ts +++ b/ui/src/i18n/locales/zh-CN.ts @@ -1253,6 +1253,9 @@ export const zh_CN: TranslationMap = { model: "聊天模型", thinkingLevel: "聊天思考级别", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "英语", diff --git a/ui/src/i18n/locales/zh-TW.ts b/ui/src/i18n/locales/zh-TW.ts index 1c357ea6ddde..61af0ebd3b63 100644 --- a/ui/src/i18n/locales/zh-TW.ts +++ b/ui/src/i18n/locales/zh-TW.ts @@ -1255,6 +1255,9 @@ export const zh_TW: TranslationMap = { model: "Chat model", thinkingLevel: "Chat thinking level", }, + toolCards: { + toolError: "Tool error", + }, }, languages: { en: "英文", diff --git a/ui/src/ui/chat/tool-cards.ts b/ui/src/ui/chat/tool-cards.ts index 78a0428b9a69..0d792c94820d 100644 --- a/ui/src/ui/chat/tool-cards.ts +++ b/ui/src/ui/chat/tool-cards.ts @@ -1,5 +1,6 @@ import { html, nothing } from "lit"; import { extractCanvasFromText } from "../../../../src/chat/canvas-render.js"; +import { t } from "../../i18n/index.ts"; import { resolveCanvasIframeUrl } from "../canvas-url.ts"; import { resolveEmbedSandbox, type EmbedSandboxMode } from "../embed-sandbox.ts"; import { icons } from "../icons.ts"; @@ -578,7 +579,7 @@ function resolveCollapsedToolSummaryParts(params: { isError: boolean; }): { label: string; name?: string } { if (params.isError) { - return { label: "Tool error", name: params.displayLabel }; + return { label: t("chat.toolCards.toolError"), name: params.displayLabel }; } const displayDetail = params.displayDetail?.trim();