feat(family): enhance family view and character pregnancy handling
All checks were successful
Deploy to production / deploy (push) Successful in 2m48s
All checks were successful
Deploy to production / deploy (push) Successful in 2m48s
- Updated the FalukantCharacter model to include a default scope that excludes pregnancy-related fields for compatibility with older databases. - Implemented a new method in FalukantService to conditionally retrieve pregnancy information based on database schema. - Enhanced the FamilyView component to display a summary navigation for family relationships, including partners, children, and lovers. - Updated internationalization files to include new translations for family-related terms and summaries.
This commit is contained in:
@@ -607,6 +607,21 @@
|
||||
}
|
||||
},
|
||||
"family": {
|
||||
"title": "Family",
|
||||
"heroIntro": "Relationships, children and development — organized by section below.",
|
||||
"summary": {
|
||||
"partnerChip": "Partner",
|
||||
"childrenChip": "Children",
|
||||
"loversChip": "Affairs",
|
||||
"proposalsAvailable": "Betrothal available",
|
||||
"noPartner": "No partner"
|
||||
},
|
||||
"tabs": {
|
||||
"partner": "Partner & marriage",
|
||||
"children": "Children",
|
||||
"lovers": "Affairs"
|
||||
},
|
||||
"tabsAria": "Family sections",
|
||||
"debtorsPrison": {
|
||||
"familyWarning": "Ongoing debt delinquency puts strain on marriage, household and affairs.",
|
||||
"familyImpact": "Debtors' prison damages marriage, household peace and the stability of affairs."
|
||||
@@ -653,6 +668,7 @@
|
||||
}
|
||||
},
|
||||
"spouse": {
|
||||
"traitsToggle": "Character traits",
|
||||
"marriageSatisfaction": "Marriage Satisfaction",
|
||||
"marriageState": "Marriage State",
|
||||
"wooing": {
|
||||
|
||||
Reference in New Issue
Block a user