From cd53c16c17eb6670746212151cea1a7d36962060 Mon Sep 17 00:00:00 2001 From: jthedering <51533355+jthedering@users.noreply.github.com> Date: Sun, 7 Apr 2013 09:57:59 +0000 Subject: [PATCH] Fixed: Translation of "Cancel" button in Configurator --- Configurator/Configurator.cpp | 6 ++++++ Configurator/Configurator.rc | Bin 11854 -> 12148 bytes Configurator/resource.h | Bin 3068 -> 3248 bytes 3 files changed, 6 insertions(+) diff --git a/Configurator/Configurator.cpp b/Configurator/Configurator.cpp index a3721b7..675d17f 100644 --- a/Configurator/Configurator.cpp +++ b/Configurator/Configurator.cpp @@ -51,6 +51,12 @@ void Configurator::onInitDialog(HWND hDlg) LoadStringW(hInstance, IDS_COPY_DEVICE_COMMAND, stringBuf, sizeof(stringBuf)/sizeof(wchar_t)); SetWindowTextW(copyDeviceCommandButton, stringBuf); + LoadStringW(hInstance, IDS_OK, stringBuf, sizeof(stringBuf)/sizeof(wchar_t)); + SetWindowTextW(okButton, stringBuf); + + LoadStringW(hInstance, IDS_CANCEL, stringBuf, sizeof(stringBuf)/sizeof(wchar_t)); + SetWindowTextW(cancelButton, stringBuf); + ListView_SetExtendedListViewStyle(deviceList, ListView_GetExtendedListViewStyle(deviceList) | LVS_EX_CHECKBOXES); LVCOLUMN column; column.pszText = stringBuf; diff --git a/Configurator/Configurator.rc b/Configurator/Configurator.rc index b3a47ab6c699412a1c1266be6b9106a1e9e894bc..2d5b544f95cd84556db99df450eac04a1a3ed49b 100644 GIT binary patch delta 118 zcmX>X^CfPBjKJgyE&*nL2Jgue`Bhn!7(lE-E?H)02G_|K<%K6Z@bFDuA|^8Vh?dS| p2@bW*=h(a$H*XOcm_y7O^ delta 12 TcmdlW`A2-iJNC_sIQUoqCUFGu