Don't use spaces in definition IDs

Use underscores. Spaces are encoded differently with the quote_plus function and also the translation system borks on these.

Contributes to issue CURA-7201.
This commit is contained in:
Ghostkeeper 2020-02-07 13:40:55 +01:00
parent 050ff62344
commit a168e9f8a6
No known key found for this signature in database
GPG key ID: 37E2020986774393
5 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@
"name": "Anet ET4 PRO", "name": "Anet ET4 PRO",
"inherits": "anet3d", "inherits": "anet3d",
"metadata": { "metadata": {
"visible": true, "visible": true,
"machine_extruder_trains": "machine_extruder_trains":
{ {
"0": "anet3d_extruder_0" "0": "anet3d_extruder_0"
@ -21,7 +21,7 @@
"machine_height": { "machine_height": {
"default_value": 250 "default_value": 250
}, },
"machine_start_gcode": { "machine_start_gcode": {
"default_value": "G28 ;Home\nG1 Z15.0 F2000 ;Move the platform" "default_value": "G28 ;Home\nG1 Z15.0 F2000 ;Move the platform"
}, },
"machine_end_gcode": { "machine_end_gcode": {

View file

@ -3,7 +3,7 @@
"name": "Anet ET4 X", "name": "Anet ET4 X",
"inherits": "anet3d", "inherits": "anet3d",
"metadata": { "metadata": {
"visible": true, "visible": true,
"machine_extruder_trains": "machine_extruder_trains":
{ {
"0": "anet3d_extruder_0" "0": "anet3d_extruder_0"
@ -21,7 +21,7 @@
"machine_height": { "machine_height": {
"default_value": 250 "default_value": 250
}, },
"machine_start_gcode": { "machine_start_gcode": {
"default_value": "G28 ;Home\nG1 Z15.0 F2000 ;Move the platform" "default_value": "G28 ;Home\nG1 Z15.0 F2000 ;Move the platform"
}, },
"machine_end_gcode": { "machine_end_gcode": {

View file

@ -3,7 +3,7 @@
"name": "Anet ET5 X", "name": "Anet ET5 X",
"inherits": "anet3d", "inherits": "anet3d",
"metadata": { "metadata": {
"visible": true, "visible": true,
"machine_extruder_trains": "machine_extruder_trains":
{ {
"0": "anet3d_extruder_0" "0": "anet3d_extruder_0"
@ -21,7 +21,7 @@
"machine_height": { "machine_height": {
"default_value": 400 "default_value": 400
}, },
"machine_start_gcode": { "machine_start_gcode": {
"default_value": "G28 ;Home\nG1 Z15.0 F2000 ;Move the platform" "default_value": "G28 ;Home\nG1 Z15.0 F2000 ;Move the platform"
}, },
"machine_end_gcode": { "machine_end_gcode": {