From 07015a7f8fdb070ff83aa8bcba0907df00fe826e Mon Sep 17 00:00:00 2001 From: Matteo Parenti Date: Wed, 18 Feb 2026 14:16:03 +0100 Subject: [PATCH] fix(i18n): update remaining filament labels in multiple languages --- frontend/src/components/AssignSpoolModal.tsx | 2 +- frontend/src/i18n/locales/de.ts | 2 ++ frontend/src/i18n/locales/en.ts | 2 ++ frontend/src/i18n/locales/fr.ts | 2 ++ frontend/src/i18n/locales/it.ts | 4 +++- frontend/src/i18n/locales/ja.ts | 2 ++ 6 files changed, 12 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/AssignSpoolModal.tsx b/frontend/src/components/AssignSpoolModal.tsx index d899435dc..222e84391 100644 --- a/frontend/src/components/AssignSpoolModal.tsx +++ b/frontend/src/components/AssignSpoolModal.tsx @@ -177,7 +177,7 @@ export function AssignSpoolModal({ isOpen, onClose, printerId, amsId, trayId, tr

{spool.color_name || ''} {spool.label_weight ? ` - ${spool.label_weight}g` : ''} - {spool.label_weight ? ` (${Math.max(0, Math.round(spool.label_weight - spool.weight_used))}g remaining)` : ''} + {spool.label_weight ? ` (${Math.max(0, Math.round(spool.label_weight - spool.weight_used))}g ${t('ams.remainingUnit')})` : ''}

{selectedSpoolId === spool.id && ( diff --git a/frontend/src/i18n/locales/de.ts b/frontend/src/i18n/locales/de.ts index 2c4b87003..90ed1151d 100644 --- a/frontend/src/i18n/locales/de.ts +++ b/frontend/src/i18n/locales/de.ts @@ -2682,6 +2682,8 @@ export default { kFactor: 'K-Faktor', fill: 'Füllstand', configure: 'Konfigurieren', + used: 'verwendet', + remainingUnit: 'verbleibend', }, // Print modal diff --git a/frontend/src/i18n/locales/en.ts b/frontend/src/i18n/locales/en.ts index 36a4a9f43..4a60844a7 100644 --- a/frontend/src/i18n/locales/en.ts +++ b/frontend/src/i18n/locales/en.ts @@ -2686,6 +2686,8 @@ export default { kFactor: 'K Factor', fill: 'Fill', configure: 'Configure', + used: 'used', + remainingUnit: 'remaining', }, // Print modal diff --git a/frontend/src/i18n/locales/fr.ts b/frontend/src/i18n/locales/fr.ts index 08e10d7d8..f176a0fb6 100644 --- a/frontend/src/i18n/locales/fr.ts +++ b/frontend/src/i18n/locales/fr.ts @@ -2674,6 +2674,8 @@ export default { kFactor: 'Facteur K', fill: 'Remplir', configure: 'Configurer', + used: 'utilisé', + remainingUnit: 'restant', }, // Print modal diff --git a/frontend/src/i18n/locales/it.ts b/frontend/src/i18n/locales/it.ts index 3fbe22252..e9ca369e6 100644 --- a/frontend/src/i18n/locales/it.ts +++ b/frontend/src/i18n/locales/it.ts @@ -2397,8 +2397,10 @@ export default { externalSpool: 'Bobina esterna', profile: 'Profilo', kFactor: 'K Factor', - fill: 'Residuo', + fill: 'Livello', configure: 'Configura', + used: 'utilizzato', + remainingUnit: 'rimanente', }, // Print modal diff --git a/frontend/src/i18n/locales/ja.ts b/frontend/src/i18n/locales/ja.ts index 390012f88..2637cd2e1 100644 --- a/frontend/src/i18n/locales/ja.ts +++ b/frontend/src/i18n/locales/ja.ts @@ -2604,6 +2604,8 @@ export default { kFactor: 'K値', fill: '充填率', configure: '設定', + used: '使用済み', + remainingUnit: '残り', }, printModal: { flowCalibration: 'フローキャリブレーション',