feat(localization): add timer conflict handling and update translations
- Introduced a new hook `useTaskTimerWithConflictCheck` to manage timer conflicts, prompting users when a timer is already running for a different task. - Updated localization files for Albanian, German, English, Spanish, Portuguese, and Chinese to include new translation keys related to timer conflict handling and cancellation. - Refactored components to utilize the new timer hook, enhancing user experience by preventing overlapping timers.
This commit is contained in:
@@ -5,5 +5,6 @@
|
||||
"signup-failed": "注册失败。请确保填写所有必填字段并重试。",
|
||||
"reconnecting": "与服务器断开连接。",
|
||||
"connection-lost": "无法连接到服务器。请检查您的互联网连接。",
|
||||
"connection-restored": "成功连接到服务器"
|
||||
"connection-restored": "成功连接到服务器",
|
||||
"cancel": "取消"
|
||||
}
|
||||
Reference in New Issue
Block a user