diff --git a/src/components/profile/OrdersTab.js b/src/components/profile/OrdersTab.js index 1c42a6b..fb9cbf2 100644 --- a/src/components/profile/OrdersTab.js +++ b/src/components/profile/OrdersTab.js @@ -35,6 +35,7 @@ const getStatusTranslation = (status, t) => { cancelled: t ? t('orders.status.cancelled') : "Storniert", shipped: t ? t('orders.status.shipped') : "Verschickt", delivered: t ? t('orders.status.delivered') : "Geliefert", + awaiting_tracking: t ? t('orders.status.awaiting_tracking') : "Wird gepackt", }; return statusMap[status] || status; }; @@ -47,6 +48,7 @@ const statusEmojis = { cancelled: "❌", shipped: "🚚", delivered: "✅", + awaiting_tracking: "📦", }; const statusColors = { @@ -57,6 +59,7 @@ const statusColors = { cancelled: "#d32f2f", // red for cancelled shipped: "#2e7d32", // green delivered: "#2e7d32", // green + awaiting_tracking: "#1565c0", // blue — packing / pre-ship }; const currencyFormatter = new Intl.NumberFormat("de-DE", { diff --git a/src/i18n/locales/ar/orders.js b/src/i18n/locales/ar/orders.js index bbc5bae..652c2ac 100644 --- a/src/i18n/locales/ar/orders.js +++ b/src/i18n/locales/ar/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "تم التوصيل", "return": "إرجاع", "partialReturn": "إرجاع جزئي", - "partialDelivered": "تم التوصيل جزئياً" + "partialDelivered": "تم التوصيل جزئياً", + "awaiting_tracking": "جاري التعبئة" }, "table": { "orderNumber": "رقم الطلب", diff --git a/src/i18n/locales/bg/orders.js b/src/i18n/locales/bg/orders.js index 3d4043b..da6265d 100644 --- a/src/i18n/locales/bg/orders.js +++ b/src/i18n/locales/bg/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Доставено", "return": "Връщане", "partialReturn": "Частично връщане", - "partialDelivered": "Частично доставено" + "partialDelivered": "Частично доставено", + "awaiting_tracking": "Опакова се" }, "table": { "orderNumber": "Номер на поръчка", diff --git a/src/i18n/locales/cs/orders.js b/src/i18n/locales/cs/orders.js index ac53cc0..6e33493 100644 --- a/src/i18n/locales/cs/orders.js +++ b/src/i18n/locales/cs/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Doručeno", "return": "Vrácení", "partialReturn": "Částečné vrácení", - "partialDelivered": "Částečně doručeno" + "partialDelivered": "Částečně doručeno", + "awaiting_tracking": "Balí se" }, "table": { "orderNumber": "Číslo objednávky", diff --git a/src/i18n/locales/de/orders.js b/src/i18n/locales/de/orders.js index 9cb05e0..c181dd0 100644 --- a/src/i18n/locales/de/orders.js +++ b/src/i18n/locales/de/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Geliefert", "return": "Retoure", "partialReturn": "Teil Retoure", - "partialDelivered": "Teil geliefert" + "partialDelivered": "Teil geliefert", + "awaiting_tracking": "Wird gepackt" }, "table": { "orderNumber": "Bestellnummer", diff --git a/src/i18n/locales/el/orders.js b/src/i18n/locales/el/orders.js index b34d579..d0b42d8 100644 --- a/src/i18n/locales/el/orders.js +++ b/src/i18n/locales/el/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Παραδόθηκε", "return": "Επιστροφή", "partialReturn": "Μερική επιστροφή", - "partialDelivered": "Μερικώς παραδόθηκε" + "partialDelivered": "Μερικώς παραδόθηκε", + "awaiting_tracking": "Σε συσκευασία" }, "table": { "orderNumber": "Αριθμός παραγγελίας", diff --git a/src/i18n/locales/en/orders.js b/src/i18n/locales/en/orders.js index 5baae5c..fef0be7 100644 --- a/src/i18n/locales/en/orders.js +++ b/src/i18n/locales/en/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Delivered", // Geliefert "return": "Return", // Retoure "partialReturn": "Partial return", // Teil Retoure - "partialDelivered": "Partially delivered" // Teil geliefert + "partialDelivered": "Partially delivered", // Teil geliefert + "awaiting_tracking": "Being packed" // Wird gepackt }, "table": { "orderNumber": "Order number", // Bestellnummer diff --git a/src/i18n/locales/es/orders.js b/src/i18n/locales/es/orders.js index 01787d4..9e2c48c 100644 --- a/src/i18n/locales/es/orders.js +++ b/src/i18n/locales/es/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Entregado", "return": "Devolución", "partialReturn": "Devolución parcial", - "partialDelivered": "Entregado parcialmente" + "partialDelivered": "Entregado parcialmente", + "awaiting_tracking": "En preparación" }, "table": { "orderNumber": "Número de pedido", diff --git a/src/i18n/locales/fr/orders.js b/src/i18n/locales/fr/orders.js index 0f6c387..ba24e02 100644 --- a/src/i18n/locales/fr/orders.js +++ b/src/i18n/locales/fr/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Livré", "return": "Retour", "partialReturn": "Retour partiel", - "partialDelivered": "Partiellement livré" + "partialDelivered": "Partiellement livré", + "awaiting_tracking": "En cours d'emballage" }, "table": { "orderNumber": "Numéro de commande", diff --git a/src/i18n/locales/hr/orders.js b/src/i18n/locales/hr/orders.js index 3cfc0c4..da05a30 100644 --- a/src/i18n/locales/hr/orders.js +++ b/src/i18n/locales/hr/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Isporučeno", "return": "Povrat", "partialReturn": "Djelomični povrat", - "partialDelivered": "Djelomično isporučeno" + "partialDelivered": "Djelomično isporučeno", + "awaiting_tracking": "U pripremi" }, "table": { "orderNumber": "Broj narudžbe", diff --git a/src/i18n/locales/hu/orders.js b/src/i18n/locales/hu/orders.js index e798c34..86b65cb 100644 --- a/src/i18n/locales/hu/orders.js +++ b/src/i18n/locales/hu/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Kiszállítva", "return": "Visszaküldés", "partialReturn": "Részleges visszaküldés", - "partialDelivered": "Részben kiszállítva" + "partialDelivered": "Részben kiszállítva", + "awaiting_tracking": "Csomagolás alatt" }, "table": { "orderNumber": "Rendelésszám", diff --git a/src/i18n/locales/it/orders.js b/src/i18n/locales/it/orders.js index 1b0b078..85976a8 100644 --- a/src/i18n/locales/it/orders.js +++ b/src/i18n/locales/it/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Consegnato", "return": "Reso", "partialReturn": "Reso parziale", - "partialDelivered": "Parzialmente consegnato" + "partialDelivered": "Parzialmente consegnato", + "awaiting_tracking": "In preparazione" }, "table": { "orderNumber": "Numero ordine", diff --git a/src/i18n/locales/pl/orders.js b/src/i18n/locales/pl/orders.js index 8f2943c..ab2afb5 100644 --- a/src/i18n/locales/pl/orders.js +++ b/src/i18n/locales/pl/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Dostarczone", "return": "Zwrot", "partialReturn": "Częściowy zwrot", - "partialDelivered": "Częściowo dostarczone" + "partialDelivered": "Częściowo dostarczone", + "awaiting_tracking": "W trakcie pakowania" }, "table": { "orderNumber": "Numer zamówienia", diff --git a/src/i18n/locales/ro/orders.js b/src/i18n/locales/ro/orders.js index d686f1c..da6967c 100644 --- a/src/i18n/locales/ro/orders.js +++ b/src/i18n/locales/ro/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Livrat", "return": "Returnare", "partialReturn": "Returnare parțială", - "partialDelivered": "Livrat parțial" + "partialDelivered": "Livrat parțial", + "awaiting_tracking": "Se ambalează" }, "table": { "orderNumber": "Număr comandă", diff --git a/src/i18n/locales/ru/orders.js b/src/i18n/locales/ru/orders.js index 92cb80d..0f55c7b 100644 --- a/src/i18n/locales/ru/orders.js +++ b/src/i18n/locales/ru/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Доставлено", "return": "Возврат", "partialReturn": "Частичный возврат", - "partialDelivered": "Частично доставлено" + "partialDelivered": "Частично доставлено", + "awaiting_tracking": "Упаковывается" }, "table": { "orderNumber": "Номер заказа", diff --git a/src/i18n/locales/sk/orders.js b/src/i18n/locales/sk/orders.js index 973e528..ee603f2 100644 --- a/src/i18n/locales/sk/orders.js +++ b/src/i18n/locales/sk/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Doručené", "return": "Vrátenie", "partialReturn": "Čiastočné vrátenie", - "partialDelivered": "Čiastočne doručené" + "partialDelivered": "Čiastočne doručené", + "awaiting_tracking": "Balí sa" }, "table": { "orderNumber": "Číslo objednávky", diff --git a/src/i18n/locales/sl/orders.js b/src/i18n/locales/sl/orders.js index ae551b2..edca3a2 100644 --- a/src/i18n/locales/sl/orders.js +++ b/src/i18n/locales/sl/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Dostavljeno", "return": "Vrnitev", "partialReturn": "Delna vrnitev", - "partialDelivered": "Delno dostavljeno" + "partialDelivered": "Delno dostavljeno", + "awaiting_tracking": "V pripravi" }, "table": { "orderNumber": "Številka naročila", diff --git a/src/i18n/locales/sq/orders.js b/src/i18n/locales/sq/orders.js index a58ca34..03ec900 100644 --- a/src/i18n/locales/sq/orders.js +++ b/src/i18n/locales/sq/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Dorëzuar", "return": "Kthim", "partialReturn": "Kthim i pjesshëm", - "partialDelivered": "Dorëzuar pjesërisht" + "partialDelivered": "Dorëzuar pjesërisht", + "awaiting_tracking": "Po përgatitet" }, "table": { "orderNumber": "Numri i porosisë", diff --git a/src/i18n/locales/sr/orders.js b/src/i18n/locales/sr/orders.js index 57fb635..b7718c3 100644 --- a/src/i18n/locales/sr/orders.js +++ b/src/i18n/locales/sr/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Isporučeno", "return": "Povrat", "partialReturn": "Delimični povrat", - "partialDelivered": "Delimično isporučeno" + "partialDelivered": "Delimično isporučeno", + "awaiting_tracking": "U pripremi" }, "table": { "orderNumber": "Broj porudžbine", diff --git a/src/i18n/locales/sv/orders.js b/src/i18n/locales/sv/orders.js index 6009d88..b5af8e1 100644 --- a/src/i18n/locales/sv/orders.js +++ b/src/i18n/locales/sv/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Levererad", "return": "Retur", "partialReturn": "Delvis retur", - "partialDelivered": "Delvis levererad" + "partialDelivered": "Delvis levererad", + "awaiting_tracking": "Packas" }, "table": { "orderNumber": "Ordernummer", diff --git a/src/i18n/locales/tr/orders.js b/src/i18n/locales/tr/orders.js index 72bde94..154e5f2 100644 --- a/src/i18n/locales/tr/orders.js +++ b/src/i18n/locales/tr/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Teslim edildi", "return": "İade", "partialReturn": "Kısmi iade", - "partialDelivered": "Kısmen teslim edildi" + "partialDelivered": "Kısmen teslim edildi", + "awaiting_tracking": "Paketleniyor" }, "table": { "orderNumber": "Sipariş numarası", diff --git a/src/i18n/locales/uk/orders.js b/src/i18n/locales/uk/orders.js index 9de47bc..63e6e85 100644 --- a/src/i18n/locales/uk/orders.js +++ b/src/i18n/locales/uk/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "Доставлено", "return": "Повернення", "partialReturn": "Часткове повернення", - "partialDelivered": "Частково доставлено" + "partialDelivered": "Частково доставлено", + "awaiting_tracking": "Упаковується" }, "table": { "orderNumber": "Номер замовлення", diff --git a/src/i18n/locales/zh/orders.js b/src/i18n/locales/zh/orders.js index 6ed03ac..da0dd6d 100644 --- a/src/i18n/locales/zh/orders.js +++ b/src/i18n/locales/zh/orders.js @@ -9,7 +9,8 @@ export default { "delivered": "已送达", "return": "退货", "partialReturn": "部分退货", - "partialDelivered": "部分送达" + "partialDelivered": "部分送达", + "awaiting_tracking": "打包中" }, "table": { "orderNumber": "订单号",