mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-26 01:28:37 -07:00
Add the u8 marker to UTF-8 strings (#10666)
This commit is contained in:
parent
cbc41501b4
commit
4e79527bf8
1 changed files with 30 additions and 30 deletions
|
|
@ -562,7 +562,7 @@ void PrintConfigDef::init_common_params()
|
|||
def = this->add("preferred_orientation", coFloat);
|
||||
def->label = L("Preferred orientation");
|
||||
def->tooltip = L("Automatically orient stls on the Z axis upon initial import.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->max = 360;
|
||||
def->min = -360;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -997,7 +997,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->tooltip = L("Bridging angle override. If left to zero, the bridging angle will be calculated "
|
||||
"automatically. Otherwise the provided angle will be used for external bridges. "
|
||||
"Use 180°for zero angle.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloat(0.));
|
||||
|
|
@ -1009,7 +1009,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->tooltip = L("Internal bridging angle override. If left to zero, the bridging angle will be calculated "
|
||||
"automatically. Otherwise the provided angle will be used for internal bridges. "
|
||||
"Use 180°for zero angle.\n\nIt is recommended to leave it at 0 unless there is a specific model need not to.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloat(0.));
|
||||
|
|
@ -1328,7 +1328,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->tooltip = L("Maximum angle to let a brim ear appear.\n"
|
||||
"If set to 0, no brim will be created.\n"
|
||||
"If set to ~180, brim will be created on everything but straight sections.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 180;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -2352,7 +2352,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Sparse infill direction");
|
||||
def->category = L("Strength");
|
||||
def->tooltip = L("Angle for sparse infill pattern, which controls the start or main direction of line.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 360;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -2362,7 +2362,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Solid infill direction");
|
||||
def->category = L("Strength");
|
||||
def->tooltip = L("Angle for solid infill pattern, which controls the start or main direction of line.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 360;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -2464,7 +2464,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Lateral lattice angle 1");
|
||||
def->category = L("Strength");
|
||||
def->tooltip = L("The angle of the first set of Lateral lattice elements in the Z direction. Zero is vertical.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = -75;
|
||||
def->max = 75;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -2474,7 +2474,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Lateral lattice angle 2");
|
||||
def->category = L("Strength");
|
||||
def->tooltip = L("The angle of the second set of Lateral lattice elements in the Z direction. Zero is vertical.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = -75;
|
||||
def->max = 75;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -2484,7 +2484,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Infill overhang angle");
|
||||
def->category = L("Strength");
|
||||
def->tooltip = L("The angle of the infill angled lines. 60° will result in a pure honeycomb.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 15;
|
||||
def->max = 75;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -3210,7 +3210,7 @@ void PrintConfigDef::init_fff_params()
|
|||
"The template is a comma-separated list of angles in degrees, e.g. '0,90'. "
|
||||
"The first angle is applied to the first layer, the second angle to the second layer, and so on. "
|
||||
"If there are more layers than angles, the angles will be repeated. Note that not all solid infill patterns support rotation.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionString(""));
|
||||
|
||||
|
|
@ -3420,7 +3420,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def = this->add("interlocking_orientation", coFloat);
|
||||
def->label = L("Interlocking direction");
|
||||
def->tooltip = L("Orientation of interlock beams.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 360;
|
||||
def->category = L("Advanced");
|
||||
|
|
@ -3530,7 +3530,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Ironing angle");
|
||||
def->category = L("Quality");
|
||||
def->tooltip = L("The angle ironing is done at. A negative number disables this function and uses the default method.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = -1;
|
||||
def->max = 359;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -4017,7 +4017,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->tooltip = L("Maximum angle of overhangs to allow after making more steep overhangs printable."
|
||||
"90° will not change the model at all and allow any overhang, while 0 will "
|
||||
"replace all overhangs with conical material.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->mode = comAdvanced;
|
||||
def->min = 0.;
|
||||
def->max = 90.;
|
||||
|
|
@ -4028,7 +4028,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->category = L("Quality");
|
||||
def->tooltip = L("Maximum area of a hole in the base of the model before it's filled by conical material. "
|
||||
"A value of 0 will fill all the holes in the model base.");
|
||||
def->sidetext = "mm²"; // square milimeters, don't need translation
|
||||
def->sidetext = u8"mm²"; // square millimeters, don't need translation
|
||||
def->mode = comAdvanced;
|
||||
def->min = 0.;
|
||||
def->set_default_value(new ConfigOptionFloat(0.));
|
||||
|
|
@ -4295,7 +4295,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def = this->add("travel_slope", coFloats);
|
||||
def->label = L("Traveling angle");
|
||||
def->tooltip = L("Traveling angle for Slope and Spiral Z-hop type. Setting it to 90° results in Normal Lift.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->mode = comAdvanced;
|
||||
def->min = 1;
|
||||
def->max = 90;
|
||||
|
|
@ -4439,7 +4439,7 @@ void PrintConfigDef::init_fff_params()
|
|||
"This option sets the threshold angle for applying a conditional scarf joint seam.\nIf the maximum angle within the perimeter loop "
|
||||
"exceeds this value (indicating the absence of sharp corners), a scarf joint seam will be used. The default value is 155°.");
|
||||
def->mode = comAdvanced;
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 180;
|
||||
def->set_default_value(new ConfigOptionInt(155));
|
||||
|
|
@ -4560,7 +4560,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def = this->add("skirt_start_angle", coFloat);
|
||||
def->label = L("Skirt start point");
|
||||
def->tooltip = L("Angle from the object center to skirt start point. Zero is the most right position, counter clockwise is positive angle.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = -180;
|
||||
def->max = 180;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -4650,7 +4650,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Minimum sparse infill threshold");
|
||||
def->category = L("Strength");
|
||||
def->tooltip = L("Sparse infill area which is smaller than threshold value is replaced by internal solid infill.");
|
||||
def->sidetext = "mm²"; // square milimeters, don't need translation
|
||||
def->sidetext = u8"mm²"; // square millimeters, don't need translation
|
||||
def->min = 0;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloat(15));
|
||||
|
|
@ -4927,7 +4927,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Pattern angle");
|
||||
def->category = L("Support");
|
||||
def->tooltip = L("Use this setting to rotate the support pattern on the horizontal plane.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 359;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -5211,7 +5211,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Threshold angle");
|
||||
def->category = L("Support");
|
||||
def->tooltip = L("Support will be generated for overhangs whose slope angle is below the threshold.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 90;
|
||||
def->mode = comSimple;
|
||||
|
|
@ -5233,7 +5233,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->category = L("Support");
|
||||
def->tooltip = L("This setting determines the maximum overhang angle that the branches of tree support are allowed to make. "
|
||||
"If the angle is increased, the branches can be printed more horizontally, allowing them to reach farther.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 60;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -5244,7 +5244,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->category = L("Support");
|
||||
def->tooltip = L("This setting determines the maximum overhang angle that the branches of tree support are allowed to make. "
|
||||
"If the angle is increased, the branches can be printed more horizontally, allowing them to reach farther.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 60;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -5256,7 +5256,7 @@ void PrintConfigDef::init_fff_params()
|
|||
// TRN PrintSettings: "Organic supports" > "Preferred Branch Angle"
|
||||
def->tooltip = L("The preferred angle of the branches, when they do not have to avoid the model. "
|
||||
"Use a lower angle to make them more vertical and more stable. Use a higher angle for branches to merge faster.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 10;
|
||||
def->max = 85;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -5344,7 +5344,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->tooltip = L("The angle of the branches' diameter as they gradually become thicker towards the bottom. "
|
||||
"An angle of 0 will cause the branches to have uniform thickness over their length. "
|
||||
"A bit of an angle can increase stability of the organic support.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->min = 0;
|
||||
def->max = 15;
|
||||
def->mode = comAdvanced;
|
||||
|
|
@ -5676,7 +5676,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def = this->add("wipe_tower_rotation_angle", coFloat);
|
||||
def->label = L("Wipe tower rotation angle");
|
||||
def->tooltip = L("Wipe tower rotation angle with respect to X axis.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloat(0.));
|
||||
|
||||
|
|
@ -5692,7 +5692,7 @@ void PrintConfigDef::init_fff_params()
|
|||
def->label = L("Stabilization cone apex angle");
|
||||
def->tooltip = L("Angle at the apex of the cone that is used to stabilize the wipe tower. "
|
||||
"Larger angle means wider base.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->mode = comAdvanced;
|
||||
def->min = 0.;
|
||||
def->max = 90.;
|
||||
|
|
@ -5957,7 +5957,7 @@ void PrintConfigDef::init_fff_params()
|
|||
" an angle greater than this setting will not have transitions and no walls will be "
|
||||
"printed in the center to fill the remaining space. Reducing this setting reduces "
|
||||
"the number and length of these center walls, but may leave gaps or overextrude.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->mode = comAdvanced;
|
||||
def->min = 1.;
|
||||
def->max = 59.;
|
||||
|
|
@ -7853,19 +7853,19 @@ CLITransformConfigDef::CLITransformConfigDef()
|
|||
def = this->add("rotate", coFloat);
|
||||
def->label = L("Rotate");
|
||||
def->tooltip = L("Rotation angle around the Z axis in degrees.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->set_default_value(new ConfigOptionFloat(0));
|
||||
|
||||
def = this->add("rotate_x", coFloat);
|
||||
def->label = L("Rotate around X");
|
||||
def->tooltip = L("Rotation angle around the X axis in degrees.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->set_default_value(new ConfigOptionFloat(0));
|
||||
|
||||
def = this->add("rotate_y", coFloat);
|
||||
def->label = L("Rotate around Y");
|
||||
def->tooltip = L("Rotation angle around the Y axis in degrees.");
|
||||
def->sidetext = "°"; // degrees, don't need translation
|
||||
def->sidetext = u8"°"; // degrees, don't need translation
|
||||
def->set_default_value(new ConfigOptionFloat(0));
|
||||
|
||||
def = this->add("scale", coFloat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue