FIX:change translation

jira:[none]

Change-Id: Ife277664dab5ad85cd39825ee1e163b21e5765a2
(cherry picked from commit d8fd4e23acf946c4c9adfd3c03642433dba27eb4)
This commit is contained in:
milk 2025-10-14 17:01:07 +08:00 committed by Noisyfox
parent bfd8a0cbd7
commit 7c7d80479d

View file

@ -28,12 +28,9 @@ ThermalPreconditioningDialog::ThermalPreconditioningDialog(wxWindow *parent, std
m_refresh_timer->Start(1000);
// Set remaining time
if (!remaining_time.IsEmpty()) {
m_remaining_time_label->SetLabelText(wxString::Format(_L("Remaining time: %s"), remaining_time));
} else {
m_remaining_time_label->SetLabelText(_L("Remaining time: Calculating..."));
}
m_remaining_time_label->SetLabelText(_L("Remaining time: Calculating..."));
Layout();
// Set dialog size and position
SetSize(wxSize(FromDIP(400), FromDIP(200)));
wxGetApp().UpdateDlgDarkUI(this);
@ -106,6 +103,8 @@ void ThermalPreconditioningDialog::update_thermal_remaining_time()
}
if (m_remaining_time_label) m_remaining_time_label->SetLabelText(remaining_time);
Layout();
}
void ThermalPreconditioningDialog::on_timer(wxTimerEvent &event) {