From aecf79f9c510a7e50a9492417e6d92b4c283c22b Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Tue, 4 Mar 2025 20:39:28 +0800 Subject: [PATCH] FIX:Complete the wiki links for each bed type jira: STUDIO-10682 Change-Id: I5b3c35f56cabb06153163670eeb66202bbd572b4 --- src/slic3r/GUI/Plater.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index aa23c3fe8..fbc838b69 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1578,8 +1578,14 @@ Sidebar::Sidebar(Plater *parent) }); ScalableButton *wiki_bed = new ScalableButton(p->panel_printer_bed, wxID_ANY, "help"); - wiki_bed->Bind(wxEVT_BUTTON, [](wxCommandEvent) { - wxLaunchDefaultBrowser("https://wiki.bambulab.com/en/x1/manual/compatibility-and-parameter-settings-of-filaments"); + wiki_bed->SetToolTip(_L("Click to view the wiki of the current plate type")); + wiki_bed->Bind(wxEVT_BUTTON, [this](wxCommandEvent) { + bool is_zh = wxGetApp().app_config->get("language") == "zh_CN"; + if (is_zh) { + wxLaunchDefaultBrowser("https://wiki.bambulab.com/zh/filament-acc/acc/plates"); + } else { + wxLaunchDefaultBrowser("https://wiki.bambulab.com/en/filament-acc/acc/plates"); + } }); ScalableBitmap bitmap_bed(p->panel_printer_bed, "printer_placeholder", 32);