Browse Source

Properly translate default profiles

Otherwise the machine instance doesn't get loaded.

Contributes to issue CURA-844.
Ghostkeeper 8 years ago
parent
commit
31901606b8

+ 5 - 1
plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py

@@ -18,7 +18,11 @@ _printer_translations = {
 _profile_translations = {
     "PLA": "generic_pla",
     "ABS": "generic_abs",
-    "CPE": "generic_cpe"
+    "CPE": "generic_cpe",
+    "Low Quality": "low",
+    "Normal Quality": "normal",
+    "High Quality": "high",
+    "Ulti Quality": "high" #This one doesn't have an equivalent. Map it to high.
 }
 
 ##  How to translate setting names from the old version to the new.