Enhance NobilityView with new house position and condition formatting: Introduce methods to format house position labels and house condition descriptions based on numeric values. Update requirement translations to utilize these new methods for improved clarity and localization.

This commit is contained in:
Torsten Schulz (local)
2026-03-23 10:47:54 +01:00
parent 80d8caee88
commit ce36315b58
7 changed files with 181 additions and 36 deletions

View File

@@ -331,6 +331,9 @@
}
},
"nobility": {
"highestPoliticalOffice": "Highest political office",
"highestOfficeAny": "Highest office overall",
"none": "none",
"requirement": {
"money": "Wealth at least {amount}",
"cost": "Cost: {amount}",
@@ -339,6 +342,8 @@
"house_position": "House status at least level {amount}",
"house_condition": "House condition at least {amount}",
"office_rank_any": "Highest political or church office at least rank {amount}",
"office_rank_political": "Highest political office at least rank {amount}",
"lover_count_min": "At least {amount} lovers or favorites",
"lover_count_max": "At most {amount} lovers or favorites"
},
"cooldown": "You can only advance again on {date}."