Преглед на файлове

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.
Iain Patterson преди 13 години
родител
ревизия
15699a1687
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      nssm.rc

+ 2 - 1
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