feat(theme-3): sync inbox/announcements/presence/deposit/search from main

This commit is contained in:
2026-06-18 10:02:32 +08:00
parent 0d430857c7
commit 6881d325d5
87 changed files with 6944 additions and 964 deletions

View File

@@ -27,6 +27,10 @@ const adminPages: Record<string, string> = {
'user.filter.agent': 'Agent',
'user.filter.agent_ph': 'All',
'user.col.username': 'Username',
'user.col.online': 'Online',
'user.online_yes': 'Online now',
'user.presence_online': 'Online',
'user.presence_offline': 'Offline',
'user.col.agent': 'Agent',
'user.col.agent_cashback': 'Agent cashback',
'user.col.player_cashback': 'Player cashback',
@@ -786,15 +790,43 @@ const adminPages: Record<string, string> = {
'msg.outright_odds_saved': 'Outright odds saved',
'msg.load_failed': 'Load failed',
'content.upload.pick_media_title': 'Select image',
'content.upload.no_media': 'No images in library — upload one first',
'content.btn.create': 'New content',
'content.btn.enable': 'Enable',
'content.btn.disable': 'Disable',
'content.dialog.create': 'New public content',
'content.dialog.edit': 'Edit public content',
'content.dialog.create_banner': 'New home promotion',
'content.dialog.create_notice': 'Publish notification',
'content.dialog.edit': 'Edit content',
'content.dialog.edit_banner': 'Edit home promotion',
'content.dialog.edit_notice': 'Edit notification',
'content.confirm_delete': 'Delete "{title}"?',
'content.type.BANNER': 'Home banners',
'content.type.ANNOUNCEMENT': 'Announcements',
'content.hint.announcement': 'Shown in the player top marquee; fill title or body (body recommended)',
'content.type.BANNER': 'Home promotions',
'content.type.ANNOUNCEMENT': 'Notifications',
'content.type.INBOX_NOTIFY': 'Inbox notify',
'content.inbox_notify.inbox_enabled': 'Player inbox',
'content.inbox_notify.inbox_enabled_hint': 'When off, the player hub opens support only (no mailbox tab)',
'content.inbox_notify.deposit': 'Deposit results',
'content.inbox_notify.deposit_hint': 'Auto-send inbox messages on approve or reject',
'content.inbox_notify.manual_title': 'Check "Inbox notify" when creating:',
'content.inbox_notify.banner_note': 'Homepage promo',
'content.inbox_notify.announcement_note': 'Announcements / ticker',
'content.hint.banner': 'Shown in the home carousel; tapping opens the detail page. Add a cover image and rich body like an official site announcement.',
'content.hint.announcement': 'Shows as a scrolling marquee at the top of the player app. Enter title and marquee text per language — plain text only.',
'content.section.publish': 'Publish settings',
'content.section.content': 'Notification content',
'content.field.publish_kind': 'Publish type',
'content.publish_kind.notice': 'Full notification (detail page)',
'content.publish_kind.ticker': 'Ticker text only',
'content.publish_kind.hint': 'Full notifications appear in the list and detail page; ticker-only shows one scrolling line at the top.',
'content.field.cover_image': 'Cover image',
'content.field.ticker_title_ph': 'Ticker title (optional)',
'content.field.ticker_body_ph': 'Text shown in the marquee',
'content.field.ticker_hint': 'Ticker shows plain text only — no images or rich formatting.',
'content.editor.placeholder': 'Write the notification body; you can insert images and lists…',
'content.editor.insert_image': 'Insert image',
'content.upload.cover_size_hint': 'Recommended width 860px+. Cover and inline images scale to fit on the player detail page.',
'content.status.DRAFT': 'Draft',
'content.status.ACTIVE': 'Active',
'content.status.INACTIVE': 'Inactive',
@@ -808,8 +840,11 @@ const adminPages: Record<string, string> = {
'content.field.link_target': 'Link target',
'content.field.start_time': 'Start time',
'content.field.end_time': 'End time',
'content.field.notify_inbox': 'Inbox notification',
'content.field.notify_inbox_hint': 'Send an inbox message to all players about this promotion after saving',
'content.msg.notify_sent': 'Inbox notification sent to {count} player(s)',
'content.field.title': 'Title',
'content.field.title_ph': 'Optional; can match body',
'content.field.title_ph': 'Title shown on the player detail page',
'content.field.body': 'Body',
'content.field.announce_text': 'Marquee text',
'content.field.image_url': 'Image URL',
@@ -820,8 +855,6 @@ const adminPages: Record<string, string> = {
'content.upload.size_error': 'Image must be under 5 MB',
'content.upload.remove': 'Remove image',
'content.upload.pick_media': 'Pick from library',
'content.upload.pick_media_title': 'Select Banner Image',
'content.upload.no_media': 'No banner images in library — upload one first',
'content.upload.url_placeholder': 'Or paste image URL',
'content.upload.recommended_size': 'Recommended size: 860 x 360 px, or any 43:18 image. The player carousel keeps the full image visible and fills extra space.',
'content.link.none': 'No link',

View File

@@ -28,6 +28,10 @@ const adminPages: Record<string, string> = {
'user.filter.agent': '所属代理',
'user.filter.agent_ph': '全部',
'user.col.username': '用户名',
'user.col.online': '在线',
'user.online_yes': '当前在线',
'user.presence_online': '在线',
'user.presence_offline': '离线',
'user.col.agent': '所属代理',
'user.col.agent_cashback': '代理返水率',
'user.col.player_cashback': '玩家返水率',
@@ -790,15 +794,43 @@ const adminPages: Record<string, string> = {
'content.btn.enable': '启用',
'content.btn.disable': '停用',
'content.dialog.create': '新建公共内容',
'content.dialog.edit': '编辑公共内容',
'content.dialog.create_banner': '新建首页推广',
'content.dialog.create_notice': '发布通知公告',
'content.dialog.edit': '编辑内容',
'content.dialog.edit_banner': '编辑首页推广',
'content.dialog.edit_notice': '编辑通知公告',
'content.confirm_delete': '确定删除「{title}」?',
'content.type.BANNER': '首页轮播',
'content.type.ANNOUNCEMENT': '公告滚动',
'content.hint.announcement': '显示在玩家端顶部跑马灯;标题与正文填一项即可,建议正文为主',
'content.type.BANNER': '首页推广',
'content.type.ANNOUNCEMENT': '通知公告',
'content.type.INBOX_NOTIFY': '邮箱通知',
'content.inbox_notify.inbox_enabled': '站内邮箱',
'content.inbox_notify.inbox_enabled_hint': '关闭后玩家端入口直达客服,不展示邮箱标签页',
'content.inbox_notify.deposit': '充值结果',
'content.inbox_notify.deposit_hint': '审核通过或拒绝时自动发送站内信',
'content.inbox_notify.manual_title': '以下类型在新建时勾选「邮箱通知」',
'content.inbox_notify.banner_note': '首页推广',
'content.inbox_notify.announcement_note': '通知公告 / 跑马灯',
'content.hint.banner': '用于首页轮播展示,点击后进入通知详情页;请填写封面图与正文,像官网发布活动通知一样编辑。',
'content.hint.announcement': '在玩家端顶部显示滚动跑马灯文字;填写各语言标题与滚动文案即可,纯文本无富文本。',
'content.section.publish': '发布设置',
'content.section.content': '通知内容',
'content.field.publish_kind': '发布类型',
'content.publish_kind.notice': '完整通知(详情页)',
'content.publish_kind.ticker': '仅跑马灯文字',
'content.publish_kind.hint': '完整通知会出现在公告列表与详情页;跑马灯仅显示顶部滚动一行文字。',
'content.field.cover_image': '封面图',
'content.field.ticker_title_ph': '跑马灯标题(选填)',
'content.field.ticker_body_ph': '跑马灯显示的文字',
'content.field.ticker_hint': '跑马灯只显示纯文字,不支持图片与富文本格式。',
'content.editor.placeholder': '输入通知正文,可插入图片、列表等…',
'content.editor.insert_image': '插入图片',
'content.upload.cover_size_hint': '建议宽度 860px 以上;玩家端详情页会完整显示封面,正文内图片也会自适应宽度。',
'content.upload.pick_media_title': '选择图片',
'content.upload.no_media': '媒体库中暂无图片,请先上传',
'content.status.DRAFT': '草稿',
'content.status.ACTIVE': '已启用',
'content.status.INACTIVE': '已停用',
'content.col.sort': '排序',
'content.col.sort': '排序',
'content.col.preview': '预览',
'content.col.title': '标题/摘要',
'content.col.player_visible': '玩家可见',
@@ -808,8 +840,11 @@ const adminPages: Record<string, string> = {
'content.field.link_target': '链接目标',
'content.field.start_time': '开始时间',
'content.field.end_time': '结束时间',
'content.field.notify_inbox': '邮箱通知',
'content.field.notify_inbox_hint': '保存后向全部玩家发送站内信,通知查看此推广',
'content.msg.notify_sent': '已向 {count} 位玩家发送邮箱通知',
'content.field.title': '标题',
'content.field.title_ph': '选填,可与正文相同',
'content.field.title_ph': '通知标题,玩家端详情页展示',
'content.field.body': '正文',
'content.field.announce_text': '滚动文案',
'content.field.image_url': '图片地址',
@@ -820,8 +855,6 @@ const adminPages: Record<string, string> = {
'content.upload.size_error': '图片大小不能超过 5MB',
'content.upload.remove': '移除图片',
'content.upload.pick_media': '从媒体库选择',
'content.upload.pick_media_title': '选择 Banner 图片',
'content.upload.no_media': '媒体库中暂无 Banner 图片,请先上传',
'content.upload.url_placeholder': '或手动粘贴图片 URL',
'content.upload.recommended_size': '建议尺寸860 x 360 px或 43:18 同比例图片;前台会完整显示并自动填充不合比例区域。',
'content.link.none': '无跳转',