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

@@ -119,6 +119,9 @@
<p class="certificate-panel__hint">
{{ certificateProgressHint }}
</p>
<p class="certificate-panel__howto">
{{ $t('falukant.overview.certificate.scoreHowToRaise') }}
</p>
<div class="certificate-panel__grid">
<article class="certificate-panel__block">
@@ -917,6 +920,12 @@ export default {
color: var(--color-text-secondary);
}
.certificate-panel__howto {
margin: -8px 0 16px;
color: var(--color-text-secondary);
font-size: 0.92rem;
}
.certificate-panel__productions-since {
margin: 6px 0 0;
font-size: 0.85rem;