- 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.
18 lines
953 B
JSON
18 lines
953 B
JSON
{
|
|
"login-success": "Login successful!",
|
|
"login-failed": "Login failed. Please check your credentials and try again.",
|
|
"signup-success": "Signup successful! Welcome aboard.",
|
|
"signup-failed": "Signup failed. Please ensure all required fields are filled and try again.",
|
|
"reconnecting": "Disconnected from server.",
|
|
"connection-lost": "Failed to connect to server. Please check your internet connection.",
|
|
"connection-restored": "Connected to server successfully",
|
|
"cancel": "Cancel",
|
|
"update-available": "Worklenz Updated!",
|
|
"update-description": "A new version of Worklenz is available with the latest features and improvements.",
|
|
"update-instruction": "To get the best experience, please reload the page to apply the new changes.",
|
|
"update-whats-new": "💡 <1>What's new:</1> Enhanced performance, bug fixes, and improved user experience",
|
|
"update-now": "Update Now",
|
|
"update-later": "Later",
|
|
"updating": "Updating..."
|
|
}
|