mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
FIX: add Chinese pictures in cali page
Change-Id: Ibcb0a01ec0fcbb3a73708cb6dc771748b3ebc2ea (cherry picked from commit 848e51c5da6d9c5c3f4227ed6dc706b19e9eceae)
This commit is contained in:
parent
3a5ddb3ea1
commit
2bb6dc65b8
11 changed files with 35 additions and 7 deletions
|
@ -89,7 +89,11 @@ void CalibrationPAStartPage::create_page(wxWindow* parent)
|
|||
m_top_sizer->Add(m_when_content);
|
||||
m_top_sizer->AddSpacer(PRESET_GAP);
|
||||
|
||||
create_bitmap(parent, "cali_page_before_pa", "cali_page_after_pa");
|
||||
if (wxGetApp().app_config->get_language_code() == "zh-cn") {
|
||||
create_bitmap(parent, "cali_page_before_pa_CN", "cali_page_after_pa_CN");
|
||||
} else {
|
||||
create_bitmap(parent, "cali_page_before_pa", "cali_page_after_pa");
|
||||
}
|
||||
m_top_sizer->Add(m_images_sizer, 0, wxALL, 0);
|
||||
m_top_sizer->AddSpacer(PRESET_GAP);
|
||||
|
||||
|
@ -199,7 +203,11 @@ void CalibrationFlowRateStartPage::create_page(wxWindow* parent)
|
|||
m_top_sizer->Add(m_when_content);
|
||||
m_top_sizer->AddSpacer(PRESET_GAP);
|
||||
|
||||
create_bitmap(parent, "cali_page_flow_introduction");
|
||||
if (wxGetApp().app_config->get_language_code() == "zh-cn") {
|
||||
create_bitmap(parent, "cali_page_flow_introduction_CN");
|
||||
} else {
|
||||
create_bitmap(parent, "cali_page_flow_introduction");
|
||||
}
|
||||
m_top_sizer->Add(m_images_sizer, 0, wxALL, 0);
|
||||
m_top_sizer->AddSpacer(PRESET_GAP);
|
||||
|
||||
|
@ -326,7 +334,11 @@ void CalibrationMaxVolumetricSpeedStartPage::create_page(wxWindow* parent)
|
|||
|
||||
m_top_sizer->AddSpacer(PRESET_GAP);
|
||||
|
||||
create_bitmap(parent, "cali_page_before_pa", "cali_page_after_pa");
|
||||
if (wxGetApp().app_config->get_language_code() == "zh-cn") {
|
||||
create_bitmap(parent, "cali_page_before_pa_CN", "cali_page_after_pa_CN");
|
||||
} else {
|
||||
create_bitmap(parent, "cali_page_before_pa", "cali_page_after_pa");
|
||||
}
|
||||
|
||||
m_top_sizer->Add(m_images_sizer, 0, wxALL, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue