From 3a07af2d7801b5759e7d905f8bd61b901a25b99b Mon Sep 17 00:00:00 2001 From: Laura Dolibois Date: Mon, 16 Jun 2025 20:41:02 +0200 Subject: [PATCH] added translations to StatisticsInfo --- 01-frontend/public/locales/de/translation.json | 11 +++++++++-- 01-frontend/public/locales/en/translation.json | 9 ++++++++- .../src/helper/adminpanel/StatisticsInfo.tsx | 14 +++++++------- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/01-frontend/public/locales/de/translation.json b/01-frontend/public/locales/de/translation.json index 2b2030d..60157d4 100644 --- a/01-frontend/public/locales/de/translation.json +++ b/01-frontend/public/locales/de/translation.json @@ -128,5 +128,12 @@ "orderDetails": "Bestelldetails", "orderId": "Bestellnummer", "date": "Datum", - "moveToNextStatus": "Zum nächsten Status" -} + "moveToNextStatus": "Zum nächsten Status", + "salesStatistics": "Verkaufsstatistiken", + "monthlySalesVolume": "Monatliches Verkaufsvolumen", + "monthlySalesRevenue": "Monatlicher Umsatz in €", + "itemVolumeDistribution": "Verteilung der Artikelmenge", + "itemRevenueDistribution": "Verteilung des Artikelumsatzes", + "stockFulfillment": "Bestandserfüllung", + "orderStatus": "Bestellstatus" +} \ No newline at end of file diff --git a/01-frontend/public/locales/en/translation.json b/01-frontend/public/locales/en/translation.json index 3695452..a9505f0 100644 --- a/01-frontend/public/locales/en/translation.json +++ b/01-frontend/public/locales/en/translation.json @@ -128,5 +128,12 @@ "orderDetails": "Order Details", "orderId": "Order Number", "date": "Date", - "moveToNextStatus": "Move to Next Status" + "moveToNextStatus": "Move to Next Status", + "salesStatistics": "Sales Statistics", + "monthlySalesVolume": "Monthly Sales Volume", + "monthlySalesRevenue": "Monthly Sales Revenue in €", + "itemVolumeDistribution": "Item Volume Distribution", + "itemRevenueDistribution": "Item Revenue Distribution", + "stockFulfillment": "Stock fulfillment", + "orderStatus": "Order Status" } \ No newline at end of file diff --git a/01-frontend/src/helper/adminpanel/StatisticsInfo.tsx b/01-frontend/src/helper/adminpanel/StatisticsInfo.tsx index b9c46ad..653e506 100644 --- a/01-frontend/src/helper/adminpanel/StatisticsInfo.tsx +++ b/01-frontend/src/helper/adminpanel/StatisticsInfo.tsx @@ -160,12 +160,12 @@ export default function StatisticsInfo() { return ( - Sales Statistics + {t("salesStatistics")} - Monthly Sales Volume + {t("monthlySalesVolume")} - Monthly Sales Revenue in € + {t("monthlySalesRevenue")} - Item Volume Distribution + {t("itemVolumeDistribution")} - Item Revenue Distribution + {t("itemRevenueDistribution")} - Stock fulfillment + {t("stockFulfillment")} - Order Status + {t("orderStatus")}