Author: akhaldi Date: Sat May 16 09:47:18 2015 New Revision: 67757
URL: http://svn.reactos.org/svn/reactos?rev=67757&view=rev Log: [MSPORTS] Improve the Port Settings page for parallel ports. Add "LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL" to the main RC file. By Jared Smudde with some changes by me. CORE-9653
Modified: trunk/reactos/dll/win32/msports/lang/bg-BG.rc trunk/reactos/dll/win32/msports/lang/de-DE.rc trunk/reactos/dll/win32/msports/lang/en-US.rc trunk/reactos/dll/win32/msports/lang/he-IL.rc trunk/reactos/dll/win32/msports/lang/pl-PL.rc trunk/reactos/dll/win32/msports/lang/ro-RO.rc trunk/reactos/dll/win32/msports/lang/ru-RU.rc trunk/reactos/dll/win32/msports/lang/sq-AL.rc trunk/reactos/dll/win32/msports/lang/tr-TR.rc trunk/reactos/dll/win32/msports/lang/uk-UA.rc trunk/reactos/dll/win32/msports/msports.rc trunk/reactos/dll/win32/msports/parallel.c trunk/reactos/dll/win32/msports/resource.h
Modified: trunk/reactos/dll/win32/msports/lang/bg-BG.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/lang/bg-B... ============================================================================== --- trunk/reactos/dll/win32/msports/lang/bg-BG.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/lang/bg-BG.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -24,5 +24,18 @@ CAPTION "ÐаÑÑÑойки на излаза (поÑÑа)" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP + GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP + AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10 + AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10 + AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP + AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10 + LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP + COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST END + +STRINGTABLE +BEGIN + IDS_LPT1 "LPT1" + IDS_LPT2 "LPT2" + IDS_LPT3 "LPT3" +END
Modified: trunk/reactos/dll/win32/msports/lang/de-DE.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/lang/de-D... ============================================================================== --- trunk/reactos/dll/win32/msports/lang/de-DE.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/lang/de-DE.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -24,5 +24,18 @@ CAPTION "Porteinstellungen" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP + GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP + AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10 + AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10 + AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP + AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10 + LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP + COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST END + +STRINGTABLE +BEGIN + IDS_LPT1 "LPT1" + IDS_LPT2 "LPT2" + IDS_LPT3 "LPT3" +END
Modified: trunk/reactos/dll/win32/msports/lang/en-US.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/lang/en-U... ============================================================================== --- trunk/reactos/dll/win32/msports/lang/en-US.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/lang/en-US.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -24,5 +24,18 @@ CAPTION "Port Settings" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP + GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP + AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10 + AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10 + AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP + AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10 + LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP + COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST END + +STRINGTABLE +BEGIN + IDS_LPT1 "LPT1" + IDS_LPT2 "LPT2" + IDS_LPT3 "LPT3" +END
Modified: trunk/reactos/dll/win32/msports/lang/he-IL.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/lang/he-I... ============================================================================== --- trunk/reactos/dll/win32/msports/lang/he-IL.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/lang/he-IL.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -24,5 +24,18 @@ CAPTION "×××ר×ת ×צ×××" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP + GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP + AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10 + AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10 + AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP + AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10 + LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP + COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST END + +STRINGTABLE +BEGIN + IDS_LPT1 "LPT1" + IDS_LPT2 "LPT2" + IDS_LPT3 "LPT3" +END
Modified: trunk/reactos/dll/win32/msports/lang/pl-PL.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/lang/pl-P... ============================================================================== --- trunk/reactos/dll/win32/msports/lang/pl-PL.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/lang/pl-PL.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -32,5 +32,18 @@ CAPTION "Ustawienia portu" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP + GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP + AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10 + AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10 + AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP + AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10 + LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP + COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST END + +STRINGTABLE +BEGIN + IDS_LPT1 "LPT1" + IDS_LPT2 "LPT2" + IDS_LPT3 "LPT3" +END
Modified: trunk/reactos/dll/win32/msports/lang/ro-RO.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/lang/ro-R... ============================================================================== --- trunk/reactos/dll/win32/msports/lang/ro-RO.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/lang/ro-RO.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -31,5 +31,18 @@ CAPTION "ConfiguraÈia portului" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP + GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP + AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10 + AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10 + AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP + AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10 + LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP + COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST END + +STRINGTABLE +BEGIN + IDS_LPT1 "LPT1" + IDS_LPT2 "LPT2" + IDS_LPT3 "LPT3" +END
Modified: trunk/reactos/dll/win32/msports/lang/ru-RU.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/lang/ru-R... ============================================================================== --- trunk/reactos/dll/win32/msports/lang/ru-RU.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/lang/ru-RU.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -26,5 +26,18 @@ CAPTION "ÐаÑамеÑÑÑ Ð¿Ð¾ÑÑа" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP + GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP + AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10 + AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10 + AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP + AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10 + LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP + COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST END + +STRINGTABLE +BEGIN + IDS_LPT1 "LPT1" + IDS_LPT2 "LPT2" + IDS_LPT3 "LPT3" +END
Modified: trunk/reactos/dll/win32/msports/lang/sq-AL.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/lang/sq-A... ============================================================================== --- trunk/reactos/dll/win32/msports/lang/sq-AL.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/lang/sq-AL.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -28,5 +28,18 @@ CAPTION "Cilësimet Portit" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "TESTO", -1, 74, 19, 62, 8, WS_GROUP + GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP + AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10 + AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10 + AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP + AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10 + LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP + COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST END + +STRINGTABLE +BEGIN + IDS_LPT1 "LPT1" + IDS_LPT2 "LPT2" + IDS_LPT3 "LPT3" +END
Modified: trunk/reactos/dll/win32/msports/lang/tr-TR.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/lang/tr-T... ============================================================================== --- trunk/reactos/dll/win32/msports/lang/tr-TR.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/lang/tr-TR.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -26,5 +26,18 @@ CAPTION "GiriŠAyarları" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "DENEME", -1, 74, 19, 62, 8, WS_GROUP + GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP + AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10 + AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10 + AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP + AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10 + LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP + COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST END + +STRINGTABLE +BEGIN + IDS_LPT1 "LPT1" + IDS_LPT2 "LPT2" + IDS_LPT3 "LPT3" +END
Modified: trunk/reactos/dll/win32/msports/lang/uk-UA.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/lang/uk-U... ============================================================================== --- trunk/reactos/dll/win32/msports/lang/uk-UA.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/lang/uk-UA.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -32,5 +32,18 @@ CAPTION "ÐаÑамеÑÑи поÑÑÑ" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP + GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP + AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10 + AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10 + AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP + AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10 + LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP + COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST END + +STRINGTABLE +BEGIN + IDS_LPT1 "LPT1" + IDS_LPT2 "LPT2" + IDS_LPT3 "LPT3" +END
Modified: trunk/reactos/dll/win32/msports/msports.rc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/msports.r... ============================================================================== --- trunk/reactos/dll/win32/msports/msports.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/msports.rc [iso-8859-1] Sat May 16 09:47:18 2015 @@ -2,6 +2,8 @@ #include <winuser.h>
#include "resource.h" + +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_VERSION_DLL #define REACTOS_STR_FILE_DESCRIPTION "Ports Class Installer"
Modified: trunk/reactos/dll/win32/msports/parallel.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/parallel.... ============================================================================== --- trunk/reactos/dll/win32/msports/parallel.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/parallel.c [iso-8859-1] Sat May 16 09:47:18 2015 @@ -32,6 +32,7 @@ switch (uMsg) { case WM_INITDIALOG: + SendDlgItemMessage(hwnd, IDC_NEVER_INTERRUPT, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0); return OnInitDialog(hwnd, wParam, lParam); }
Modified: trunk/reactos/dll/win32/msports/resource.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/resource.... ============================================================================== --- trunk/reactos/dll/win32/msports/resource.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msports/resource.h [iso-8859-1] Sat May 16 09:47:18 2015 @@ -8,5 +8,13 @@ #define IDC_SERIAL_FLOWCONTROL 205 #define IDC_SERIAL_ADVANCED 206 #define IDC_SERIAL_RESTORE 207 +#define IDC_PARALLEL_NAME 208 +#define IDC_TRY_INTERRUPT 209 +#define IDC_NEVER_INTERRUPT 210 +#define IDC_ANY_INTERRUPT 211 + +#define IDS_LPT1 212 +#define IDS_LPT2 213 +#define IDS_LPT3 214
#define IDD_PARALLELSETTINGS 220