feat(i18n): update 'acknowledgeHelp' translations and enhance UI interaction
All checks were successful
Deploy to production / deploy (push) Successful in 2m56s

- Added new translations for 'maintenance', 'affection', and 'breakup' in Cebuano, German, English, and Spanish to provide users with comprehensive context regarding relationship dynamics.
- Refactored the FamilyView component to utilize a details element for the 'acknowledgeHelp' section, improving user interaction and readability.
- Enhanced styling for the summary element to improve visibility and user engagement.
This commit is contained in:
Torsten Schulz (local)
2026-04-13 11:41:17 +02:00
parent e2f4b255ff
commit ba72d4fb74
5 changed files with 26 additions and 3 deletions

View File

@@ -832,6 +832,9 @@
"acknowledgeHelp": {
"title": "Unsa ang buot ipasabot sa \"giila\"?",
"meaning": "Ang giilang affair nailhan sa publiko. Kasagaran mosaka ang visibility ug risgo sa iskandalo.",
"maintenance": "Importante usab ang maintenance: kung kulang og pondo, mosaka ang visibility ug extra nga risgo ug mahimong moubos ang diskresyon.",
"affection": "Kung magpadayon ang ubos nga maintenance, mohinay ang affection sa relasyon sa paglabay sa panahon.",
"breakup": "Ang awtomatikong pagbulag tungod sa dili kontento wala pa klarong gi-enforce karon, pero pwede nimo tapuson ang relasyon mano-mano bisan kanus-a.",
"tradeoff": "Iila kung gusto nimo og bukas ug lig-on nga relasyon. Ayaw iila kung mas gusto nimo ang diskresyon ug mas ubos nga risgo.",
"buttonHint": "Himong opisyal ang relasyon ug moubos ang diskresyon."
}

View File

@@ -757,6 +757,9 @@
"acknowledgeHelp": {
"title": "Was bedeutet „anerkannt“?",
"meaning": "Eine anerkannte Liebschaft ist öffentlich bekannt. Das erhöht in der Regel Sichtbarkeit und Skandalrisiko.",
"maintenance": "Wichtig ist außerdem der Unterhalt: Bei Unterversorgung steigen Sichtbarkeit und Zusatzrisiko, während Diskretion sinken kann.",
"affection": "Auf Dauer leidet auch die Zuneigung der Beziehung, wenn der Unterhalt zu niedrig bleibt.",
"breakup": "Eine automatische Trennung nur wegen Unzufriedenheit ist derzeit nicht fest vorgesehen, aber du kannst die Liebschaft jederzeit selbst beenden.",
"tradeoff": "Anerkennen ist sinnvoll für eine offene, stabile Beziehung. Nicht anerkennen ist besser, wenn du Diskretion und geringes Risiko willst.",
"buttonHint": "Macht die Beziehung offiziell und damit weniger diskret."
},

View File

@@ -936,6 +936,9 @@
"acknowledgeHelp": {
"title": "What does 'acknowledged' mean?",
"meaning": "An acknowledged affair is publicly known. This usually increases visibility and scandal risk.",
"maintenance": "Maintenance also matters: when underfunded, visibility and extra risk rise while discretion can drop.",
"affection": "If low maintenance persists, affection in the relationship declines over time.",
"breakup": "Automatic breakup due to dissatisfaction is not explicitly enforced right now, but you can end the affair manually at any time.",
"tradeoff": "Acknowledge if you want an open, stable relationship. Keep it unacknowledged if you want discretion and lower risk.",
"buttonHint": "Makes the relationship official and less discreet."
}

View File

@@ -790,6 +790,9 @@
"acknowledgeHelp": {
"title": "¿Qué significa \"reconocido\"?",
"meaning": "Una relación reconocida es pública. Normalmente aumenta la visibilidad y el riesgo de escándalo.",
"maintenance": "También importa el mantenimiento: con financiación insuficiente suben la visibilidad y el riesgo extra, y la discreción puede bajar.",
"affection": "Si el mantenimiento bajo se mantiene, el afecto de la relación disminuye con el tiempo.",
"breakup": "La ruptura automática por insatisfacción no está aplicada de forma explícita ahora mismo, pero puedes terminar la relación manualmente en cualquier momento.",
"tradeoff": "Reconocer conviene si quieres una relación abierta y estable. No reconocer conviene si prefieres discreción y menos riesgo.",
"buttonHint": "Hace oficial la relación y reduce la discreción."
}

View File

@@ -342,11 +342,16 @@
<!-- Liebhaber / Geliebte -->
<div class="lovers-section">
<h3>{{ $t('falukant.family.lovers.title') }}</h3>
<div class="lovers-acknowledge-help">
<strong>{{ $t('falukant.family.lovers.acknowledgeHelp.title') }}</strong>
<details class="lovers-acknowledge-help">
<summary class="lovers-acknowledge-help__summary">
{{ $t('falukant.family.lovers.acknowledgeHelp.title') }}
</summary>
<p>{{ $t('falukant.family.lovers.acknowledgeHelp.meaning') }}</p>
<p>{{ $t('falukant.family.lovers.acknowledgeHelp.maintenance') }}</p>
<p>{{ $t('falukant.family.lovers.acknowledgeHelp.affection') }}</p>
<p>{{ $t('falukant.family.lovers.acknowledgeHelp.breakup') }}</p>
<p>{{ $t('falukant.family.lovers.acknowledgeHelp.tradeoff') }}</p>
</div>
</details>
<p v-if="politicalFreeLoverSlots > 0" class="lovers-political-hint">
{{ $t('falukant.family.lovers.politicalFreeSlotsHint', { count: politicalFreeLoverSlots }) }}
</p>
@@ -1564,6 +1569,12 @@ export default {
margin-bottom: 4px;
}
.lovers-acknowledge-help__summary {
cursor: pointer;
font-weight: 700;
margin-bottom: 4px;
}
.lovers-acknowledge-help p {
margin: 4px 0;
color: var(--color-text-secondary);