FIX: modify the translation

Change-Id: Ia147871df754f5188fb7a0a8fcfac01e2db18c1d
This commit is contained in:
zhimin.zeng 2022-10-28 15:51:42 +08:00 committed by Lane.Wei
parent bd577fafb2
commit 687476bc27
11 changed files with 832 additions and 314 deletions

View file

@ -1076,8 +1076,8 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionInts { 60 });
def = this->add("default_filament_colour", coStrings);
def->label = L("Defualt color");
def->tooltip = L("Default filament colour");
def->label = L("Default color");
def->tooltip = L("Default filament color");
def->gui_type = ConfigOptionDef::GUIType::color;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionStrings{"#00AE42"});
@ -1092,7 +1092,7 @@ void PrintConfigDef::init_fff_params()
//bbs
def = this->add("required_nozzle_HRC", coInts);
def->label = L("Required nozzle HRC");
def->tooltip = L("the HRC of nozzle when print the filament. zeros means the setting not be used");
def->tooltip = L("Minimum HRC of nozzle required to print the filament. Zero means no checking of nozzle's HRC.");
def->min = 0;
def->max = 500;
def->mode = comDevelop;
@ -1445,7 +1445,7 @@ void PrintConfigDef::init_fff_params()
def = this->add("nozzle_hrc", coInt);
def->label = L("Nozzle HRC");
def->tooltip = L("The hardness of nozzle. zeros means the setting not be used");
def->tooltip = L("The nozzle's hardness. Zero means no checking for nozzle's hardness during slicing.");
def->sidetext = L("HRC");
def->min = 0;
def->max = 500;

View file

@ -1380,7 +1380,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
auto timelapse_type = m_config->option<ConfigOptionEnum<TimelapseType>>("timelapse_type");
bool timelapse_enabled = timelapse_type->value == TimelapseType::tlSmooth;
if (!boost::any_cast<bool>(value) && timelapse_enabled) {
MessageDialog dlg(wxGetApp().plater(), _L("Prime tower is required for smooth timeplase. If whthout prime tower, there will be flaws on the model. Are you sure you want to disable prime tower?"),
MessageDialog dlg(wxGetApp().plater(), _L("Prime tower is required for smooth timeplase. There may be flaws on the model without prime tower. Are you sure you want to disable prime tower?"),
_L("Warning"), wxICON_WARNING | wxYES | wxNO);
if (dlg.ShowModal() == wxID_NO) {
DynamicPrintConfig new_conf = *m_config;