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/
53 lines
2.6 KiB
JSON
53 lines
2.6 KiB
JSON
{
|
|
"BULK_ACTION": {
|
|
"CONVERSATIONS_SELECTED": "已選擇 {conversationCount} 個對話",
|
|
"AGENT_SELECT_LABEL": "選擇客服",
|
|
"ASSIGN_CONFIRMATION_LABEL": "您確定要將 {conversationCount} 個{conversationLabel}指派給",
|
|
"UNASSIGN_CONFIRMATION_LABEL": "您確定要取消指派 {conversationCount} 個{conversationLabel}嗎?",
|
|
"GO_BACK_LABEL": "返回",
|
|
"ASSIGN_LABEL": "指派",
|
|
"NONE": "無",
|
|
"CLEAR_SELECTION": "清除",
|
|
"ASSIGN_AGENT_CONFIRMATION_LABEL": "Are you sure you want to assign {n} conversation to {agentName}? | Are you sure you want to assign {n} conversations to {agentName}?",
|
|
"UNASSIGN_AGENT_CONFIRMATION_LABEL": "Are you sure you want to unassign {n} conversation? | Are you sure you want to unassign {n} conversations?",
|
|
"YES": "是",
|
|
"CANCEL": "取消",
|
|
"SEARCH_INPUT_PLACEHOLDER": "搜尋",
|
|
"ASSIGN_AGENT_TOOLTIP": "指派客服",
|
|
"ASSIGN_TEAM_TOOLTIP": "指派團隊",
|
|
"ASSIGN_SUCCESFUL": "對話指派成功。",
|
|
"ASSIGN_FAILED": "指派對話失敗,請再試一次。",
|
|
"RESOLVE_SUCCESFUL": "對話已成功標記為已解決。",
|
|
"RESOLVE_FAILED": "解決對話失敗,請再試一次。",
|
|
"ALL_CONVERSATIONS_SELECTED_ALERT": "僅選擇了此頁面上可見的對話。",
|
|
"AGENT_LIST_LOADING": "正在載入客服列表",
|
|
"UPDATE": {
|
|
"CHANGE_STATUS": "變更狀態",
|
|
"SNOOZE_UNTIL": "擱置",
|
|
"UPDATE_SUCCESFUL": "對話狀態更新成功。",
|
|
"UPDATE_FAILED": "更新對話失敗,請再試一次。"
|
|
},
|
|
"RESOLVE": {
|
|
"ALL_MISSING_ATTRIBUTES": "由於缺少必填屬性,無法解決對話",
|
|
"PARTIAL_SUCCESS": "部分對話因缺少必填屬性而被跳過"
|
|
},
|
|
"LABELS": {
|
|
"ASSIGN_LABELS": "指派標籤",
|
|
"NO_LABELS_FOUND": "找不到標籤",
|
|
"ASSIGN_SELECTED_LABELS": "指派已選標籤",
|
|
"ASSIGN_SUCCESFUL": "標籤指派成功。",
|
|
"ASSIGN_FAILED": "指派標籤失敗,請再試一次。"
|
|
},
|
|
"TEAMS": {
|
|
"TEAM_SELECT_LABEL": "選擇團隊",
|
|
"NONE": "無",
|
|
"NO_TEAMS_AVAILABLE": "此帳戶尚未新增任何團隊。",
|
|
"ASSIGN_SELECTED_TEAMS": "指派已選團隊。",
|
|
"ASSIGN_TEAM_CONFIRMATION_LABEL": "Are you sure you want to assign {n} conversation to {teamName}? | Are you sure you want to assign {n} conversations to {teamName}?",
|
|
"UNASSIGN_TEAM_CONFIRMATION_LABEL": "Are you sure you want to unassign {n} conversation? | Are you sure you want to unassign {n} conversations?",
|
|
"ASSIGN_SUCCESFUL": "團隊指派成功。",
|
|
"ASSIGN_FAILED": "指派團隊失敗,請再試一次。"
|
|
}
|
|
}
|
|
}
|