feat(falukant): update production counting logic and enhance localization
All checks were successful
Deploy to production / deploy (push) Successful in 2m55s

- Modified the production counting logic in FalukantService to count each completed production directly from the falukant_log.production table, simplifying the query structure.
- Added a new localization entry for "scoreHowToRaise" in Cebuano, German, English, Spanish, and French to provide users with clear guidance on how to improve their score through various factors.
- Updated the OverviewView component to display the new score improvement information, enhancing user experience and understanding of scoring dynamics.
This commit is contained in:
Torsten Schulz (local)
2026-04-13 13:59:37 +02:00
parent 162e908c1c
commit b0624422b8
7 changed files with 17 additions and 7 deletions

View File

@@ -161,6 +161,7 @@
"scoreMetMinimumsMissing": "The weighted score is generally high enough for level {next}, but at least one minimum requirement is still missing.",
"notReady": "For level {next}, both the minimum requirements and the score threshold of {threshold} must be met."
},
"scoreHowToRaise": "The score threshold rises via weighted points: knowledge (45%), completed productions (30%), office status (8%), reputation status (7%), house status (5%), and nobility status (5%). For fastest progress, focus on knowledge + many completed productions.",
"factors": "Current values",
"requirements": "Requirements for the next level",
"productionsSince": "Only productions on or after {date} count (since last promotion, bankruptcy, or succession).",