From 31901606b892a4a5235eaabd1b44f9137f304ea1 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 18 Jul 2016 16:01:18 +0200 Subject: [PATCH] Properly translate default profiles Otherwise the machine instance doesn't get loaded. Contributes to issue CURA-844. --- .../VersionUpgrade21to22/VersionUpgrade21to22.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py b/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py index a45a4a6e79..2493e23405 100644 --- a/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py +++ b/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.