fix(i18n): update remaining filament labels in multiple languages

This commit is contained in:
Matteo Parenti
2026-02-18 14:16:03 +01:00
parent 7efbb1fc58
commit 07015a7f8f
6 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ export function AssignSpoolModal({ isOpen, onClose, printerId, amsId, trayId, tr
<p className="text-xs text-bambu-gray">
{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')})` : ''}
</p>
</div>
{selectedSpoolId === spool.id && (