diff --git a/PowerEditor/src/localization.cpp b/PowerEditor/src/localization.cpp index 71ba8af7e..d71c8b52a 100644 --- a/PowerEditor/src/localization.cpp +++ b/PowerEditor/src/localization.cpp @@ -655,6 +655,8 @@ void NativeLangSpeaker::changeUserDefineLang(UserDefineDialog *userDefineDlg) if (hItem) { const wchar_t *nameW = wmc.char2wchar(name, _nativeLangEncoding); + if (id == IDC_DOCK_BUTTON && userDefineDlg->isDocked()) + nameW = getAttrNameByIdStr(TEXT("Undock"), userDefineDlgNode, std::to_string(IDC_UNDOCK_BUTTON).c_str()).c_str(); ::SetWindowText(hItem, nameW); } }