mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-25 20:02:17 +00:00
Localization update (#12572)
* Update OrcaSlicer_es.po * ? added in code * Spanish Update * save your filament profile. * Downward machines settings * type and color. * Update OrcaSlicer_es.po * illegal characters * which layer being ironed. * Update OrcaSlicer_es.po * by chosen filament count." * unnecessary bridges." * Update OrcaSlicer_es.po * Spanish Pressure advance restore * bandeja -> cama * RU: Restore Pressure Advance * Calibration text Co-Authored-By: Felix14_v2 <75726196+Felix14-v2@users.noreply.github.com> * Updated Localization * Input Shaping test * Suggestion wrapper * Added embossJob * Updated all * Emboss missing marks * Missing preset values * Action Required --------- Co-authored-by: Felix14_v2 <75726196+Felix14-v2@users.noreply.github.com> Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -2202,7 +2202,7 @@ void AmsReplaceMaterialDialog::create()
|
||||
label_txt->SetMaxSize(wxSize(FromDIP(380), -1));
|
||||
label_txt->Wrap(FromDIP(380));
|
||||
|
||||
identical_filament = new Label(this, _L("Identical filament: same brand, type and color"));
|
||||
identical_filament = new Label(this, _L("Identical filament: same brand, type and color."));
|
||||
identical_filament->SetFont(Label::Body_13);
|
||||
identical_filament->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#009688")));
|
||||
|
||||
|
||||
@@ -578,7 +578,7 @@ wxMenu* MenuFactory::append_submenu_add_handy_model(wxMenu* menu, ModelVolumeTyp
|
||||
"Yes - Change these settings automatically\n"
|
||||
"No - Do not change these settings for me");
|
||||
|
||||
MessageDialog dialog(wxGetApp().plater(), msg_text, "Suggestion", wxICON_WARNING | wxYES | wxNO);
|
||||
MessageDialog dialog(wxGetApp().plater(), msg_text, _L("Suggestion"), wxICON_WARNING | wxYES | wxNO);
|
||||
if (dialog.ShowModal() == wxID_YES) {
|
||||
m_config->set_key_value("min_width_top_surface", new ConfigOptionFloatOrPercent(0, false));
|
||||
wxGetApp().get_tab(Preset::TYPE_PRINT)->update_dirty();
|
||||
|
||||
@@ -299,7 +299,7 @@ CreateObjectJob::CreateObjectJob(DataCreateObject &&input): m_input(std::move(in
|
||||
void CreateObjectJob::process(Ctl &ctl)
|
||||
{
|
||||
if (!check(m_input))
|
||||
throw JobException("Bad input data for EmbossCreateObjectJob.");
|
||||
throw JobException(_u8L("Bad input data for EmbossCreateObjectJob."));
|
||||
|
||||
// can't create new object with using surface
|
||||
if (m_input.base->shape.projection.use_surface)
|
||||
@@ -398,13 +398,13 @@ UpdateJob::UpdateJob(DataUpdate&& input): m_input(std::move(input)){ assert(chec
|
||||
void UpdateJob::process(Ctl &ctl)
|
||||
{
|
||||
if (!check(m_input))
|
||||
throw JobException("Bad input data for EmbossUpdateJob.");
|
||||
throw JobException(_u8L("Bad input data for EmbossUpdateJob."));
|
||||
|
||||
auto was_canceled = ::was_canceled(ctl, *m_input.base);
|
||||
m_result = ::try_create_mesh(*m_input.base, was_canceled);
|
||||
if (was_canceled()) return;
|
||||
if (m_result.its.empty())
|
||||
throw JobException("Created text volume is empty. Change text or font.");
|
||||
throw JobException(_u8L("Created text volume is empty. Change text or font."));
|
||||
}
|
||||
|
||||
void UpdateJob::finalize(bool canceled, std::exception_ptr &eptr)
|
||||
@@ -462,7 +462,7 @@ CreateSurfaceVolumeJob::CreateSurfaceVolumeJob(CreateSurfaceVolumeData &&input)
|
||||
|
||||
void CreateSurfaceVolumeJob::process(Ctl &ctl) {
|
||||
if (!check(m_input))
|
||||
throw JobException("Bad input data for CreateSurfaceVolumeJob.");
|
||||
throw JobException(_u8L("Bad input data for CreateSurfaceVolumeJob."));
|
||||
m_result = cut_surface(*m_input.base, m_input, was_canceled(ctl, *m_input.base));
|
||||
}
|
||||
|
||||
@@ -484,7 +484,7 @@ UpdateSurfaceVolumeJob::UpdateSurfaceVolumeJob(UpdateSurfaceVolumeData &&input)
|
||||
void UpdateSurfaceVolumeJob::process(Ctl &ctl)
|
||||
{
|
||||
if (!check(m_input))
|
||||
throw JobException("Bad input data for UseSurfaceJob.");
|
||||
throw JobException(_u8L("Bad input data for UseSurfaceJob."));
|
||||
m_result = cut_surface(*m_input.base, m_input, was_canceled(ctl, *m_input.base));
|
||||
}
|
||||
|
||||
|
||||
@@ -1398,7 +1398,7 @@ void PreferencesDialog::create_items()
|
||||
"group_filament_presets", {_L("All"), _L("None"), _L("By type"), _L("By vendor")}, [](wxString value) {wxGetApp().plater()->sidebar().update_presets(Preset::TYPE_FILAMENT);});
|
||||
g_sizer->Add(item_filament_preset_grouping);
|
||||
|
||||
auto item_filament_area_height = create_item_spinctrl(_L("Optimize filaments area height for..."), _L("(Requires restart)"), _L("filaments"), _L("Optimizes filament area maximum height by chosen filament count"), "filaments_area_preferred_count", 8, 99);
|
||||
auto item_filament_area_height = create_item_spinctrl(_L("Optimize filaments area height for..."), _L("(Requires restart)"), _L("filaments"), _L("Optimizes filament area maximum height by chosen filament count."), "filaments_area_preferred_count", 8, 99);
|
||||
g_sizer->Add(item_filament_area_height);
|
||||
|
||||
//// GENERAL > Features
|
||||
|
||||
@@ -1707,7 +1707,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
|
||||
"Yes - Change these settings automatically\n"
|
||||
"No - Do not change these settings for me");
|
||||
}
|
||||
MessageDialog dialog(wxGetApp().plater(), msg_text, "Suggestion", wxICON_WARNING | wxYES | wxNO);
|
||||
MessageDialog dialog(wxGetApp().plater(), msg_text, _L("Suggestion"), wxICON_WARNING | wxYES | wxNO);
|
||||
DynamicPrintConfig new_conf = *m_config;
|
||||
if (dialog.ShowModal() == wxID_YES) {
|
||||
auto &filament_presets = Slic3r::GUI::wxGetApp().preset_bundle->filament_presets;
|
||||
|
||||
@@ -1924,8 +1924,8 @@ void DiffPresetDialog::create_tree()
|
||||
m_tree = new DiffViewCtrl(this, wxSize(em_unit() * 65, em_unit() * 40));
|
||||
m_tree->AppendToggleColumn_(L"\u2714", DiffModel::colToggle, wxLinux ? 9 : 6);
|
||||
m_tree->AppendBmpTextColumn("", DiffModel::colIconText, 35);
|
||||
m_tree->AppendBmpTextColumn("Left Preset Value", DiffModel::colOldValue, 15);
|
||||
m_tree->AppendBmpTextColumn("Right Preset Value",DiffModel::colNewValue, 15);
|
||||
m_tree->AppendBmpTextColumn(_L("Left Preset Value"), DiffModel::colOldValue, 15);
|
||||
m_tree->AppendBmpTextColumn(_L("Right Preset Value"),DiffModel::colNewValue, 15);
|
||||
m_tree->Hide();
|
||||
m_tree->GetColumn(DiffModel::colToggle)->SetHidden(true);
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ static wxString update_custom_filaments()
|
||||
if (not_need_show) continue;
|
||||
if (!filament_name.empty()) {
|
||||
if (filament_with_base_id) {
|
||||
need_sort.push_back(std::make_pair("[Action Required] " + filament_name, filament_id));
|
||||
need_sort.push_back(std::make_pair(into_u8(_L("[Action Required] ")) + filament_name, filament_id));
|
||||
} else {
|
||||
|
||||
need_sort.push_back(std::make_pair(filament_name, filament_id));
|
||||
@@ -92,7 +92,7 @@ static wxString update_custom_filaments()
|
||||
}
|
||||
std::sort(need_sort.begin(), need_sort.end(), [](const std::pair<std::string, std::string> &a, const std::pair<std::string, std::string> &b) { return a.first < b.first; });
|
||||
if (need_delete_some_filament) {
|
||||
need_sort.push_back(std::make_pair("[Action Required]", "null"));
|
||||
need_sort.push_back(std::make_pair(into_u8(_L("[Action Required]")), "null"));
|
||||
}
|
||||
json temp_j;
|
||||
for (std::pair<std::string, std::string> &filament_name_to_id : need_sort) {
|
||||
|
||||
@@ -868,18 +868,18 @@ Input_Shaping_Freq_Test_Dlg::Input_Shaping_Freq_Test_Dlg(wxWindow* parent, wxWin
|
||||
m_rbType->SetSelection(0);
|
||||
|
||||
// Determine firmware-specific note
|
||||
wxString firmware_note = "Please ensure the selected type is compatible with your firmware version.";
|
||||
wxString firmware_note = _L("Please ensure the selected type is compatible with your firmware version.");
|
||||
if (gcode_flavor_option) {
|
||||
switch (gcode_flavor_option->value) {
|
||||
case GCodeFlavor::gcfMarlinFirmware:
|
||||
case GCodeFlavor::gcfMarlinLegacy:
|
||||
firmware_note = "Marlin version => 2.1.2\nFixed-Time motion not yet implemented.";
|
||||
firmware_note = _L("Marlin version => 2.1.2\nFixed-Time motion not yet implemented.");
|
||||
break;
|
||||
case GCodeFlavor::gcfKlipper:
|
||||
firmware_note = "Klipper version => 0.9.0";
|
||||
firmware_note = _L("Klipper version => 0.9.0");
|
||||
break;
|
||||
case GCodeFlavor::gcfRepRapFirmware:
|
||||
firmware_note = "RepRap firmware version => 3.4.0\nCheck your firmware documentation for supported shaper types.";
|
||||
firmware_note = _L("RepRap firmware version => 3.4.0\nCheck your firmware documentation for supported shaper types.");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -1084,18 +1084,18 @@ Input_Shaping_Damp_Test_Dlg::Input_Shaping_Damp_Test_Dlg(wxWindow* parent, wxWin
|
||||
m_rbType->SetSelection(0);
|
||||
|
||||
// Determine firmware-specific note
|
||||
wxString firmware_note = "Check firmware compatibility.";
|
||||
wxString firmware_note = _L("Check firmware compatibility.");
|
||||
if (gcode_flavor_option) {
|
||||
switch (gcode_flavor_option->value) {
|
||||
case GCodeFlavor::gcfMarlinFirmware:
|
||||
case GCodeFlavor::gcfMarlinLegacy:
|
||||
firmware_note = "Marlin version => 2.1.2\nFixed-Time motion not yet implemented.";
|
||||
firmware_note = _L("Marlin version => 2.1.2\nFixed-Time motion not yet implemented.");
|
||||
break;
|
||||
case GCodeFlavor::gcfKlipper:
|
||||
firmware_note = "Klipper version => 0.9.0";
|
||||
firmware_note = _L("Klipper version => 0.9.0");
|
||||
break;
|
||||
case GCodeFlavor::gcfRepRapFirmware:
|
||||
firmware_note = "RepRap firmware version => 3.4.0\nCheck your firmware documentation for supported shaper types.";
|
||||
firmware_note = _L("RepRap firmware version => 3.4.0\nCheck your firmware documentation for supported shaper types.");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user