Remove old references to buildplate.

CURA-6867
This commit is contained in:
Joey de l'Arago 2023-01-10 10:31:08 +01:00
parent 99d47fe772
commit 55531ab04b
6 changed files with 4 additions and 119 deletions

View file

@ -102,9 +102,6 @@ UM.Dialog
case "print_core_change":
text = catalog.i18nc("@label", "Change print core %1 from %2 to %3.").arg(change.index + 1).arg(change.originName).arg(change.targetName)
break
case "buildplate_change":
text = catalog.i18nc("@label", "Change build plate to %1 (This cannot be overridden).").arg(formatBuildPlateType(change.target_name))
break
default:
text = "unknown"
}
@ -143,19 +140,4 @@ UM.Dialog
}
return true
}
function formatBuildPlateType(buildPlateType)
{
var translationText = ""
switch (buildPlateType) {
case "glass":
translationText = catalog.i18nc("@label", "Glass")
break
case "aluminum":
translationText = catalog.i18nc("@label", "Aluminum")
break
default:
translationText = null
}
return translationText
}
}