Implement cooldown feature for nobility advancement

- Added logic in FalukantService to calculate the next available advancement date based on the user's last advancement.
- Updated the frontend to display a cooldown message indicating when the user can next advance in nobility.
- Enhanced the NobilityView component to handle and format the next advancement date appropriately.
This commit is contained in:
Torsten Schulz (local)
2025-11-26 17:23:54 +01:00
parent c1b69389c6
commit 608e62c2bd
4 changed files with 28 additions and 4 deletions

View File

@@ -538,7 +538,8 @@
},
"advance": {
"confirm": "Aufsteigen beantragen"
}
},
"cooldown": "Du kannst frühestens wieder am {date} aufsteigen."
},
"reputation": {
"title": "Reputation",

View File

@@ -41,6 +41,9 @@
"raft": "Raft",
"sailing_ship": "Sailing ship"
}
},
"nobility": {
"cooldown": "You can only advance again on {date}."
}
}
}