FIX: fix missing translation issue

JIRA: none

Change-Id: I163550c2e784a5920dbfeb3ee7d9344506da1567
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2025-05-16 16:24:05 +08:00 committed by lane.wei
parent 0f7986b35d
commit fc6b447b4a

View File

@ -323,7 +323,7 @@ wxBoxSizer *PreferencesDialog::create_item_region_combobox(wxString title, wxWin
NetworkAgent* agent = wxGetApp().getAgent(); NetworkAgent* agent = wxGetApp().getAgent();
AppConfig* config = GUI::wxGetApp().app_config; AppConfig* config = GUI::wxGetApp().app_config;
if (agent) { if (agent) {
MessageDialog msg_wingow(this, _L("Changing the region will log out your account.\n") + "\n" + _L("Do you want to continue?"), L("Region selection"), MessageDialog msg_wingow(this, _L("Changing the region will log out your account.\n") + "\n" + _L("Do you want to continue?"), _L("Region selection"),
wxICON_QUESTION | wxOK | wxCANCEL); wxICON_QUESTION | wxOK | wxCANCEL);
if (msg_wingow.ShowModal() == wxID_CANCEL) { if (msg_wingow.ShowModal() == wxID_CANCEL) {
combobox->SetSelection(current_region); combobox->SetSelection(current_region);