Implement lover relationship management features: Add endpoints for creating, acknowledging, and managing lover relationships in the FalukantController. Enhance backend models with RelationshipState for tracking relationship statuses. Update frontend components to display and manage lover details, including marriage satisfaction and household tension. Improve localization for new features in multiple languages.

This commit is contained in:
Torsten Schulz (local)
2026-03-20 11:37:46 +01:00
parent c7d33525ff
commit 2977b152a2
29 changed files with 4551 additions and 86 deletions

View File

@@ -434,6 +434,11 @@
"baptism": "Baptize",
"notBaptized": "Not yet baptized",
"baptismNotice": "This child has not been baptized yet and therefore has no name.",
"legitimacy": {
"legitimate": "Legitimate",
"acknowledged_bastard": "Acknowledged illegitimate",
"hidden_bastard": "Illegitimate"
},
"details": {
"title": "Child Details"
}
@@ -449,6 +454,8 @@
}
},
"spouse": {
"marriageSatisfaction": "Marriage Satisfaction",
"marriageState": "Marriage State",
"wooing": {
"cancel": "Cancel wooing",
"cancelConfirm": "Do you really want to cancel wooing? Progress will be lost.",
@@ -457,6 +464,65 @@
"cancelTooSoon": "You can only cancel wooing after 24 hours."
}
},
"marriageState": {
"stable": "Stable",
"strained": "Strained",
"crisis": "Crisis"
},
"householdTension": {
"label": "Household Tension",
"low": "Calm",
"medium": "Uneasy",
"high": "Strained"
},
"lovers": {
"title": "Lovers and Mistresses",
"none": "No lovers present.",
"affection": "Affection",
"visibility": "Visibility",
"discretion": "Discretion",
"maintenance": "Maintenance",
"monthlyCost": "Monthly Cost",
"statusFit": "Status Fit",
"acknowledged": "Acknowledged",
"underfunded": "{count} months underfunded",
"role": {
"secret_affair": "Secret affair",
"lover": "Lover",
"mistress_or_favorite": "Mistress or favorite"
},
"risk": {
"low": "Low risk",
"medium": "Medium risk",
"high": "High risk"
},
"actions": {
"start": "Start affair",
"startSuccess": "The new affair has begun.",
"startError": "The affair could not be started.",
"maintenanceLow": "Maintenance 25",
"maintenanceMedium": "Maintenance 50",
"maintenanceHigh": "Maintenance 75",
"maintenanceSuccess": "Maintenance has been updated.",
"maintenanceError": "Maintenance could not be updated.",
"acknowledge": "Acknowledge",
"acknowledgeSuccess": "The relationship has been officially acknowledged.",
"acknowledgeError": "The relationship could not be acknowledged.",
"end": "End",
"endConfirm": "Do you really want to end this relationship?",
"endSuccess": "The relationship has been ended.",
"endError": "The relationship could not be ended."
},
"candidates": {
"title": "Possible affairs",
"roleLabel": "Relationship form",
"none": "There are currently no suitable new affairs."
}
},
"notifications": {
"scandal": "A family scandal is shaking your house.",
"loverBirth": "A child has been born from an affair."
},
"sendgift": {
"error": {
"nogiftselected": "Please select a gift.",
@@ -604,6 +670,60 @@
"cost": "Cost",
"date": "Date"
}
},
"underground": {
"title": "Underground",
"tabs": {
"activities": "Activities",
"attacks": "Attacks"
},
"activities": {
"none": "No activities available.",
"create": "Create new activity",
"type": "Activity type",
"victim": "Target person",
"cost": "Cost",
"status": "Status",
"additionalInfo": "Additional information",
"blackmailAmount": "Blackmail amount",
"discoveries": "Discoveries",
"visibilityDelta": "Visibility",
"reputationDelta": "Reputation",
"victimPlaceholder": "Enter username",
"sabotageTarget": "Sabotage target",
"corruptGoal": "Corruption goal",
"affairGoal": "Investigation goal"
},
"attacks": {
"target": "Attacker",
"date": "Date",
"success": "Success",
"none": "No attacks recorded."
},
"types": {
"spyin": "Espionage",
"assassin": "Assassination",
"sabotage": "Sabotage",
"corrupt_politician": "Corruption",
"rob": "Robbery",
"investigate_affair": "Investigate affair"
},
"targets": {
"house": "House",
"storage": "Storage"
},
"goals": {
"elect": "Appointment",
"taxIncrease": "Raise taxes",
"taxDecrease": "Lower taxes",
"expose": "Expose",
"blackmail": "Blackmail"
},
"status": {
"pending": "Pending",
"resolved": "Resolved",
"failed": "Failed"
}
}
}
}
}