FIX: [STUDIO-2708] Translation of Language Selection

Change-Id: I7dc0d69846d0189f938bb680e201b62d20fba4e3
This commit is contained in:
maosheng.wei 2023-04-21 11:43:52 +08:00 committed by Lane.Wei
parent 42bcec8101
commit 6718026dd6

View file

@ -172,7 +172,7 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
// or sometimes the application crashes into wxDialogBase() destructor
// so we put it into an inner scope
MessageDialog msg_wingow(nullptr, _L("Switching the language requires application restart.\n") + "\n" + _L("Do you want to continue?"),
L("Language selection"), wxICON_QUESTION | wxOK | wxCANCEL);
_L("Language selection"), wxICON_QUESTION | wxOK | wxCANCEL);
if (msg_wingow.ShowModal() == wxID_CANCEL) {
combobox->SetSelection(m_current_language_selected);
return;