feat: 添加应用版本更新功能;实现版本检查、更新提示及国际化支持

This commit is contained in:
2025-12-30 18:07:14 +07:00
parent 7ce60b860c
commit e7e2b1bd85
6 changed files with 484 additions and 70 deletions

View File

@@ -6,6 +6,15 @@
"transfer": "Transfer",
"balance": "Balance"
},
"app": {
"update": {
"title": "New Version Available",
"message": "A new version is available. Update now?",
"now": "Update Now",
"later": "Later",
"forceUpdate": "A new version is required to continue using the app"
}
},
"scanner": {
"title": "Scan QR Code",
"hint": "Align QR code within frame to scan",

View File

@@ -6,6 +6,15 @@
"transfer": "转账",
"balance": "余额"
},
"app": {
"update": {
"title": "发现新版本",
"message": "有新版本可用,是否立即更新?",
"now": "立即更新",
"later": "稍后再说",
"forceUpdate": "发现新版本,需要更新后才能继续使用"
}
},
"scanner": {
"title": "扫描二维码",
"hint": "将二维码对准扫描框进行扫描",