Add missing translation markers (#11243)

This commit is contained in:
Alexandre Folle de Menezes
2025-11-08 11:58:32 -03:00
committed by GitHub
parent 2bcbb688a1
commit a151ac931d

View File

@@ -2290,14 +2290,16 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionInts{1}); def->set_default_value(new ConfigOptionInts{1});
def = this->add("physical_extruder_map",coInts); def = this->add("physical_extruder_map",coInts);
// internal use only, don't need translation
def->label = "Map the logical extruder to physical extruder"; def->label = "Map the logical extruder to physical extruder";
def->tooltip = "Map the logical extruder to physical extruder."; def->tooltip = "Map the logical extruder to physical extruder.";
def->mode = comDevelop; def->mode = comDevelop;
def->set_default_value(new ConfigOptionInts{0}); def->set_default_value(new ConfigOptionInts{0});
def = this->add("filament_map_mode", coEnum); def = this->add("filament_map_mode", coEnum);
def->label = L("filament mapping mode"); // internal use only, don't need translation
def->tooltip = ("Filament mapping mode used as plate param."); def->label = "filament mapping mode";
def->tooltip = "Filament mapping mode used as plate param.";
def->enum_keys_map = &ConfigOptionEnum<FilamentMapMode>::get_enum_values(); def->enum_keys_map = &ConfigOptionEnum<FilamentMapMode>::get_enum_values();
def->enum_values.push_back("Auto For Flush"); def->enum_values.push_back("Auto For Flush");
def->enum_values.push_back("Auto For Match"); def->enum_values.push_back("Auto For Match");
@@ -4715,8 +4717,9 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionEnumsGeneric{RetractLiftEnforceType ::rletAllSurfaces}); def->set_default_value(new ConfigOptionEnumsGeneric{RetractLiftEnforceType ::rletAllSurfaces});
def = this->add("extruder_type", coEnums); def = this->add("extruder_type", coEnums);
def->label = L("Type"); // internal use only, don't need translation
def->tooltip = ("This setting is only used for initial value of manual calibration of pressure advance. Bowden extruder usually has larger pa value. This setting doesn't influence normal slicing."); def->label = "Type";
def->tooltip = "This setting is only used for initial value of manual calibration of pressure advance. Bowden extruder usually has larger PA value. This setting doesn't influence normal slicing.";
def->enum_keys_map = &ConfigOptionEnum<ExtruderType>::get_enum_values(); def->enum_keys_map = &ConfigOptionEnum<ExtruderType>::get_enum_values();
def->enum_values.push_back("Direct Drive"); def->enum_values.push_back("Direct Drive");
def->enum_values.push_back("Bowden"); def->enum_values.push_back("Bowden");
@@ -4727,8 +4730,9 @@ void PrintConfigDef::init_fff_params()
//BBS //BBS
def = this->add("nozzle_volume_type", coEnums); def = this->add("nozzle_volume_type", coEnums);
def->label = L("Nozzle Volume Type"); // internal use only, don't need translation
def->tooltip = ("Nozzle volume type."); def->label = "Nozzle Volume Type";
def->tooltip = "Nozzle volume type for extruders.";
def->enum_keys_map = &ConfigOptionEnum<NozzleVolumeType>::get_enum_values(); def->enum_keys_map = &ConfigOptionEnum<NozzleVolumeType>::get_enum_values();
def->enum_values.push_back(L("Standard")); def->enum_values.push_back(L("Standard"));
def->enum_values.push_back(L("High Flow")); def->enum_values.push_back(L("High Flow"));
@@ -4738,8 +4742,9 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionEnumsGeneric{ NozzleVolumeType::nvtStandard }); def->set_default_value(new ConfigOptionEnumsGeneric{ NozzleVolumeType::nvtStandard });
def = this->add("default_nozzle_volume_type", coEnums); def = this->add("default_nozzle_volume_type", coEnums);
def->label = L("Default Nozzle Volume Type."); // internal use only, don't need translation
def->tooltip = ("Default Nozzle volume type for extruders in this printer."); def->label = "Default Nozzle Volume Type.";
def->tooltip = "Default Nozzle volume type for extruders in this printer.";
def->enum_keys_map = &ConfigOptionEnum<NozzleVolumeType>::get_enum_values(); def->enum_keys_map = &ConfigOptionEnum<NozzleVolumeType>::get_enum_values();
def->enum_values.push_back(L("Standard")); def->enum_values.push_back(L("Standard"));
def->enum_values.push_back(L("High Flow")); def->enum_values.push_back(L("High Flow"));
@@ -4749,40 +4754,47 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionEnumsGeneric{ NozzleVolumeType::nvtStandard }); def->set_default_value(new ConfigOptionEnumsGeneric{ NozzleVolumeType::nvtStandard });
def = this->add("extruder_variant_list", coStrings); def = this->add("extruder_variant_list", coStrings);
// internal use only, don't need translation
def->label = "Extruder variant list"; def->label = "Extruder variant list";
def->tooltip = "Extruder variant list."; def->tooltip = "Extruder variant list.";
def->set_default_value(new ConfigOptionStrings { "Direct Drive Standard" }); def->set_default_value(new ConfigOptionStrings { "Direct Drive Standard" });
def->cli = ConfigOptionDef::nocli; def->cli = ConfigOptionDef::nocli;
def = this->add("extruder_ams_count", coStrings); def = this->add("extruder_ams_count", coStrings);
def->label = "Extruder ams count"; // internal use only, don't need translation
def->tooltip = "Ams counts of per extruder."; def->label = "Extruder AMS count";
def->tooltip = "AMS counts per extruder.";
def->set_default_value(new ConfigOptionStrings { }); def->set_default_value(new ConfigOptionStrings { });
def = this->add("printer_extruder_id", coInts); def = this->add("printer_extruder_id", coInts);
// internal use only, don't need translation
def->label = "Printer extruder id"; def->label = "Printer extruder id";
def->tooltip = "Printer extruder id."; def->tooltip = "Printer extruder id.";
def->set_default_value(new ConfigOptionInts { 1 }); def->set_default_value(new ConfigOptionInts { 1 });
def->cli = ConfigOptionDef::nocli; def->cli = ConfigOptionDef::nocli;
def = this->add("printer_extruder_variant", coStrings); def = this->add("printer_extruder_variant", coStrings);
// internal use only, don't need translation
def->label = "Printer's extruder variant"; def->label = "Printer's extruder variant";
def->tooltip = "Printer's extruder variant."; def->tooltip = "Printer's extruder variant.";
def->set_default_value(new ConfigOptionStrings { "Direct Drive Standard" }); def->set_default_value(new ConfigOptionStrings { "Direct Drive Standard" });
def->cli = ConfigOptionDef::nocli; def->cli = ConfigOptionDef::nocli;
def = this->add("master_extruder_id", coInt); def = this->add("master_extruder_id", coInt);
// internal use only, don't need translation
def->label = "Master extruder id"; def->label = "Master extruder id";
def->tooltip = "Default extruder id to place filament."; def->tooltip = "Default extruder id to place filament.";
def->set_default_value(new ConfigOptionInt{ 1 }); def->set_default_value(new ConfigOptionInt{ 1 });
def = this->add("print_extruder_id", coInts); def = this->add("print_extruder_id", coInts);
// internal use only, don't need translation
def->label = "Print extruder id"; def->label = "Print extruder id";
def->tooltip = "Print extruder id."; def->tooltip = "Print extruder id.";
def->set_default_value(new ConfigOptionInts { 1 }); def->set_default_value(new ConfigOptionInts { 1 });
def->cli = ConfigOptionDef::nocli; def->cli = ConfigOptionDef::nocli;
def = this->add("print_extruder_variant", coStrings); def = this->add("print_extruder_variant", coStrings);
// internal use only, don't need translation
def->label = "Print's extruder variant"; def->label = "Print's extruder variant";
def->tooltip = "Print's extruder variant."; def->tooltip = "Print's extruder variant.";
def->set_default_value(new ConfigOptionStrings { "Direct Drive Standard" }); def->set_default_value(new ConfigOptionStrings { "Direct Drive Standard" });
@@ -4795,12 +4807,14 @@ void PrintConfigDef::init_fff_params()
def->cli = ConfigOptionDef::nocli;*/ def->cli = ConfigOptionDef::nocli;*/
def = this->add("filament_extruder_variant", coStrings); def = this->add("filament_extruder_variant", coStrings);
// internal use only, don't need translation
def->label = "Filament's extruder variant"; def->label = "Filament's extruder variant";
def->tooltip = "Filament's extruder variant."; def->tooltip = "Filament's extruder variant.";
def->set_default_value(new ConfigOptionStrings { "Direct Drive Standard" }); def->set_default_value(new ConfigOptionStrings { "Direct Drive Standard" });
def->cli = ConfigOptionDef::nocli; def->cli = ConfigOptionDef::nocli;
def = this->add("filament_self_index", coInts); def = this->add("filament_self_index", coInts);
// internal use only, don't need translation
def->label = "Filament self index"; def->label = "Filament self index";
def->tooltip = "Filament self index."; def->tooltip = "Filament self index.";
def->set_default_value(new ConfigOptionInts { 1 }); def->set_default_value(new ConfigOptionInts { 1 });
@@ -9938,8 +9952,9 @@ CLIMiscConfigDef::CLIMiscConfigDef()
def->set_default_value(new ConfigOptionBool(false)); def->set_default_value(new ConfigOptionBool(false));
def = this->add("allow_mix_temp", coBool); def = this->add("allow_mix_temp", coBool);
// internal use only, don't need translation
def->label = "Allow filaments with high/low temperature to be printed together"; def->label = "Allow filaments with high/low temperature to be printed together";
def->tooltip = "Allow filaments with high/low temperature to be printed together"; def->tooltip = "Allow filaments with high/low temperature to be printed together.";
def->cli_params = "option"; def->cli_params = "option";
def->set_default_value(new ConfigOptionBool(false)); def->set_default_value(new ConfigOptionBool(false));
} }