mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-24 23:04:30 +08:00
Remove translation for Unknown printer type
CURA-6449
This commit is contained in:
parent
588dd6cd78
commit
26205fbdce
@ -61,12 +61,12 @@ class DiscoveredPrinter(QObject):
|
||||
from cura.CuraApplication import CuraApplication
|
||||
readable_type = CuraApplication.getInstance().getMachineManager().getMachineTypeNameFromId(self._machine_type)
|
||||
if not readable_type:
|
||||
readable_type = catalog.i18nc("@label", "Unknown")
|
||||
readable_type = "unknown"
|
||||
return readable_type
|
||||
|
||||
@pyqtProperty(bool, notify = machineTypeChanged)
|
||||
def isUnknownMachineType(self) -> bool:
|
||||
return self.readableMachineType == catalog.i18nc("@label", "Unknown")
|
||||
return self.readableMachineType == "unknown"
|
||||
|
||||
@pyqtProperty(QObject, constant = True)
|
||||
def device(self) -> "NetworkedPrinterOutputDevice":
|
||||
|
Loading…
x
Reference in New Issue
Block a user