diff --git a/backend/migrations/000059_translate_integration_apps.down.sql b/backend/migrations/000059_translate_integration_apps.down.sql new file mode 100644 index 00000000..423e6af0 --- /dev/null +++ b/backend/migrations/000059_translate_integration_apps.down.sql @@ -0,0 +1,20 @@ +-- 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; diff --git a/backend/migrations/000059_translate_integration_apps.up.sql b/backend/migrations/000059_translate_integration_apps.up.sql new file mode 100644 index 00000000..bf945af5 --- /dev/null +++ b/backend/migrations/000059_translate_integration_apps.up.sql @@ -0,0 +1,20 @@ +-- Translate integration app names and descriptions to Chinese +UPDATE integration_apps SET + name = CASE + WHEN name = 'Dashboard Apps' THEN '仪表板应用' + ELSE name + END, + description = CASE + WHEN name = 'Dashboard Apps' THEN '在对话侧边栏中嵌入自定义仪表板应用' + WHEN name = 'OpenAI' THEN '连接 OpenAI 以获取标签建议和 AI 辅助工作流' + WHEN name = 'Dialogflow' THEN '将 Dialogflow 代理连接到收件箱' + WHEN name = 'Google Translate' THEN '连接 Google 翻译以进行消息翻译' + WHEN name = 'Dyte' THEN '连接 Dyte 进行视频会议' + WHEN name = 'LeadSquared' THEN '连接 LeadSquared CRM 活动同步' + WHEN name = 'Slack' THEN '连接 Slack 频道以获取实时通知' + WHEN name = 'Shopify' THEN '同步 Shopify 订单和客户数据' + WHEN name = 'Linear' THEN '从对话中创建 Linear 问题' + WHEN name = 'Notion' THEN '将会话摘要导出到 Notion 页面' + WHEN name = 'Webhook' THEN '用于事件驱动集成的自定义 Webhook' + ELSE description + END;