diff --git a/web/src/lang/backend/en/dashboard.ts b/web/src/lang/backend/en/dashboard.ts index 3927977..508151d 100644 --- a/web/src/lang/backend/en/dashboard.ts +++ b/web/src/lang/backend/en/dashboard.ts @@ -36,4 +36,80 @@ export default { second: 'Second', day: 'Day', 'Number of attachments Uploaded': 'Number of attachments upload', + 'Available Bank Balance': 'Available Bank Balance', + 'Bank Name': 'Bank Name', + 'Current Balance': 'Current Balance', + 'Transaction Breakdown': 'Transaction Breakdown', + 'Safe Alert': 'Safe Alert', + Transfer: 'Transfer', + 'No Alert': 'No Alert', + 'No bank data': 'No bank data', + 'Show less': 'Show less', + 'More info': 'More info', + 'Customer Summary': 'Customer Summary', + 'Create New Transaction': 'Create New Transaction', + 'Edit Transaction': 'Edit Transaction #{id}', + 'Webhook enabled': 'The Transaction Mode you currently set has the Webhook (JDK) feature enabled', + 'Webhook hint': + 'Hint: If a transaction approved in the JK backend is not automatically recorded here within 10 minutes, click "Create New Transaction" to record it manually.', + 'Start Date': 'Start Date', + 'End Date': 'End Date', + Today: 'Today', + 'Date of data': 'Date of data', + 'Date range': '{start} to {end} ({days} {unit})', + Day: 'Day', + Days: 'Days', + 'Total Deposit / IN': 'Total Deposit / IN', + 'Total Withdraw / OUT': 'Total Withdraw / OUT', + 'Deposit Count': 'Deposit Count', + 'Withdraw Count': 'Withdraw Count', + 'Active Player': 'Active Player', + 'First Deposit Player': 'First Deposit Player', + 'Unclaimed Amount': 'Unclaimed Amount', + 'Unclaimed Receipt': 'Unclaimed Receipt', + 'Created by': 'Created by', + 'Created Time': 'Created Time', + Category: 'Category', + Username: 'Username', + Remark: 'Remark', + Bank: 'Bank', + Type: 'Type', + 'Amount (AUD)': 'Amount (AUD)', + Label: 'Label', + 'Game Ticket': 'Game Ticket', + Action: 'Action', + History: 'History', + 'Date & Time': 'Date & Time', + Auto: 'Auto', + Manual: 'Manual', + Customer: 'Customer', + 'Other Adjust': 'Other Adjust', + Deposit: 'Deposit', + Withdraw: 'Withdraw', + 'Username placeholder': 'e.g. PLAYER001', + Optional: '(optional)', + 'Optional select': '- (optional) -', + 'First Deposit': 'First Deposit', + Unclaim: 'Unclaim', + 'Game Ticket Auto': 'Game Ticket Auto', + 'Auto generate ticket': 'Auto generate ticket', + 'Transaction Edit History': 'Transaction Edit History', + 'History retention note': 'Transaction edit history is only kept for the most recent 12 months.', + 'No Record': 'No Record', + 'Tx ID': 'Tx ID', + 'Edit By': 'Edit By', + 'Edit Time': 'Edit Time', + Changes: 'Changes (Old → New)', + 'Bank change': 'Bank:{before}→{after}', + 'Bank Transfer': 'Bank Transfer', + 'Transfer (From)': 'Transfer (From)', + 'Transfer (To)': 'Transfer (To)', + 'Select Bank': '- Select Bank -', + Amount: 'Amount', + 'Hourly Alert': 'Hourly Alert', + 'Daily Alert': 'Daily Alert', + 'Weekly Alert': 'Weekly Alert', + 'Monthly Alert': 'Monthly Alert', + 'Yearly Alert': 'Yearly Alert', + 'Lifetime Alert': 'Lifetime Alert', } diff --git a/web/src/lang/backend/zh-cn/dashboard.ts b/web/src/lang/backend/zh-cn/dashboard.ts index 009eaa8..e9c8d58 100644 --- a/web/src/lang/backend/zh-cn/dashboard.ts +++ b/web/src/lang/backend/zh-cn/dashboard.ts @@ -36,4 +36,79 @@ export default { second: '秒', day: '天', 'Number of attachments Uploaded': '附件上传量', + 'Available Bank Balance': '可用银行余额', + 'Bank Name': '银行名称', + 'Current Balance': '当前余额', + 'Transaction Breakdown': '交易明细', + 'Safe Alert': '安全提醒', + Transfer: '转账', + 'No Alert': '无提醒', + 'No bank data': '暂无银行数据', + 'Show less': '收起', + 'More info': '查看更多', + 'Customer Summary': '客户汇总', + 'Create New Transaction': '新建交易', + 'Edit Transaction': '编辑交易 #{id}', + 'Webhook enabled': '当前设置的交易模式已启用 Webhook(JDK)功能', + 'Webhook hint': '提示:如果 JK 后台已批准的交易在 10 分钟内没有自动记录,请点击“新建交易”手动记录。', + 'Start Date': '开始日期', + 'End Date': '结束日期', + Today: '今天', + 'Date of data': '数据日期', + 'Date range': '{start} 至 {end}({days} {unit})', + Day: '天', + Days: '天', + 'Total Deposit / IN': '总存款 / 转入', + 'Total Withdraw / OUT': '总提款 / 转出', + 'Deposit Count': '存款笔数', + 'Withdraw Count': '提款笔数', + 'Active Player': '活跃玩家', + 'First Deposit Player': '首存玩家', + 'Unclaimed Amount': '未认领金额', + 'Unclaimed Receipt': '未认领凭证', + 'Created by': '创建者', + 'Created Time': '创建时间', + Category: '分类', + Username: '用户名', + Remark: '备注', + Bank: '银行', + Type: '类型', + 'Amount (AUD)': '金额(AUD)', + Label: '标签', + 'Game Ticket': '游戏票据', + Action: '操作', + History: '历史记录', + 'Date & Time': '日期和时间', + Auto: '自动', + Manual: '手动', + Customer: '客户', + 'Other Adjust': '其他调整', + Deposit: '存款', + Withdraw: '提款', + 'Username placeholder': '例如 PLAYER001', + Optional: '(可选)', + 'Optional select': '- 可选 -', + 'First Deposit': '首次存款', + Unclaim: '未认领', + 'Game Ticket Auto': '自动游戏票据', + 'Auto generate ticket': '自动生成票据', + 'Transaction Edit History': '交易编辑历史', + 'History retention note': '交易编辑历史仅保留最近 12 个月。', + 'No Record': '暂无记录', + 'Tx ID': '交易 ID', + 'Edit By': '编辑者', + 'Edit Time': '编辑时间', + Changes: '变更内容(旧 → 新)', + 'Bank change': '银行:{before}→{after}', + 'Bank Transfer': '银行转账', + 'Transfer (From)': '转出银行', + 'Transfer (To)': '转入银行', + 'Select Bank': '- 选择银行 -', + Amount: '金额', + 'Hourly Alert': '每小时提醒', + 'Daily Alert': '每日提醒', + 'Weekly Alert': '每周提醒', + 'Monthly Alert': '每月提醒', + 'Yearly Alert': '每年提醒', + 'Lifetime Alert': '永久提醒', } diff --git a/web/src/views/backend/dashboard.vue b/web/src/views/backend/dashboard.vue index 671faa9..9803cc8 100644 --- a/web/src/views/backend/dashboard.vue +++ b/web/src/views/backend/dashboard.vue @@ -2,15 +2,15 @@
-
Available Bank Balance
+
{{ t('dashboard.Available Bank Balance') }}
- - - - + + + + @@ -23,7 +23,7 @@ - +
Bank NameCurrent BalanceTransaction BreakdownSafe Alert{{ t('dashboard.Bank Name') }}{{ t('dashboard.Current Balance') }}{{ t('dashboard.Transaction Breakdown') }}{{ t('dashboard.Safe Alert') }}
- Transfer + {{ t('dashboard.Transfer') }}
({{ bank.depositCount }}) {{ money(bank.deposit) }} ({{ bank.withdrawCount }}) {{ money(bank.withdraw) }} @@ -31,24 +31,26 @@
- {{ bank.alert || 'No Alert' }} + + {{ safeAlertText(bank.alertCode) }} +
No bank data{{ t('dashboard.No bank data') }}
-

