feat(game): 添加奖池功能支持

- 在国际化文件中添加奖池相关的翻译配置
- 定义 JackpotPoolState 和 GameJackpotPoolDto 类型接口
- 在 DashboardState 中添加 jackpotPool 字段
- 实现 normalizeJackpotPoolState 函数处理奖池数据转换
- 更新游戏 API 中的初始化和数据归一化逻辑
- 添加 Oxanium 字体依赖并配置奖池金额字体样式
- 实现 JackpotPoolTicker 组件显示动态增长的奖池金额
- 在消息广播组件中集成奖池显示功能
- 更新实时同步钩子中的奖池数据处理逻辑
This commit is contained in:
JiaJun
2026-07-15 15:09:42 +08:00
parent 2c1a69dd9a
commit fe3b839297
14 changed files with 286 additions and 55 deletions

View File

@@ -178,6 +178,11 @@ export default {
streak: '{{count}}-win streak',
winAction: 'won',
},
jackpotPool: {
ariaLabel: 'Current jackpot pool {{amount}}',
iconAlt: 'Jackpot pool',
label: 'Jackpot',
},
actions: {
unifiedBetHint: 'Unified bet',
totalBet: 'Total bet',

View File

@@ -177,6 +177,11 @@ export default {
streak: 'streak {{count}} menang',
winAction: 'memenangkan',
},
jackpotPool: {
ariaLabel: 'Pool jackpot saat ini {{amount}}',
iconAlt: 'Pool jackpot',
label: 'Jackpot',
},
actions: {
unifiedBetHint: 'Bet seragam',
totalBet: 'Total bet',

View File

@@ -180,6 +180,11 @@ export default {
streak: 'streak {{count}} menang',
winAction: 'memenangi',
},
jackpotPool: {
ariaLabel: 'Dana jackpot semasa {{amount}}',
iconAlt: 'Dana jackpot',
label: 'Jackpot',
},
actions: {
unifiedBetHint: 'Taruhan seragam',
totalBet: 'Jumlah taruhan',

View File

@@ -175,6 +175,11 @@ export default {
streak: '{{count}} 连胜',
winAction: '赢得',
},
jackpotPool: {
ariaLabel: '彩金池当前金额 {{amount}}',
iconAlt: '彩金池',
label: '彩金池',
},
actions: {
unifiedBetHint: '统一下注额',
totalBet: '总下注',