refactor: update environment configuration and enhance notification handling

- Refactored ecosystem configuration to utilize .env for sensitive variables, improving security and flexibility.
- Replaced direct notification button implementation with a dedicated PlayerNotificationBell component for better code organization.
- Updated various screens to integrate the new notification component and adjusted prefetch settings for links to optimize performance.
- Added new translations for notifications and wallet logs to enhance user experience across multiple languages.
This commit is contained in:
2026-06-01 09:29:02 +08:00
parent 9f43d07778
commit 10bee1b857
16 changed files with 241 additions and 59 deletions

View File

@@ -26,6 +26,9 @@
"rules": "Rules",
"wallet": "Wallet"
},
"notifications": {
"empty": "No notifications"
},
"panel": {
"home": "Home"
},
@@ -367,6 +370,7 @@
"flowsTitle": "Wallet logs",
"totalRecords": "{{total}} records",
"emptyLogs": "No wallet logs",
"noMoreLogs": "No more transactions",
"balanceAfter": "Balance after",
"wsBalanceUpdated": "Balance {{change}} ({{reason}})",
"wsReason": {

View File

@@ -26,6 +26,9 @@
"rules": "नियम",
"wallet": "वालेट"
},
"notifications": {
"empty": "कुनै सूचना छैन"
},
"panel": {
"home": "गृह"
},
@@ -367,6 +370,7 @@
"flowsTitle": "वालेट लग",
"totalRecords": "{{total}} रेकर्ड",
"emptyLogs": "वालेट लग छैन",
"noMoreLogs": "थप लेनदेन छैन",
"balanceAfter": "पछि बाँकी ब्यालेन्स",
"wsBalanceUpdated": "ब्यालेन्स {{change}} ({{reason}})",
"wsReason": {

View File

@@ -29,7 +29,7 @@
"retryProgress": "正在重试({{current}}/{{total}})…"
},
"failure": {
"title": "授权失败111",
"title": "授权失败",
"subtitle": "无法完成授权,请重试。",
"detailsTitle": "失败详情",
"table": {

View File

@@ -26,6 +26,9 @@
"rules": "规则",
"wallet": "钱包"
},
"notifications": {
"empty": "暂无通知"
},
"panel": {
"home": "首页"
},
@@ -368,6 +371,7 @@
"flowsTitle": "资金流水",
"totalRecords": "共 {{total}} 条记录",
"emptyLogs": "暂无流水",
"noMoreLogs": "没有更多流水",
"balanceAfter": "变更后余额",
"wsBalanceUpdated": "余额 {{change}}{{reason}}",
"wsReason": {