tweak some messages

This commit is contained in:
SoftFever 2022-10-04 12:12:37 +08:00
parent bf7479ca35
commit 65062d33eb
5 changed files with 41 additions and 9 deletions

View file

@ -5314,11 +5314,43 @@ msgid ""
msgstr "首层加速度。使用较低值可以改善和构建板的粘接。" msgstr "首层加速度。使用较低值可以改善和构建板的粘接。"
msgid "Acceleration of outer walls" msgid "Acceleration of outer walls"
msgstr "外墙的加速度。它通常使用比内壁速度慢的加速度,以获得更好的质量。。" msgstr "外墙的加速度。它通常使用比内壁速度慢的加速度,以获得更好的质量"
msgid "Acceleration of inner walls" msgid "Acceleration of inner walls"
msgstr "内圈墙加速度使用较低值可以改善质量。" msgstr "内圈墙加速度使用较低值可以改善质量。"
msgid "Acceleration of travel moves"
msgstr "空驶加速度"
msgid "Jerk(XY)"
msgstr "抖动XY"
msgid "Jerk of outer walls"
msgstr "外墙抖动值"
msgid "Jerk of inner walls"
msgstr "内墙抖动值"
msgid "Jerk for top surface"
msgstr "顶面抖动值"
msgid "Jerk for initial layer"
msgstr "首层抖动值"
msgid "Jerk for travel"
msgstr "空驶抖动值"
msgid "Enable pressure advance"
msgstr "启用压力提前"
msgid "Pressure advance"
msgstr "压力提前"
msgid "Pressure advnce(Klipper) AKA Linear advance factor(Marlin)"
msgstr "压力提前(Klipper)或者线性提前(Marlin)"
msgid "Enable pressure advance, auto calibration result will be overwriten once enabled."
msgstr "启用压力提前,一旦启用会覆盖自动检测的结果"
msgid "Line width of initial layer" msgid "Line width of initial layer"
msgstr "首层的线宽" msgstr "首层的线宽"

Binary file not shown.

View file

@ -1599,7 +1599,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
file.write("M981 S1 P20000 ;open spaghetti detector\n"); file.write("M981 S1 P20000 ;open spaghetti detector\n");
if(m_config.enable_pressure_advance.value) if(m_config.enable_pressure_advance.value)
{ {
file.write_format("M900 K%.3f\nM900 S0\n",m_config.pressure_advance.values.front()); file.write_format("M900 K%.3f ; Override pressure advance value\nM900 S0\n",m_config.pressure_advance.values.front());
} }
// Do all objects for each layer. // Do all objects for each layer.
if (print.config().print_sequence == PrintSequence::ByObject) { if (print.config().print_sequence == PrintSequence::ByObject) {

View file

@ -1043,13 +1043,13 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionFloats { 1. }); def->set_default_value(new ConfigOptionFloats { 1. });
def = this->add("enable_pressure_advance", coBool); def = this->add("enable_pressure_advance", coBool);
def->label = L("Enable Pressure Advance"); def->label = L("Enable pressure advance");
def->tooltip = L("Enable Pressure Advance"); def->tooltip = L("Enable pressure advance, auto calibration result will be overwriten once enabled.");
def->set_default_value(new ConfigOptionBool(false)); def->set_default_value(new ConfigOptionBool(false));
def = this->add("pressure_advance", coFloats); def = this->add("pressure_advance", coFloats);
def->label = L("Pressure advance"); def->label = L("Pressure advance");
def->tooltip = L("Pressure Advnce(Klipper) AKA Linear Advance Factor(Marlin)"); def->tooltip = L("Pressure advnce(Klipper) AKA Linear advance factor(Marlin)");
def->max = 2; def->max = 2;
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats { 0. }); def->set_default_value(new ConfigOptionFloats { 0. });
@ -1303,8 +1303,8 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionFloat(300)); def->set_default_value(new ConfigOptionFloat(300));
def = this->add("default_jerk", coFloat); def = this->add("default_jerk", coFloat);
def->label = L("default jerk"); def->label = L("Default");
def->tooltip = L("Default jerk"); def->tooltip = L("Default");
def->sidetext = L("mm/s"); def->sidetext = L("mm/s");
def->min = 0; def->min = 0;
def->mode = comAdvanced; def->mode = comAdvanced;

View file

@ -1848,7 +1848,7 @@ void TabPrint::build()
optgroup->append_single_option_line("top_surface_acceleration"); optgroup->append_single_option_line("top_surface_acceleration");
optgroup->append_single_option_line("travel_acceleration"); optgroup->append_single_option_line("travel_acceleration");
optgroup = page->new_optgroup(L("Jerk"), 15); optgroup = page->new_optgroup(L("Jerk(XY)"), 15);
optgroup->append_single_option_line("default_jerk"); optgroup->append_single_option_line("default_jerk");
optgroup->append_single_option_line("outer_wall_jerk"); optgroup->append_single_option_line("outer_wall_jerk");
optgroup->append_single_option_line("inner_wall_jerk"); optgroup->append_single_option_line("inner_wall_jerk");