Files
gochat/frontend/app/javascript/dashboard/i18n/locale/zh_CN/contentTemplates.json
T
rogee 321c61aaae Vendor Chatwoot Vue 3 frontend into frontend/
Copy the Chatwoot (v4.14.0) frontend runnable subset into frontend/ for
customization:
- app/javascript/ (Vue SPA: dashboard, widget, sdk, portal, superadmin)
- app/views/ (ERB templates for vite-plugin-ruby entrypoint resolution)
- app/helpers/, app/assets/ (Rails view helpers, static assets)
- enterprise/ (Enterprise edition frontend overlay)
- config/vite.json, vite.config.ts, bin/vite (Vite-Rails toolchain)
- package.json, pnpm-lock.yaml, tailwind/postcss/eslint configs
- Gemfile, Gemfile.lock (vite_rails gem for bin/vite binstub)

Excluded Rails backend: controllers, models, services, jobs, mailers,
policies, db, lib, spec, public, node_modules.

Update references to the new frontend location:
- .gitignore: exclude frontend build artifacts (node_modules, tmp, packs),
  keep frontend/bin/ and frontend/vendor/ via negation
- backend/scripts/parity_frontend_smoke.sh: CHATWOOT_DIR default
  reference/chatwoot -> ../frontend
- backend/scripts/parity_frontend_browser_smoke.mjs: same default update
- AGENTS.md: add frontend section with Rails/Vite coupling notes
- README: architecture tree includes frontend/
2026-07-07 14:56:01 +08:00

53 lines
1.7 KiB
JSON

{
"CONTENT_TEMPLATES": {
"MODAL": {
"TITLE": "Twilio 模板",
"SUBTITLE": "选择您想要发送的 Twilio 模板",
"TEMPLATE_SELECTED_SUBTITLE": "配置模板: {templateName}"
},
"PICKER": {
"SEARCH_PLACEHOLDER": "查找模板",
"NO_TEMPLATES_FOUND": "没有找到对应的模版",
"NO_CONTENT": "无内容",
"HEADER": "页头",
"BODY": "正文内容",
"FOOTER": "页脚",
"BUTTONS": "按钮",
"CATEGORY": "类别",
"MEDIA_CONTENT": "媒体内容",
"MEDIA_CONTENT_FALLBACK": "媒体内容",
"NO_TEMPLATES_AVAILABLE": "没有可用的 Twilio 模板。单击刷新以同步Twilio 的模板。",
"REFRESH_BUTTON": "刷新模板",
"REFRESH_SUCCESS": "模板刷新已启动。更新可能需要几分钟时间。",
"REFRESH_ERROR": "刷新模板失败。请重试。",
"LABELS": {
"LANGUAGE": "语言",
"TEMPLATE_BODY": "模板内容",
"CATEGORY": "类别"
},
"TYPES": {
"MEDIA": "媒体",
"QUICK_REPLY": "快速回复",
"CALL_TO_ACTION": "Call to Action",
"TEXT": "文本"
}
},
"PARSER": {
"VARIABLES_LABEL": "参数",
"LANGUAGE": "语言",
"CATEGORY": "类别",
"VARIABLE_PLACEHOLDER": "请填写 {variable}",
"GO_BACK_LABEL": "返回",
"SEND_MESSAGE_LABEL": "发送消息",
"FORM_ERROR_MESSAGE": "你必须填写所有参数才能发送",
"MEDIA_HEADER_LABEL": "{type} Header",
"MEDIA_URL_LABEL": "输入完整媒体 URL",
"MEDIA_URL_PLACEHOLDER": "https://example.com/image.jpg"
},
"FORM": {
"BACK_BUTTON": "后退",
"SEND_MESSAGE_BUTTON": "发送消息"
}
}
}