Add translation for UM3 and UM3E from XML profiles

Otherwise it would remove all spaces and put everything lowercase, but that didn't work for UM3E.

Contributes to issue CURA-2575.
This commit is contained in:
Ghostkeeper 2016-12-14 13:50:16 +01:00
parent a1f5efbc3a
commit f4fa3ac53f
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -594,6 +594,8 @@ class XmlMaterialProfile(UM.Settings.InstanceContainer):
# Map XML file product names to internal ids
# TODO: Move this to definition's metadata
__product_id_map = {
"Ultimaker 3": "ultimaker3",
"Ultimaker 3 Extended": "ultimaker3_extended",
"Ultimaker 2": "ultimaker2",
"Ultimaker 2+": "ultimaker2_plus",
"Ultimaker 2 Go": "ultimaker2_go",