added translations to StatisticsInfo

This commit is contained in:
Laura Dolibois
2025-06-16 20:41:02 +02:00
parent c4fb5eb6b2
commit 3a07af2d78
3 changed files with 24 additions and 10 deletions

View File

@@ -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"
}

View File

@@ -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"
}

View File

@@ -160,12 +160,12 @@ export default function StatisticsInfo() {
return (
<Box className="" sx={{ color: theme.palette.text.primary }}>
<Typography mt={4} variant="h4" align="center" gutterBottom>
Sales Statistics
{t("salesStatistics")}
</Typography>
<Box sx={{ mb: 4 }}>
<Typography variant="h6" align="center" gutterBottom>
Monthly Sales Volume
{t("monthlySalesVolume")}
</Typography>
<BarChart
series={monthlyVolume}
@@ -175,7 +175,7 @@ export default function StatisticsInfo() {
</Box>
<Box sx={{ mb: 4 }}>
<Typography variant="h6" align="center" gutterBottom>
Monthly Sales Revenue in
{t("monthlySalesRevenue")}
</Typography>
<BarChart
series={monthlyRevenue}
@@ -186,7 +186,7 @@ export default function StatisticsInfo() {
<Box display={"flex"} mb={9}>
<Box className="vw20" sx={{ m: 2 }}>
<Typography variant="h6" align="center" gutterBottom>
Item Volume Distribution
{t("itemVolumeDistribution")}
</Typography>
<PieChart
series={[{
@@ -201,7 +201,7 @@ export default function StatisticsInfo() {
<Box className="vw20" sx={{ m: 2 }}>
<Typography variant="h6" align="center" gutterBottom>
Item Revenue Distribution
{t("itemRevenueDistribution")}
</Typography>
<PieChart
series={[{
@@ -215,7 +215,7 @@ export default function StatisticsInfo() {
</Box>
<Box className="vw20" sx={{ m: 2 }}>
<Typography variant="h6" align="center" gutterBottom>
Stock fulfillment
{t("stockFulfillment")}
</Typography>
<PieChart
series={[{
@@ -231,7 +231,7 @@ export default function StatisticsInfo() {
</Box>
<Box className="vw20" sx={{ m: 2 }}>
<Typography variant="h6" align="center" gutterBottom>
Order Status
{t("orderStatus")}
</Typography>
<PieChart
series={[{