Files
gochat/backend/migrations/000059_translate_integration_apps.down.sql
T
Rogee 1fb95e4151 i18n: 翻译集成设置页面应用卡片描述
集成卡片名称和描述存储在 integration_apps 表中(来自 migration 030),
此前为英文。新增 migration 059 翻译为中文:
- Dashboard Apps → 仪表板应用
- OpenAI/Dialogflow/Google Translate/Dyte/LeadSquared/Slack/
  Shopify/Linear/Notion/Webhook 的描述全部翻译

品牌名(OpenAI/Dialogflow/Dyte/Slack/Shopify/Linear/Notion/Webhook)保留英文。
2026-07-30 12:26:42 +08:00

21 lines
1.1 KiB
SQL

-- Revert integration app names and descriptions back to English
UPDATE integration_apps SET
name = CASE
WHEN name = '仪表板应用' THEN 'Dashboard Apps'
ELSE name
END,
description = CASE
WHEN name = 'Dashboard Apps' THEN 'Embed custom dashboard apps in the conversation sidebar'
WHEN name = 'OpenAI' THEN 'Connect OpenAI for label suggestions and AI-assisted workflows'
WHEN name = 'Dialogflow' THEN 'Connect Dialogflow agents to inboxes'
WHEN name = 'Google Translate' THEN 'Connect Google Translate for message translation'
WHEN name = 'Dyte' THEN 'Connect Dyte for video meetings'
WHEN name = 'LeadSquared' THEN 'Connect LeadSquared CRM activity sync'
WHEN name = 'Slack' THEN 'Connect Slack channels for real-time notifications'
WHEN name = 'Shopify' THEN 'Sync Shopify orders and customer data'
WHEN name = 'Linear' THEN 'Create Linear issues from conversations'
WHEN name = 'Notion' THEN 'Export conversation summaries to Notion pages'
WHEN name = 'Webhook' THEN 'Custom webhook for event-driven integrations'
ELSE description
END;