Update locale

This commit is contained in:
SoftFever committed 2025-10-26 10:40:26 +08:00
1 parent 3079ef1db2
commit ca064dee1d
25 files changed
+82951 -28950

No files matched your search

+3 -3
View File
@@ -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();
}
+2 -2
View File
@@ -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