Ghostkeeper
482f0461fc
Add check for profile version
...
The profile reader now checks whether the profile version is the same as the target version in the Dictionary of Doom.
Contributes to issue CURA-37.
2015-12-18 10:50:54 +01:00
Ghostkeeper
0454b37243
Fix importing math to eval
...
We expose only math, so it can do mathematical operations on the setting values when translating.
Contributes to issue CURA-37.
2015-12-18 10:00:00 +01:00
Ghostkeeper
99a13ba3aa
Fix getting settings from JSON file
...
When reading a node of a JSON file, apparently it only lists the keys instead of key-value pairs. You have to get the values separately.
Contributes to issue CURA-37.
2015-12-18 09:14:55 +01:00
Ghostkeeper
6bde0e3404
Sync translation category name from JSON
...
The category was named 'translation' instead of 'translations'.
Contributes to issue CURA-37.
2015-12-18 09:10:52 +01:00
Ghostkeeper
644038af97
Missing imports
...
Test before commit. Test before commit. Test before commit. Test before commit!
Contributes to issue CURA-37.
2015-12-18 09:06:43 +01:00
Ghostkeeper
166c8a3048
Fix call to configparser.options
...
It needs to have the section from which to read the options.
Contributes to issue CURA-37.
2015-12-18 09:01:22 +01:00
Ghostkeeper
abb92afc27
Fix call to prepareLocals
...
Turns out the 'self.' is required...
Contributes to issue CURA-37.
2015-12-17 14:54:48 +01:00
Ghostkeeper
f2a95ae89c
Correct the configparser
...
The import was missing. Also, the parser was not called on the correct stream.
Contributes to issue CURA-37.
2015-12-17 14:30:53 +01:00
Ghostkeeper
513941097f
Initial LegacyProfileReader plugin implementation
...
This plugin reads a profile from legacy Cura versions. It hasn't been tested much except that there are no syntax errors. It is currently being blocked by issue 34.
Contributes to issue CURA-37.
2015-12-17 13:49:53 +01:00