Add taxFromSaleProduct translation and enhance MoneyHistoryView for product loading

- Added new translation keys for "taxFromSaleProduct" in both German and English locales.
- Updated MoneyHistoryView component to load product data asynchronously and map product IDs to their labels for improved activity translation handling.
- Enhanced activity translation logic to support both legacy and new formats for tax-related activities.
This commit is contained in:
Torsten Schulz (local)
2025-12-22 15:17:51 +01:00
parent ea468c9878
commit dc72ed2feb
3 changed files with 38 additions and 1 deletions

View File

@@ -583,6 +583,7 @@
"Production cost": "Produktionskosten",
"Sell all products": "Alle Produkte verkauft",
"sell products": "Produkte verkauft",
"taxFromSaleProduct": "Steuer aus Verkauf: {product}",
"director starts production": "Direktor beginnt Produktion",
"director payed out": "Direktorgehalt ausgezahlt",
"Buy storage (type: field)": "Lagerplatz gekauft (Typ: Feld)",

View File

@@ -116,6 +116,7 @@
"Production cost": "Production cost",
"Sell all products": "Sell all products",
"sell products": "Sell products",
"taxFromSaleProduct": "Tax from product sale: {product}",
"director starts production": "Director starts production",
"director payed out": "Director salary paid out",
"Buy storage (type: field)": "Bought storage (type: field)",