mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
feat(journey/settings): warn on unsaved changes before closing modal
- Track dirty state (title/subtitle changed from original) - Intercept X button, backdrop click, and Cancel with handleClose - Show ConfirmDialog when dirty; proceed with onClose only on confirm - Add common.discardChanges and common.discard keys to all 15 locales
This commit is contained in:
@@ -30,6 +30,8 @@ const hu: Record<string, string | { name: string; category: string }[]> = {
|
||||
'common.none': 'Nincs',
|
||||
'common.date': 'Dátum',
|
||||
'common.rename': 'Átnevezés',
|
||||
'common.discardChanges': 'Változtatások elvetése',
|
||||
'common.discard': 'Elveti',
|
||||
'common.name': 'Név',
|
||||
'common.email': 'E-mail',
|
||||
'common.password': 'Jelszó',
|
||||
|
||||
Reference in New Issue
Block a user