From 6cf1f8e1645ab521559d54f2dc6361bfc3e2f03a Mon Sep 17 00:00:00 2001 From: chengyongru <2755839590@qq.com> Date: Sun, 14 Jun 2026 02:10:16 +0800 Subject: [PATCH] fix(webui): trim automation creation prompt --- webui/src/components/settings/SettingsView.tsx | 11 +---------- webui/src/i18n/locales/en/common.json | 1 - webui/src/i18n/locales/es/common.json | 1 - webui/src/i18n/locales/fr/common.json | 1 - webui/src/i18n/locales/id/common.json | 1 - webui/src/i18n/locales/ja/common.json | 1 - webui/src/i18n/locales/ko/common.json | 1 - webui/src/i18n/locales/vi/common.json | 1 - webui/src/i18n/locales/zh-CN/common.json | 1 - webui/src/i18n/locales/zh-TW/common.json | 1 - webui/src/tests/i18n.test.tsx | 1 - 11 files changed, 1 insertion(+), 20 deletions(-) diff --git a/webui/src/components/settings/SettingsView.tsx b/webui/src/components/settings/SettingsView.tsx index fc2514a0..58d85737 100644 --- a/webui/src/components/settings/SettingsView.tsx +++ b/webui/src/components/settings/SettingsView.tsx @@ -3374,16 +3374,7 @@ function AutomationsSettings({ return (
-
- -
- -
+
diff --git a/webui/src/i18n/locales/en/common.json b/webui/src/i18n/locales/en/common.json index 47ef7a45..10295173 100644 --- a/webui/src/i18n/locales/en/common.json +++ b/webui/src/i18n/locales/en/common.json @@ -466,7 +466,6 @@ "automations": { "kicker": "Workspace automations", "title": "Automations", - "newInChat": "New in chat", "stats": { "active": "Active", "paused": "Paused", diff --git a/webui/src/i18n/locales/es/common.json b/webui/src/i18n/locales/es/common.json index 248f8ce5..d1f793de 100644 --- a/webui/src/i18n/locales/es/common.json +++ b/webui/src/i18n/locales/es/common.json @@ -466,7 +466,6 @@ "automations": { "kicker": "Automatizaciones del espacio", "title": "Automatizaciones", - "newInChat": "Crear en chat", "stats": { "active": "Activas", "paused": "Pausadas", diff --git a/webui/src/i18n/locales/fr/common.json b/webui/src/i18n/locales/fr/common.json index 38baa058..992be5ed 100644 --- a/webui/src/i18n/locales/fr/common.json +++ b/webui/src/i18n/locales/fr/common.json @@ -466,7 +466,6 @@ "automations": { "kicker": "Automatisations de l’espace", "title": "Automatisations", - "newInChat": "Créer dans le chat", "stats": { "active": "Actives", "paused": "En pause", diff --git a/webui/src/i18n/locales/id/common.json b/webui/src/i18n/locales/id/common.json index 9dd205d0..01ed7a93 100644 --- a/webui/src/i18n/locales/id/common.json +++ b/webui/src/i18n/locales/id/common.json @@ -466,7 +466,6 @@ "automations": { "kicker": "Otomasi ruang kerja", "title": "Otomasi", - "newInChat": "Buat di chat", "stats": { "active": "Aktif", "paused": "Dijeda", diff --git a/webui/src/i18n/locales/ja/common.json b/webui/src/i18n/locales/ja/common.json index b0472c74..f2ed06d3 100644 --- a/webui/src/i18n/locales/ja/common.json +++ b/webui/src/i18n/locales/ja/common.json @@ -466,7 +466,6 @@ "automations": { "kicker": "ワークスペースの自動タスク", "title": "自動タスク", - "newInChat": "チャットで作成", "stats": { "active": "実行中", "paused": "一時停止", diff --git a/webui/src/i18n/locales/ko/common.json b/webui/src/i18n/locales/ko/common.json index 2a30e62e..5780f2b1 100644 --- a/webui/src/i18n/locales/ko/common.json +++ b/webui/src/i18n/locales/ko/common.json @@ -466,7 +466,6 @@ "automations": { "kicker": "작업 공간 자동화", "title": "자동화", - "newInChat": "채팅에서 만들기", "stats": { "active": "활성", "paused": "일시 중지", diff --git a/webui/src/i18n/locales/vi/common.json b/webui/src/i18n/locales/vi/common.json index 942d9abf..74f85ad5 100644 --- a/webui/src/i18n/locales/vi/common.json +++ b/webui/src/i18n/locales/vi/common.json @@ -466,7 +466,6 @@ "automations": { "kicker": "Tự động hóa không gian làm việc", "title": "Tự động hóa", - "newInChat": "Tạo trong chat", "stats": { "active": "Đang chạy", "paused": "Đã tạm dừng", diff --git a/webui/src/i18n/locales/zh-CN/common.json b/webui/src/i18n/locales/zh-CN/common.json index 986b8673..9f16b620 100644 --- a/webui/src/i18n/locales/zh-CN/common.json +++ b/webui/src/i18n/locales/zh-CN/common.json @@ -466,7 +466,6 @@ "automations": { "kicker": "工作区自动任务", "title": "自动任务", - "newInChat": "在聊天中创建", "stats": { "active": "运行中", "paused": "已暂停", diff --git a/webui/src/i18n/locales/zh-TW/common.json b/webui/src/i18n/locales/zh-TW/common.json index 23de0541..9d5d168a 100644 --- a/webui/src/i18n/locales/zh-TW/common.json +++ b/webui/src/i18n/locales/zh-TW/common.json @@ -466,7 +466,6 @@ "automations": { "kicker": "工作區自動任務", "title": "自動任務", - "newInChat": "在聊天中建立", "stats": { "active": "執行中", "paused": "已暫停", diff --git a/webui/src/tests/i18n.test.tsx b/webui/src/tests/i18n.test.tsx index e185b87b..b15c13da 100644 --- a/webui/src/tests/i18n.test.tsx +++ b/webui/src/tests/i18n.test.tsx @@ -49,7 +49,6 @@ const LOCALIZED_SETTINGS_COPY_KEYS = [ "settings.nav.advanced", "sidebar.automations", "settings.automations.title", - "settings.automations.newInChat", "settings.automations.filters.active", "settings.automations.queue", "settings.automations.empty",