From: Iain Patterson Date: Thu, 24 May 2012 21:15:13 +0000 (+0100) Subject: Fixed default language. X-Git-Tag: v2.14~2 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=15699a168713b96dc70505db3d131d4c69a739d1;p=nssm.git Fixed default language. 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. --- 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