If specific speed setting is 0, use print_speed

Something that was not in the translation document: If a speed setting for a specific part is 0 (such as infill_speed) then the global print speed should be used.

Contributes to issue CURA-37.
This commit is contained in:
Ghostkeeper 2016-01-13 15:42:15 +01:00
parent 019631af2c
commit 731fd41ecd

View file

@ -1,7 +1,7 @@
{
"source_version": "15.04",
"target_version": 1,
"translation": {
"line_width": "nozzle_size",
"layer_height": "layer_height",
@ -24,11 +24,11 @@
"retraction_min_travel": "retraction_min_travel",
"retraction_hop": "retraction_hop",
"speed_print": "print_speed",
"speed_infill": "infill_speed",
"speed_wall_0": "inset0_speed",
"speed_wall_x": "insetx_speed",
"speed_topbottom": "solidarea_speed",
"speed_travel": "travel_speed",
"speed_infill": "infill_speed if (infill_speed != 0) else print_speed",
"speed_wall_0": "inset0_speed if (inset0_speed != 0) else print_speed",
"speed_wall_x": "insetx_speed if (insetx_speed != 0) else print_speed",
"speed_topbottom": "solidarea_speed if (solidarea_speed != 0) else print_speed",
"speed_travel": "travel_speed if (travel_speed != 0) else travel_speed",
"speed_layer_0": "bottom_layer_speed",
"retraction_combing": "retraction_combing",
"cool_fan_enabled": "fan_enabled",