mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 15:23:29 +00:00
fix(mood): confirm form reset when dirty and show a note counter
Reset discarded typed input with no confirmation; a mis-tap silently wiped a half-written entry. Reset now confirms first when the form holds content (mood, tags or note) and resets immediately when pristine. The note field also gained a live character counter so its 500-character cap no longer truncates without feedback.
This commit is contained in:
1 parent
ccf56b8dbb
commit
7986e59147
8 files changed
+213
-7
No files matched your search
@@ -489,6 +489,10 @@
|
||||
"emptyResetFilter": "Alle Stimmungen anzeigen",
|
||||
"actions": "Aktionen",
|
||||
"formReset": "Formular zurücksetzen",
|
||||
"noteCharCount": "{count}/{max}",
|
||||
"formResetConfirmTitle": "Formular zurücksetzen?",
|
||||
"formResetConfirmBody": "Damit werden die eingegebene Stimmung, Tags und Notiz gelöscht. Das lässt sich nicht rückgängig machen.",
|
||||
"formResetConfirmAction": "Zurücksetzen",
|
||||
"saveError": "Fehler beim Speichern",
|
||||
"deleteError": "Fehler beim Löschen",
|
||||
"invalidTimestamp": "Bitte einen gültigen Zeitpunkt wählen.",
|
||||
|
||||
@@ -489,6 +489,10 @@
|
||||
"emptyResetFilter": "Show all moods",
|
||||
"actions": "Actions",
|
||||
"formReset": "Reset form",
|
||||
"noteCharCount": "{count}/{max}",
|
||||
"formResetConfirmTitle": "Reset this form?",
|
||||
"formResetConfirmBody": "This clears the mood, tags and note you have entered. This cannot be undone.",
|
||||
"formResetConfirmAction": "Reset",
|
||||
"saveError": "Error saving",
|
||||
"deleteError": "Error deleting",
|
||||
"invalidTimestamp": "Please select a valid time.",
|
||||
|
||||
@@ -489,6 +489,10 @@
|
||||
"emptyResetFilter": "Mostrar todos los estados",
|
||||
"actions": "Acciones",
|
||||
"formReset": "Restablecer formulario",
|
||||
"noteCharCount": "{count}/{max}",
|
||||
"formResetConfirmTitle": "¿Restablecer este formulario?",
|
||||
"formResetConfirmBody": "Esto borra el estado de ánimo, las etiquetas y la nota que has introducido. No se puede deshacer.",
|
||||
"formResetConfirmAction": "Restablecer",
|
||||
"saveError": "Error al guardar",
|
||||
"deleteError": "Error al eliminar",
|
||||
"invalidTimestamp": "Selecciona una fecha y hora válidas.",
|
||||
|
||||
@@ -489,6 +489,10 @@
|
||||
"emptyResetFilter": "Afficher toutes les humeurs",
|
||||
"actions": "Actions",
|
||||
"formReset": "Réinitialiser le formulaire",
|
||||
"noteCharCount": "{count}/{max}",
|
||||
"formResetConfirmTitle": "Réinitialiser ce formulaire ?",
|
||||
"formResetConfirmBody": "Cela efface l’humeur, les tags et la note que vous avez saisis. Cette action est irréversible.",
|
||||
"formResetConfirmAction": "Réinitialiser",
|
||||
"saveError": "Erreur lors de l’enregistrement",
|
||||
"deleteError": "Erreur lors de la suppression",
|
||||
"invalidTimestamp": "Choisis une date et une heure valides.",
|
||||
|
||||
@@ -489,6 +489,10 @@
|
||||
"emptyResetFilter": "Mostra tutti gli umori",
|
||||
"actions": "Azioni",
|
||||
"formReset": "Reimposta modulo",
|
||||
"noteCharCount": "{count}/{max}",
|
||||
"formResetConfirmTitle": "Reimpostare questo modulo?",
|
||||
"formResetConfirmBody": "Questo cancella umore, tag e nota inseriti. L’operazione non può essere annullata.",
|
||||
"formResetConfirmAction": "Reimposta",
|
||||
"saveError": "Errore durante il salvataggio",
|
||||
"deleteError": "Errore durante l’eliminazione",
|
||||
"invalidTimestamp": "Scegli una data e un’ora valide.",
|
||||
|
||||
@@ -489,6 +489,10 @@
|
||||
"emptyResetFilter": "Pokaż wszystkie nastroje",
|
||||
"actions": "Akcje",
|
||||
"formReset": "Resetuj formularz",
|
||||
"noteCharCount": "{count}/{max}",
|
||||
"formResetConfirmTitle": "Zresetować ten formularz?",
|
||||
"formResetConfirmBody": "Spowoduje to usunięcie wprowadzonego nastroju, tagów i notatki. Tej operacji nie można cofnąć.",
|
||||
"formResetConfirmAction": "Resetuj",
|
||||
"saveError": "Błąd zapisu",
|
||||
"deleteError": "Błąd usuwania",
|
||||
"invalidTimestamp": "Wybierz poprawną datę i godzinę.",
|
||||
|
||||
Reference in new issue
Block a user