mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 19:32:18 +00:00
Update locale
This commit is contained in:
@@ -264,9 +264,9 @@ wxBoxSizer* FilamentPickerDialog::CreateInfoSection()
|
||||
m_label_preview_color = new wxStaticText(this, wxID_ANY, _L("Custom Color"),
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
wxST_ELLIPSIZE_END);
|
||||
m_label_preview_idx = new wxStaticText(this, wxID_ANY, _L(""),
|
||||
m_label_preview_idx = new wxStaticText(this, wxID_ANY, "",
|
||||
wxDefaultPosition, wxDefaultSize); // No size limit, no ellipsis
|
||||
m_label_preview_type = new wxStaticText(this, wxID_ANY, _L(""),
|
||||
m_label_preview_type = new wxStaticText(this, wxID_ANY, "",
|
||||
wxDefaultPosition, wxSize(FromDIP(220), FromDIP(16)),
|
||||
wxST_ELLIPSIZE_END);
|
||||
|
||||
@@ -504,7 +504,7 @@ void FilamentPickerDialog::UpdateCustomColorPreview(const wxColour& custom_color
|
||||
|
||||
// Update preview labels for custom color
|
||||
m_label_preview_color->SetLabel(custom_color.GetAsString(wxC2S_HTML_SYNTAX));
|
||||
m_label_preview_idx->SetLabel(_L(""));
|
||||
m_label_preview_idx->SetLabel("");
|
||||
Layout();
|
||||
}
|
||||
|
||||
|
||||
@@ -1211,7 +1211,7 @@ bool Sidebar::priv::switch_diameter(bool single)
|
||||
}
|
||||
auto preset = wxGetApp().preset_bundle->get_similar_printer_preset({}, diameter.ToStdString());
|
||||
if (preset == nullptr) {
|
||||
MessageDialog dlg(this->plater, _L(""), _L(""));
|
||||
MessageDialog dlg(this->plater, "", "");
|
||||
dlg.ShowModal();
|
||||
return false;
|
||||
}
|
||||
@@ -8537,7 +8537,7 @@ void Plater::priv::on_select_preset(wxCommandEvent &evt)
|
||||
if (combo->is_selected_printer_model()) {
|
||||
auto preset = wxGetApp().preset_bundle->get_similar_printer_preset(preset_name, {});
|
||||
if (preset == nullptr) {
|
||||
MessageDialog dlg(this->sidebar, _L(""), _L(""));
|
||||
MessageDialog dlg(this->sidebar, "", "");
|
||||
dlg.ShowModal();
|
||||
}
|
||||
preset->is_visible = true; // force visible
|
||||
|
||||
Reference in New Issue
Block a user