Add servant management features: Implement endpoints for hiring, dismissing, and setting pay levels for servants in the FalukantController. Update UserHouse model to include servant-related attributes. Enhance frontend components to manage servant details, including staffing state and household order, with corresponding localization updates in multiple languages.

This commit is contained in:
Torsten Schulz (local)
2026-03-22 09:57:44 +01:00
parent 2977b152a2
commit 876ee2ab49
12 changed files with 1661 additions and 17 deletions

View File

@@ -149,7 +149,7 @@
"all": "All history"
}
},
"activities": {
"activities": {
"Product sale": "Product sale",
"Production cost": "Production cost",
"Sell all products": "Sell all products",
@@ -181,6 +181,75 @@
}
}
},
"house": {
"title": "House",
"statusreport": "House condition",
"element": "Element",
"state": "Condition",
"buyablehouses": "Buy a house",
"buy": "Buy",
"price": "Purchase price",
"worth": "Residual value",
"sell": "Sell",
"sellConfirm": "Do you really want to sell your house?",
"sellSuccess": "The house has been sold.",
"sellError": "The house could not be sold.",
"buySuccess": "The house has been bought.",
"buyError": "The house could not be bought.",
"renovate": "Renovate",
"renovateAll": "Renovate completely",
"servants": {
"title": "Servants",
"description": "Manage household staff, order and recurring costs in your home.",
"count": "Servant count",
"expectedRange": "Expected range",
"monthlyCost": "Monthly cost",
"quality": "Quality",
"householdOrder": "Household order",
"payLevel": "Pay level",
"payLevels": {
"low": "Low",
"normal": "Normal",
"high": "Generous"
},
"staffingState": {
"label": "Staffing",
"understaffed": "Understaffed",
"fitting": "Fitting",
"overstaffed": "Overstaffed"
},
"orderState": {
"label": "Order state",
"chaotic": "Chaotic",
"strained": "Strained",
"stable": "Stable",
"excellent": "Excellent"
},
"actions": {
"hire": "Hire 1 servant",
"dismiss": "Dismiss 1 servant",
"hireSuccess": "The household staff has been expanded.",
"hireError": "The staff could not be expanded.",
"dismissSuccess": "A servant has been dismissed.",
"dismissError": "The servant could not be dismissed.",
"payLevelSuccess": "Servant pay has been updated.",
"payLevelError": "Servant pay could not be updated."
}
},
"status": {
"roofCondition": "Roof",
"wallCondition": "Walls",
"floorCondition": "Floors",
"windowCondition": "Windows"
},
"type": {
"backyard_room": "Backyard room",
"wooden_house": "Wooden house",
"straw_hut": "Straw hut",
"family_house": "Family house",
"townhouse": "Townhouse"
}
},
"newdirector": {
"title": "New Director",
"age": "Age",