mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Clarify translations of 'unknown'
For some languages, the gender matters. Contributes to issue CURA-4601.
This commit is contained in:
parent
6cea9c59e8
commit
147cbdf592
3 changed files with 5 additions and 5 deletions
|
@ -230,13 +230,13 @@ Cura.MachineAction
|
||||||
{
|
{
|
||||||
if(base.selectedPrinter.printerType == "ultimaker3")
|
if(base.selectedPrinter.printerType == "ultimaker3")
|
||||||
{
|
{
|
||||||
return catalog.i18nc("@label", "Ultimaker 3")
|
return catalog.i18nc("@label Printer name", "Ultimaker 3")
|
||||||
} else if(base.selectedPrinter.printerType == "ultimaker3_extended")
|
} else if(base.selectedPrinter.printerType == "ultimaker3_extended")
|
||||||
{
|
{
|
||||||
return catalog.i18nc("@label", "Ultimaker 3 Extended")
|
return catalog.i18nc("@label Printer name", "Ultimaker 3 Extended")
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
return catalog.i18nc("@label", "Unknown") // We have no idea what type it is. Should not happen 'in the field'
|
return catalog.i18nc("@label Printer name", "Unknown") // We have no idea what type it is. Should not happen 'in the field'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -486,7 +486,7 @@ class NetworkClusterPrinterOutputDevice(NetworkPrinterOutputDevice.NetworkPrinte
|
||||||
|
|
||||||
printer_name = self.__getPrinterNameFromUuid(print_job["printer_uuid"])
|
printer_name = self.__getPrinterNameFromUuid(print_job["printer_uuid"])
|
||||||
if printer_name is None:
|
if printer_name is None:
|
||||||
printer_name = i18n_catalog.i18nc("@label", "Unknown")
|
printer_name = i18n_catalog.i18nc("@label Printer name", "Unknown")
|
||||||
|
|
||||||
message_text = (i18n_catalog.i18nc("@info:status",
|
message_text = (i18n_catalog.i18nc("@info:status",
|
||||||
"Printer '{printer_name}' has finished printing '{job_name}'.")
|
"Printer '{printer_name}' has finished printing '{job_name}'.")
|
||||||
|
|
|
@ -44,7 +44,7 @@ Rectangle
|
||||||
case "maintenance": // TODO: new string
|
case "maintenance": // TODO: new string
|
||||||
case "unknown":
|
case "unknown":
|
||||||
default:
|
default:
|
||||||
return catalog.i18nc("@label", "Unknown");
|
return catalog.i18nc("@label Printer status", "Unknown");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue