feat(politics): add new political office benefits and enhance database migration
All checks were successful
Deploy to production / deploy (push) Successful in 2m54s

- Introduced new benefits including 'reputation_periodic', 'appoint_politicians', 'set_regional_tax', 'free_lover_slots', 'guard_protection', and 'court_immunity' to the political office system.
- Updated database migration to add and remove the 'last_political_daily_salary_on' column using SQL queries for better performance.
- Enhanced localization files for multiple languages to support new benefits, improving user experience across the application.
- Updated UI components to display new benefits correctly in the PoliticsView, ensuring accurate representation of political office functionalities.
This commit is contained in:
Torsten Schulz (local)
2026-04-02 15:27:05 +02:00
parent 49713d957d
commit 5d06d97737
10 changed files with 303 additions and 19 deletions

View File

@@ -578,6 +578,18 @@
"daily_salary": "Daily office stipend (once per day): about {amount}",
"tax_exemption": "Tax exemption: {regions}",
"tax_exemption_all": "Tax exemption: all regional levels",
"reputation_periodic": "+{gain} reputation every {days} days (office bonus)",
"appoint_politicians": "Power to appoint: {offices}",
"set_regional_tax": "May set tax rates ({scope})",
"tax_scope": {
"local": "locally in jurisdiction",
"shire": "shire level",
"duchy": "duchy level",
"national": "nationwide"
},
"free_lover_slots": "{count} additional affair(s) with no monthly upkeep",
"guard_protection": "Official guard / escort",
"court_immunity": "Limited judicial immunity in office matters",
"generic": "Benefit ({code})"
},
"regionLevels": {