瀏覽代碼

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)
 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
 #ifdef _WIN32
 #ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 #pragma code_page(1252)
 #pragma code_page(1252)
 #endif //_WIN32
 #endif //_WIN32
 
 
@@ -62,6 +62,7 @@ IDI_NSSM                ICON                    "nssm.ico"
 IDD_INSTALL DIALOG  0, 0, 220, 90
 IDD_INSTALL DIALOG  0, 0, 220, 90
 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
 CAPTION "NSSM service installer"
 CAPTION "NSSM service installer"
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 FONT 8, "MS Sans Serif"
 FONT 8, "MS Sans Serif"
 BEGIN
 BEGIN
     DEFPUSHBUTTON   "Install service",IDC_OK,55,69,50,14
     DEFPUSHBUTTON   "Install service",IDC_OK,55,69,50,14