Refactor DirectorInfo and SaleSection components to unify speedLabel logic and remove unnecessary watch properties

- Simplified speedLabel method in DirectorInfo.vue and SaleSection.vue to handle null values and translations more efficiently.
- Removed the watch property for branchId in DirectorInfo.vue as it was not needed.
- Cleaned up the code by eliminating redundant checks and improving readability.

Update translations in falukant.json files

- Removed unused keys and cleaned up the structure in both German and English translation files.
- Ensured that all necessary translations are still present while removing obsolete entries.

Refactor BranchView and PoliticsView components for improved performance and clarity

- Removed caching logic for product prices in BranchView.vue to simplify the loading process.
- Streamlined the loadCurrentPositions method in PoliticsView.vue by eliminating unnecessary character ID checks and logging.
- Enhanced the user experience by ensuring that the application submission process is clearer and more efficient.

Clean up MoneyHistoryView and FamilyView components

- Removed the graph section from MoneyHistoryView.vue to simplify the UI.
- Adjusted the mood display logic in FamilyView.vue to ensure proper translation handling.
This commit is contained in:
Torsten Schulz (local)
2026-02-09 11:44:26 +01:00
parent 022cd47e7e
commit 8c40144734
12 changed files with 452 additions and 2300 deletions

View File

@@ -114,21 +114,11 @@
},
"overview": {
"title": "Falukant - Übersicht",
"heirSelection": {
"title": "Erben-Auswahl",
"description": "Dein bisheriger Charakter ist nicht mehr verfügbar. Wähle einen Erben aus der Liste, um mit diesem weiterzuspielen.",
"loading": "Lade mögliche Erben…",
"noHeirs": "Keine Erben verfügbar.",
"select": "Als Spielcharakter wählen",
"error": "Fehler beim Auswählen des Erben."
},
"metadata": {
"title": "Persönliches",
"name": "Name",
"money": "Vermögen",
"age": "Alter",
"years": "Jahre",
"days": "Tage",
"mainbranch": "Heimatstadt",
"nobleTitle": "Stand"
},
@@ -317,9 +307,6 @@
"current": "Laufende Produktionen",
"product": "Produkt",
"remainingTime": "Verbleibende Zeit (Sekunden)",
"status": "Status",
"sleep": "Pausiert",
"active": "Aktiv",
"noProductions": "Keine laufenden Produktionen."
},
"columns": {
@@ -591,23 +578,6 @@
"time": "Zeit",
"prev": "Zurück",
"next": "Weiter",
"graph": {
"open": "Verlauf anzeigen",
"title": "Geldentwicklung",
"close": "Schließen",
"loading": "Lade Verlauf...",
"noData": "Für den gewählten Zeitraum liegen keine Buchungen vor.",
"yesterday": "Gestern",
"range": {
"label": "Zeitraum",
"today": "Heute",
"24h": "Letzte 24 Stunden",
"week": "Letzte Woche",
"month": "Letzter Monat",
"year": "Letztes Jahr",
"all": "Gesamter Verlauf"
}
},
"activities": {
"Product sale": "Produkte verkauft",
"Production cost": "Produktionskosten",
@@ -678,7 +648,6 @@
"happy": "Glücklich",
"sad": "Traurig",
"angry": "Wütend",
"calm": "Ruhig",
"nervous": "Nervös",
"excited": "Aufgeregt",
"bored": "Gelangweilt",
@@ -774,34 +743,7 @@
"reputation": {
"title": "Reputation",
"overview": {
"title": "Übersicht",
"current": "Aktuelle Reputation"
},
"actions": {
"title": "Reputations-Aktionen",
"description": "Du kannst verschiedene Aktionen durchführen, um deine Reputation zu verbessern.",
"none": "Keine Reputations-Aktionen verfügbar.",
"action": "Aktion",
"cost": "Kosten",
"gain": "Gewinn",
"timesUsed": "Verwendet",
"execute": "Ausführen",
"running": "Läuft...",
"dailyLimit": "Tägliches Limit: {remaining} von {cap} Aktionen übrig",
"cooldown": "Cooldown: Noch {minutes} Minuten",
"type": {
"soup_kitchen": "Suppenküche",
"library_donation": "Bibliotheksspende",
"scholarships": "Stipendien",
"church_hospice": "Kirchenhospiz",
"school_funding": "Schulfinanzierung",
"orphanage_build": "Waisenhaus bauen",
"bridge_build": "Brücke bauen",
"hospital_donation": "Krankenhausspende",
"patronage": "Mäzenatentum",
"statue_build": "Statue errichten",
"well_build": "Brunnen bauen"
}
"title": "Übersicht"
},
"party": {
"title": "Feste",
@@ -852,53 +794,6 @@
},
"church": {
"title": "Kirche",
"tabs": {
"current": "Aktuelle Positionen",
"available": "Verfügbare Positionen",
"applications": "Bewerbungen"
},
"current": {
"office": "Amt",
"region": "Region",
"holder": "Inhaber",
"supervisor": "Vorgesetzter",
"none": "Keine aktuellen Positionen vorhanden."
},
"available": {
"office": "Amt",
"region": "Region",
"supervisor": "Vorgesetzter",
"seats": "Verfügbare Plätze",
"action": "Aktion",
"apply": "Bewerben",
"applySuccess": "Bewerbung erfolgreich eingereicht.",
"applyError": "Fehler beim Einreichen der Bewerbung.",
"none": "Keine verfügbaren Positionen."
},
"applications": {
"office": "Amt",
"region": "Region",
"applicant": "Bewerber",
"date": "Datum",
"action": "Aktion",
"approve": "Annehmen",
"reject": "Ablehnen",
"approveSuccess": "Bewerbung angenommen.",
"rejectSuccess": "Bewerbung abgelehnt.",
"decideError": "Fehler bei der Entscheidung.",
"none": "Keine Bewerbungen vorhanden."
},
"offices": {
"lay-preacher": "Laienprediger",
"village-priest": "Dorfgeistlicher",
"parish-priest": "Pfarrer",
"dean": "Dekan",
"archdeacon": "Erzdiakon",
"bishop": "Bischof",
"archbishop": "Erzbischof",
"cardinal": "Kardinal",
"pope": "Papst"
},
"baptism": {
"title": "Taufen",
"table": {
@@ -1000,12 +895,7 @@
"drunkOfLife": "Trunk des Lebens",
"barber": "Barbier"
},
"choose": "Bitte auswählen",
"errors": {
"tooClose": "Du kannst nicht so oft Maßnahmen durchführen.",
"generic": "Ein Fehler ist aufgetreten."
},
"nextMeasureAt": "Nächste Maßnahme ab"
"choose": "Bitte auswählen"
},
"politics": {
"title": "Politik",
@@ -1029,13 +919,9 @@
"region": "Region",
"date": "Datum",
"candidacy": "Kandidatur",
"candidacyWithAge": "Kandidatur (ab 16 Jahren)",
"none": "Keine offenen Positionen.",
"apply": "Für ausgewählte Positionen kandidieren",
"minAgeHint": "Kandidatur erst ab 16 Jahren möglich.",
"ageRequirement": "Für alle politischen Ämter gilt: Kandidatur erst ab 16 Jahren."
"apply": "Für ausgewählte Positionen kandidieren"
},
"too_young": "Dein Charakter ist noch zu jung. Eine Bewerbung ist erst ab 16 Jahren möglich.",
"upcoming": {
"office": "Amt",
"region": "Region",