- Added a service worker message handler to check for updates and notify users. - Created `UpdateNotification` component to display update prompts with options to reload or dismiss. - Introduced `UpdateNotificationProvider` to manage update state and notifications globally. - Implemented `useUpdateChecker` hook for periodic update checks and user notification management. - Updated localization files to include new strings related to update notifications. - Enhanced service worker functionality to support hard reloads and update checks.
17 lines
882 B
JSON
17 lines
882 B
JSON
{
|
|
"login-success": "登录成功!",
|
|
"login-failed": "登录失败。请检查您的凭据并重试。",
|
|
"signup-success": "注册成功!欢迎加入。",
|
|
"signup-failed": "注册失败。请确保填写所有必填字段并重试。",
|
|
"reconnecting": "与服务器断开连接。",
|
|
"connection-lost": "无法连接到服务器。请检查您的互联网连接。",
|
|
"connection-restored": "成功连接到服务器",
|
|
"cancel": "取消",
|
|
"update-available": "Worklenz 已更新!",
|
|
"update-description": "Worklenz 的新版本已可用,具有最新的功能和改进。",
|
|
"update-instruction": "为了获得最佳体验,请刷新页面以应用新更改。",
|
|
"update-whats-new": "💡 <1>新增内容:</1>性能增强、错误修复和用户体验改善",
|
|
"update-now": "立即更新",
|
|
"update-later": "稍后",
|
|
"updating": "正在更新..."
|
|
} |