From 15699a168713b96dc70505db3d131d4c69a739d1 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Thu, 24 May 2012 22:15:13 +0100 Subject: [PATCH] Fixed default language. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The GUI was appearing in French if the display language was set to anything other than English. Ensure English is the default language by defining the English resources as English US not English UK. Spotted by Emilio Frini but apologies must go to François-Régis Tardy who included the change along with his translations. I didn't apply it because I didn't realise that things wouldn't work without it. --- nssm.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nssm.rc b/nssm.rc index f78ba08..1a7e23a 100644 --- a/nssm.rc +++ b/nssm.rc @@ -17,7 +17,7 @@ #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) #ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #endif //_WIN32 @@ -62,6 +62,7 @@ IDI_NSSM ICON "nssm.ico" IDD_INSTALL DIALOG 0, 0, 220, 90 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "NSSM service installer" +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "Install service",IDC_OK,55,69,50,14 -- 2.20.1