Enhance child management features in Falukant module

- Added new translations for gender, baptism status, and child details in both German and English localization files, improving user experience.
- Integrated ChildDetailsDialog component into FamilyView for displaying detailed information about children.
- Updated the showChildDetails method to utilize the new dialog for better user interaction.
- Modified button styles for improved visual feedback when setting heirs.
This commit is contained in:
Torsten Schulz (local)
2025-12-08 13:30:11 +01:00
parent 03e3a21a25
commit bcb0b01324
4 changed files with 164 additions and 6 deletions

View File

@@ -405,8 +405,10 @@
"title": "Kinder",
"name": "Name",
"age": "Alter",
"gender": "Geschlecht",
"heir": "Erbe",
"isHeir": "Erbe",
"notHeir": "Nicht Erbe",
"setAsHeir": "Als Erben festlegen",
"heirSetSuccess": "Das Kind wurde erfolgreich als Erbe festgelegt.",
"heirSetError": "Fehler beim Festlegen des Erben.",
@@ -414,7 +416,12 @@
"none": "Keine Kinder vorhanden.",
"detailButton": "Details anzeigen",
"addChild": "Kind hinzufügen",
"baptism": "Taufen"
"baptism": "Taufen",
"notBaptized": "Noch nicht getauft",
"baptismNotice": "Dieses Kind wurde noch nicht getauft und hat daher noch keinen Namen.",
"details": {
"title": "Kind-Details"
}
},
"lovers": {
"title": "Liebhaber",

View File

@@ -207,8 +207,10 @@
"title": "Children",
"name": "Name",
"age": "Age",
"gender": "Gender",
"heir": "Heir",
"isHeir": "Heir",
"notHeir": "Not Heir",
"setAsHeir": "Set as Heir",
"heirSetSuccess": "The child has been successfully set as heir.",
"heirSetError": "Error setting heir.",
@@ -216,7 +218,12 @@
"none": "No children available.",
"detailButton": "Show Details",
"addChild": "Add Child",
"baptism": "Baptize"
"baptism": "Baptize",
"notBaptized": "Not yet baptized",
"baptismNotice": "This child has not been baptized yet and therefore has no name.",
"details": {
"title": "Child Details"
}
}
}
}