mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 00:17:45 +08:00
Merge pull request #846 from RWDai/review/pr-02-user-bulk-balance
feat(admin): batch adjust user wallet balances
This commit is contained in:
@@ -613,6 +613,8 @@ export const legacyAdminEnglishMessages: Record<string, string> = {
|
||||
'系统调账': 'System adjustment',
|
||||
'退款扣减': 'Refund debit',
|
||||
'退款回补': 'Refund recredit',
|
||||
'另一个标签页正在处理钱包批量调整,请稍后刷新状态再试。此次未发送新请求。': 'Another tab is processing a wallet batch adjustment. Refresh the status and try again later. No new request was sent from this tab.',
|
||||
'当前浏览器无法保护跨标签页的钱包批量请求,请使用支持此功能的浏览器。请求未发送。': 'This browser cannot protect wallet batch requests across tabs. Use a browser that supports this feature. The request was not sent.',
|
||||
'兑换码批次已创建': 'Redemption code batch created',
|
||||
'CSV 已导出': 'CSV exported',
|
||||
'批次已停用': 'Batch disabled',
|
||||
|
||||
@@ -1453,6 +1453,27 @@ const legacyExactEnglishMessages: Record<string, string> = {
|
||||
'暂无选项': 'No options',
|
||||
'用户批量操作': 'User batch actions',
|
||||
'按当前选择批量调整用户状态、角色和额度': 'Batch update user status, role, and quota for the current selection',
|
||||
'按当前选择批量调整用户状态、角色、额度和钱包余额': 'Batch update user status, role, quota, and wallet balances for the current selection',
|
||||
'调整余额': 'Adjust balance',
|
||||
'批量增加或扣减钱包余额': 'Add or deduct wallet balances in bulk',
|
||||
'调整金额 (USD)': 'Adjustment amount (USD)',
|
||||
'余额调整方式': 'Balance adjustment mode',
|
||||
'增加': 'Add',
|
||||
'扣减': 'Deduct',
|
||||
'请输入大于 0 的有限金额': 'Enter a finite amount greater than 0',
|
||||
'扣减超过单个用户可用余额时,该用户余额将归零。': 'Deductions above an individual user’s available balance will be clamped to zero.',
|
||||
'用户钱包不可用': 'User wallet is unavailable',
|
||||
'当前为只读模式,无法批量调整用户钱包余额': 'Cannot adjust user wallet balances in read-only mode',
|
||||
'余额调整结果未确认,批次已中止,请核对钱包后再重试': 'Balance adjustment result is uncertain; the batch stopped. Verify the wallet before retrying.',
|
||||
'用户钱包更新结果未确认,批次已中止,请核对钱包后再重试': 'User wallet update result is uncertain; the batch stopped. Verify the wallet before retrying.',
|
||||
'用户更新结果未确认,批次已中止,请核对后再重试': 'User update result is uncertain; the batch stopped. Verify the result before retrying.',
|
||||
'读取用户状态失败,批次已中止,该用户未执行': 'Could not read user state; the batch stopped before processing this user.',
|
||||
'因前序错误未执行': 'Not processed because an earlier operation failed',
|
||||
'请核对余额后再重试,勿直接重试整批': 'Verify balances before retrying; do not retry the entire batch blindly.',
|
||||
'查看批次中断详情': 'View interrupted batch details',
|
||||
'已完成用户 ID': 'Completed user IDs',
|
||||
'结果待核对用户 ID': 'User IDs with uncertain results',
|
||||
'尚未执行用户 ID': 'Unprocessed user IDs',
|
||||
'影响用户:': 'Affected users:',
|
||||
'目标为当前筛选条件匹配的全部用户,执行前后端会重新解析。': 'Targets all users matching the current filters; the backend will resolve the selection again before execution.',
|
||||
'目标为当前已勾选的用户,重复 ID 会自动去重。': 'Targets the currently selected users; duplicate IDs are deduplicated automatically.',
|
||||
@@ -3052,6 +3073,7 @@ const legacyDynamicPatterns: Array<[RegExp, (match: RegExpMatchArray) => string]
|
||||
[/^确认(启用|禁用|删除|重置)((.+))$/u, match => `Confirm ${translateLegacyText(match[1], 'en-US').toLowerCase()} (${match[2]})`],
|
||||
[/^成功 (.+) 个,失败 (.+) 个$/u, match => `Succeeded ${match[1]}, failed ${match[2]}`],
|
||||
[/^批量操作完成:成功 (.+) 个,失败 (.+) 个$/u, match => `Batch action complete: succeeded ${match[1]}, failed ${match[2]}`],
|
||||
[/^批量操作中断:成功 (.+) 个,结果待确认 (.+) 个,尚未执行 (.+) 个$/u, match => `Batch interrupted: succeeded ${match[1]}, uncertain ${match[2]}, not processed ${match[3]}`],
|
||||
[/^匹配 (.+) 个,当前页 (.+) 个,已选 (.+) 个$/u, match => `Matched ${match[1]} items, current page ${match[2]} items, selected ${match[3]} items`],
|
||||
[/^已选 (.+) 个$/u, match => `Selected ${match[1]} items`],
|
||||
[/^已强制下线 (.+) 个设备$/u, match => `Signed out ${match[1]} devices`],
|
||||
|
||||
Reference in New Issue
Block a user