- Hint: If a transaction approved in the JK backend is not automatically recorded here within 10 minutes, click "Create New Transaction" - to record it manually. -

-

提示:如果 JK 后台 Approved 的 Transaction 在这里 10 分钟内没有自动记录,请点击 "Create New Transaction" 手动记录。

+

{{ t('dashboard.Webhook hint') }}

- + - + - Search - Today + {{ t('Search') }} + {{ t('dashboard.Today') }}
- Date of data: {{ dateRangeText }} + {{ t('dashboard.Date of data') }}: {{ dateRangeText }} Total Deposit / IN: AUD {{ money(totalDeposit) }}{{ t('dashboard.Total Deposit / IN') }}: AUD {{ money(totalDeposit) }} Total Withdraw / OUT: AUD {{ money(totalWithdraw) }}{{ t('dashboard.Total Withdraw / OUT') }}: AUD {{ money(totalWithdraw) }}
- - - - - - - - + + + + + + + + + + + + - - + + + + - + @@ -132,80 +136,85 @@
- + - + - Auto - Manual + {{ t('dashboard.Auto') }} + {{ t('dashboard.Manual') }} - + - - + + - + - Deposit - Withdraw + {{ t('dashboard.Deposit') }} + {{ t('dashboard.Withdraw') }} IN OUT - - + + - - + + - + - - + + - - - - + + + + - - Auto generate ticket + + {{ t('dashboard.Auto generate ticket') }} - -

Transaction edit history is only kept for the most recent 12 months.

-

Transaction 的编辑历史记录仅保存最近 12 个月。

- - - - - + +

{{ t('dashboard.History retention note') }}

+ + + + + + +
- + - + - - + + - + - - + + @@ -233,6 +242,7 @@