From 97f7bbfc4b7a029f533d94d8d922a83cc394af4b Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Tue, 17 May 2016 22:38:58 +0000 Subject: [PATCH] [SYSSETUP/NETSHELL] 2nd Stage Network Setup Patch by Lee Schroeder and Eric Kohl. - Move Lees 2nd stage network setup wizard code to netshell. It gets called by syssetup via NetSetupRequestWizardPages(). - Add code to syssetup which calls NetSetupRequestWizardPages and inserts the retrieved wizard pages into the setup wizard. - Prevent a font handle leak by storing the bold font handle in the SetuData. CORE-10955 #resolve #comment Thanks a lot! svn path=/trunk/; revision=71348 --- reactos/dll/shellext/netshell/CMakeLists.txt | 3 +- reactos/dll/shellext/netshell/lang/bg-BG.rc | 54 +++ reactos/dll/shellext/netshell/lang/cs-CZ.rc | 54 +++ reactos/dll/shellext/netshell/lang/da-DK.rc | 54 +++ reactos/dll/shellext/netshell/lang/de-DE.rc | 54 +++ reactos/dll/shellext/netshell/lang/el-GR.rc | 54 +++ reactos/dll/shellext/netshell/lang/en-US.rc | 54 +++ reactos/dll/shellext/netshell/lang/es-ES.rc | 54 +++ reactos/dll/shellext/netshell/lang/fr-FR.rc | 54 +++ reactos/dll/shellext/netshell/lang/he-IL.rc | 54 +++ reactos/dll/shellext/netshell/lang/hu-HU.rc | 54 +++ reactos/dll/shellext/netshell/lang/id-ID.rc | 54 +++ reactos/dll/shellext/netshell/lang/it-IT.rc | 54 +++ reactos/dll/shellext/netshell/lang/ja-JP.rc | 54 +++ reactos/dll/shellext/netshell/lang/nl-NL.rc | 54 +++ reactos/dll/shellext/netshell/lang/no-NO.rc | 54 +++ reactos/dll/shellext/netshell/lang/pl-PL.rc | 54 +++ reactos/dll/shellext/netshell/lang/ro-RO.rc | 54 +++ reactos/dll/shellext/netshell/lang/ru-RU.rc | 54 +++ reactos/dll/shellext/netshell/lang/sk-SK.rc | 54 +++ reactos/dll/shellext/netshell/lang/sq-AL.rc | 54 +++ reactos/dll/shellext/netshell/lang/sv-SE.rc | 54 +++ reactos/dll/shellext/netshell/lang/tr-TR.rc | 54 +++ reactos/dll/shellext/netshell/lang/uk-UA.rc | 54 +++ reactos/dll/shellext/netshell/lang/zh-CN.rc | 54 +++ reactos/dll/shellext/netshell/lang/zh-TW.rc | 54 +++ reactos/dll/shellext/netshell/netshell.rc | 1 + reactos/dll/shellext/netshell/netshell.spec | 2 +- reactos/dll/shellext/netshell/precomp.h | 3 + .../dll/shellext/netshell/res/netsetup.ico | Bin 0 -> 35846 bytes reactos/dll/shellext/netshell/resource.h | 29 ++ reactos/dll/shellext/netshell/setup.cpp | 312 ++++++++++++++++++ reactos/dll/win32/syssetup/globals.h | 42 --- reactos/dll/win32/syssetup/wizard.c | 118 +++++-- .../include/reactos/libs/syssetup/syssetup.h | 48 +++ 35 files changed, 1840 insertions(+), 68 deletions(-) create mode 100644 reactos/dll/shellext/netshell/res/netsetup.ico create mode 100644 reactos/dll/shellext/netshell/setup.cpp diff --git a/reactos/dll/shellext/netshell/CMakeLists.txt b/reactos/dll/shellext/netshell/CMakeLists.txt index a1e9bd9a0ec..3a5f4a5f1f7 100644 --- a/reactos/dll/shellext/netshell/CMakeLists.txt +++ b/reactos/dll/shellext/netshell/CMakeLists.txt @@ -22,6 +22,7 @@ list(APPEND SOURCE connectmanager.cpp lanconnectui.cpp lanstatusui.cpp + setup.cpp precomp.h) file(GLOB netshell_rc_deps res/*.*) @@ -35,6 +36,6 @@ add_library(netshell SHARED set_module_type(netshell win32dll) target_link_libraries(netshell uuid wine) -add_importlibs(netshell shlwapi shell32 version iphlpapi ole32 user32 advapi32 setupapi ws2_32 comctl32 msvcrt kernel32 ntdll) +add_importlibs(netshell shlwapi shell32 version iphlpapi ole32 gdi32 user32 advapi32 setupapi ws2_32 comctl32 msvcrt kernel32 ntdll) add_pch(netshell precomp.h SOURCE) add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all) diff --git a/reactos/dll/shellext/netshell/lang/bg-BG.rc b/reactos/dll/shellext/netshell/lang/bg-BG.rc index 12f6c0ad493..e3d359f8fce 100644 --- a/reactos/dll/shellext/netshell/lang/bg-BG.rc +++ b/reactos/dll/shellext/netshell/lang/bg-BG.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Затваряне", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Физически адрес" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Зададено от DHCP" IDS_ASSIGNED_MANUAL "Ръчно настроено" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/cs-CZ.rc b/reactos/dll/shellext/netshell/lang/cs-CZ.rc index 3f4bcb8939d..b030b0c2f6f 100644 --- a/reactos/dll/shellext/netshell/lang/cs-CZ.rc +++ b/reactos/dll/shellext/netshell/lang/cs-CZ.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&zavřít", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Fyzická adresa" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Přiřazeno DHCP" IDS_ASSIGNED_MANUAL "Ručně nastaveno" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/da-DK.rc b/reactos/dll/shellext/netshell/lang/da-DK.rc index 2dd89af2413..99defc04d16 100644 --- a/reactos/dll/shellext/netshell/lang/da-DK.rc +++ b/reactos/dll/shellext/netshell/lang/da-DK.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Physical Address" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Assigned by DHCP" IDS_ASSIGNED_MANUAL "Manually configured" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/de-DE.rc b/reactos/dll/shellext/netshell/lang/de-DE.rc index 560417d6bd9..6f23117385e 100644 --- a/reactos/dll/shellext/netshell/lang/de-DE.rc +++ b/reactos/dll/shellext/netshell/lang/de-DE.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Schließen", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Physikalische Adresse" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Von DHCP zugewiesen" IDS_ASSIGNED_MANUAL "Manuell konfiguriert" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/el-GR.rc b/reactos/dll/shellext/netshell/lang/el-GR.rc index 44d5ec1c7a2..733a927bdbf 100644 --- a/reactos/dll/shellext/netshell/lang/el-GR.rc +++ b/reactos/dll/shellext/netshell/lang/el-GR.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Physical Address" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Ορίστηκε από το DHCP" IDS_ASSIGNED_MANUAL "Ορίστηκε χειροκίνητα" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/en-US.rc b/reactos/dll/shellext/netshell/lang/en-US.rc index 013a7d0149a..b61815e2aaa 100644 --- a/reactos/dll/shellext/netshell/lang/en-US.rc +++ b/reactos/dll/shellext/netshell/lang/en-US.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Physical Address" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Assigned by DHCP" IDS_ASSIGNED_MANUAL "Manually configured" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/es-ES.rc b/reactos/dll/shellext/netshell/lang/es-ES.rc index af5eeb001c1..e91ffc5d137 100644 --- a/reactos/dll/shellext/netshell/lang/es-ES.rc +++ b/reactos/dll/shellext/netshell/lang/es-ES.rc @@ -77,6 +77,48 @@ BEGIN PUSHBUTTON "&Cerrar", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Dirección física" @@ -121,3 +163,15 @@ BEGIN IDS_ASSIGNED_DHCP "Asignado por DHCP" IDS_ASSIGNED_MANUAL "Configurado manualmente" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/fr-FR.rc b/reactos/dll/shellext/netshell/lang/fr-FR.rc index 47874c97e9f..c1299585047 100644 --- a/reactos/dll/shellext/netshell/lang/fr-FR.rc +++ b/reactos/dll/shellext/netshell/lang/fr-FR.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "Fermer", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Adresse physique" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Assignée par DHCP" IDS_ASSIGNED_MANUAL "Configurée manuellement" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/he-IL.rc b/reactos/dll/shellext/netshell/lang/he-IL.rc index 07549a318e3..01a9d254120 100644 --- a/reactos/dll/shellext/netshell/lang/he-IL.rc +++ b/reactos/dll/shellext/netshell/lang/he-IL.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "סגור", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "כתובת פיזית" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "מוקצה ע""י DHCP" IDS_ASSIGNED_MANUAL "מוגדר ידנית" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/hu-HU.rc b/reactos/dll/shellext/netshell/lang/hu-HU.rc index 2cc2bc343e1..72951b43a15 100644 --- a/reactos/dll/shellext/netshell/lang/hu-HU.rc +++ b/reactos/dll/shellext/netshell/lang/hu-HU.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Physical Address" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Assigned by DHCP" IDS_ASSIGNED_MANUAL "Manually configured" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/id-ID.rc b/reactos/dll/shellext/netshell/lang/id-ID.rc index 5625976b93d..a0b58dec4cb 100644 --- a/reactos/dll/shellext/netshell/lang/id-ID.rc +++ b/reactos/dll/shellext/netshell/lang/id-ID.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Physical Address" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Assigned by DHCP" IDS_ASSIGNED_MANUAL "Manually configured" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/it-IT.rc b/reactos/dll/shellext/netshell/lang/it-IT.rc index 5c62c4f142d..6506d7a0dde 100644 --- a/reactos/dll/shellext/netshell/lang/it-IT.rc +++ b/reactos/dll/shellext/netshell/lang/it-IT.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Indirizzo fisico" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Assegnato da DHCP" IDS_ASSIGNED_MANUAL "Configurato manualmente" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/ja-JP.rc b/reactos/dll/shellext/netshell/lang/ja-JP.rc index b7a0eba5e9f..6ea2c188fed 100644 --- a/reactos/dll/shellext/netshell/lang/ja-JP.rc +++ b/reactos/dll/shellext/netshell/lang/ja-JP.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "閉じる(&C)", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "物理アドレス" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "DHCP による割り当て" IDS_ASSIGNED_MANUAL "手動構成" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/nl-NL.rc b/reactos/dll/shellext/netshell/lang/nl-NL.rc index d9190c333f0..73943ca17bb 100644 --- a/reactos/dll/shellext/netshell/lang/nl-NL.rc +++ b/reactos/dll/shellext/netshell/lang/nl-NL.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Fysieke Adres" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Toegekend door DHCP" IDS_ASSIGNED_MANUAL "Handmatig geconfigureerd" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/no-NO.rc b/reactos/dll/shellext/netshell/lang/no-NO.rc index 1b1847937c0..fcc77c7cc67 100644 --- a/reactos/dll/shellext/netshell/lang/no-NO.rc +++ b/reactos/dll/shellext/netshell/lang/no-NO.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Lukk", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Fysisk adresse" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Tilordnet av DHCP" IDS_ASSIGNED_MANUAL "Manuelt konfigurert" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/pl-PL.rc b/reactos/dll/shellext/netshell/lang/pl-PL.rc index 5d03d12780a..8d2a1a93e19 100644 --- a/reactos/dll/shellext/netshell/lang/pl-PL.rc +++ b/reactos/dll/shellext/netshell/lang/pl-PL.rc @@ -78,6 +78,48 @@ BEGIN PUSHBUTTON "&Zamknij", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Adres fizyczny" @@ -122,3 +164,15 @@ BEGIN IDS_ASSIGNED_DHCP "Przydzielony przez DHCP" IDS_ASSIGNED_MANUAL "Ustawiony ręcznie" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/ro-RO.rc b/reactos/dll/shellext/netshell/lang/ro-RO.rc index e0718e41984..6262f7c6349 100644 --- a/reactos/dll/shellext/netshell/lang/ro-RO.rc +++ b/reactos/dll/shellext/netshell/lang/ro-RO.rc @@ -81,6 +81,48 @@ BEGIN PUSHBUTTON "Î&nchide", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Adresă fizică" @@ -125,3 +167,15 @@ BEGIN IDS_ASSIGNED_DHCP "Alocată de DHCP" IDS_ASSIGNED_MANUAL "Config. manual" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/ru-RU.rc b/reactos/dll/shellext/netshell/lang/ru-RU.rc index 486c065effa..1a272408776 100644 --- a/reactos/dll/shellext/netshell/lang/ru-RU.rc +++ b/reactos/dll/shellext/netshell/lang/ru-RU.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Закрыть", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Физический адрес" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Присвоен DHCP" IDS_ASSIGNED_MANUAL "Настроен вручную" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/sk-SK.rc b/reactos/dll/shellext/netshell/lang/sk-SK.rc index 45262dc2a4e..e8fdcee50f7 100644 --- a/reactos/dll/shellext/netshell/lang/sk-SK.rc +++ b/reactos/dll/shellext/netshell/lang/sk-SK.rc @@ -81,6 +81,48 @@ BEGIN PUSHBUTTON "&Zavrieť", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Fyzická adresa" @@ -125,3 +167,15 @@ BEGIN IDS_ASSIGNED_DHCP "Pridelená DHCP serverom" IDS_ASSIGNED_MANUAL "Nakonfigurovaná manuálne" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/sq-AL.rc b/reactos/dll/shellext/netshell/lang/sq-AL.rc index 3849cbd211e..974040f3c84 100644 --- a/reactos/dll/shellext/netshell/lang/sq-AL.rc +++ b/reactos/dll/shellext/netshell/lang/sq-AL.rc @@ -80,6 +80,48 @@ BEGIN PUSHBUTTON "&Mbyll", IDC_CLOSE, 125, 165, 62, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Adresa Fiyike" @@ -124,3 +166,15 @@ BEGIN IDS_ASSIGNED_DHCP "Caktuar nga DHCP" IDS_ASSIGNED_MANUAL "Konfiguruar Manualisht" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/sv-SE.rc b/reactos/dll/shellext/netshell/lang/sv-SE.rc index 1180457ee5a..8e5e926143b 100644 --- a/reactos/dll/shellext/netshell/lang/sv-SE.rc +++ b/reactos/dll/shellext/netshell/lang/sv-SE.rc @@ -76,6 +76,48 @@ BEGIN PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Physical Address" @@ -120,3 +162,15 @@ BEGIN IDS_ASSIGNED_DHCP "Assigned by DHCP" IDS_ASSIGNED_MANUAL "Manually configured" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/tr-TR.rc b/reactos/dll/shellext/netshell/lang/tr-TR.rc index 9760b24ea09..e5d770d2761 100644 --- a/reactos/dll/shellext/netshell/lang/tr-TR.rc +++ b/reactos/dll/shellext/netshell/lang/tr-TR.rc @@ -78,6 +78,48 @@ BEGIN PUSHBUTTON "&Kapat", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Fizîkî Adres" @@ -122,3 +164,15 @@ BEGIN IDS_ASSIGNED_DHCP "DHCP eliyle atanmış." IDS_ASSIGNED_MANUAL "Elle yapılandırılmış." END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/uk-UA.rc b/reactos/dll/shellext/netshell/lang/uk-UA.rc index b20b0f44b00..e20101b4666 100644 --- a/reactos/dll/shellext/netshell/lang/uk-UA.rc +++ b/reactos/dll/shellext/netshell/lang/uk-UA.rc @@ -84,6 +84,48 @@ BEGIN PUSHBUTTON "&Закрити", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "Фізична адреса" @@ -128,3 +170,15 @@ BEGIN IDS_ASSIGNED_DHCP "Надано DHCP" IDS_ASSIGNED_MANUAL "Налаштовано вручну" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/zh-CN.rc b/reactos/dll/shellext/netshell/lang/zh-CN.rc index a5037d3d5a6..79e39e5131b 100644 --- a/reactos/dll/shellext/netshell/lang/zh-CN.rc +++ b/reactos/dll/shellext/netshell/lang/zh-CN.rc @@ -84,6 +84,48 @@ BEGIN PUSHBUTTON "关闭(&C)", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "物理地址" @@ -128,3 +170,15 @@ BEGIN IDS_ASSIGNED_DHCP "由 DHCP 指派" IDS_ASSIGNED_MANUAL "手动设定" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/lang/zh-TW.rc b/reactos/dll/shellext/netshell/lang/zh-TW.rc index c2f3acadc9e..34d49626ba5 100644 --- a/reactos/dll/shellext/netshell/lang/zh-TW.rc +++ b/reactos/dll/shellext/netshell/lang/zh-TW.rc @@ -84,6 +84,48 @@ BEGIN PUSHBUTTON "關閉(&C)", IDC_CLOSE, 120, 155, 60, 14 END +IDD_NETWORKSETTINGSPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + ICON IDI_NET_SETUP, IDC_STATIC, 21, 10, 20, 20 + LTEXT "Choose whether to use typical or custom settings:", IDC_STATIC, 53, 7, 240, 20 + AUTORADIOBUTTON "Typical Settings", IDC_NETWORK_TYPICAL, 53, 27, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Custom Settings", IDC_NETWORK_CUSTOM, 53, 72, 253, 20, WS_TABSTOP + LTEXT "Creates network connetions using the Client for ReactOS Networks, File and Print Sharing for ReactOS Networks, and the TCP/IP transport protocol with automatic addressing.", IDC_STATIC, 65, 45, 240, 30 + LTEXT "Allows you to manually configure network components.", IDC_STATIC, 65, 90, 243, 20 +END + +IDD_NETWORKCOMPONENTPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "For Device:", IDC_STATIC, 33, 2, 100, 20 + LTEXT "n/a", IDC_NETWORK_DEVICE, 75, 2, 253, 20 + LTEXT "Components checked are used by this connection:", IDC_STATIC, 33, 12, 253, 20 + CONTROL "", IDC_COMPONENT_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 33, 22, 250, 50 + PUSHBUTTON "&Install...", IDC_NETWORK_INSTALL, 122, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Uninstall", IDC_NETWORK_UNINSTALL, 177, 75, 50, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Properties", IDC_NETWORK_PROPERTIES, 232, 75, 50, 14, WS_DISABLED | WS_TABSTOP + GROUPBOX "Description", IDC_STATIC, 33, 90, 250, 50, BS_GROUPBOX +END + +IDD_NETWORKDOMAINPAGE DIALOGEX 0, 0, 317, 143 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "ReactOS Setup" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Do you want this computer to be a member of a domain?\n\ +(You can obtain this information from your network administator.)", IDC_STATIC, 33, 2, 263, 50 + AUTORADIOBUTTON "No, this computer will be part of a workgroup.", IDC_SELECT_WORKGROUP, 33, 32, 253, 20, WS_TABSTOP | WS_GROUP + AUTORADIOBUTTON "Yes, this computer will be part of a domain.", IDC_SELECT_DOMAIN, 33, 47, 253, 20, WS_TABSTOP + LTEXT "Workgroup or Domain Name:", IDC_STATIC, 33, 72, 126, 14 + EDITTEXT IDC_DOMAIN_NAME, 33, 82, 126, 14, WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL + LTEXT "NOTE: If this computer isn't going to be part of a network, you don't have sufficient rights to join a domain, or you don't know what to enter, then just choose workgroup for now. These options can be changed at a later time.", IDC_STATIC, 33, 107, 263, 50 +END + STRINGTABLE BEGIN IDS_PHYSICAL_ADDRESS "實體位址" @@ -128,3 +170,15 @@ BEGIN IDS_ASSIGNED_DHCP "由 DHCP 指派" IDS_ASSIGNED_MANUAL "手動設定" END + +STRINGTABLE +BEGIN + IDS_NETWORKSETTINGSTITLE "Network Settings" + IDS_NETWORKSETTINGSSUBTITLE "Installs network software used to connect to other networks, computers, and the Internet." + IDS_NETWORKCOMPONENTTITLE "Network Components" + IDS_NETWORKCOMPONENTSUBTITLE "Determine which networking components are used on your computer. To add new components, click on Install." + IDS_NETWORKDOMAINTITLE "Workgroup or Computer Domain" + IDS_NETWORKDOMAINSUBTITLE "A domain is a group of computers defined by a network administator. A workgroup is a group of computers sharing the same workgroup name." + IDS_REACTOS_SETUP "ReactOS Setup" + IDS_WZD_DOMAIN_NAME "Setup cannot continue until you\nenter the name of your domain\nor workgroup." +END diff --git a/reactos/dll/shellext/netshell/netshell.rc b/reactos/dll/shellext/netshell/netshell.rc index 70dd660e013..363273cd4e1 100644 --- a/reactos/dll/shellext/netshell/netshell.rc +++ b/reactos/dll/shellext/netshell/netshell.rc @@ -21,6 +21,7 @@ IDI_NET_OFF ICON "res/netoff.ico" IDI_NET_REC ICON "res/netrec.ico" IDI_NET_TRANS ICON "res/nettrans.ico" IDI_NET_TRANSREC ICON "res/nettrrec.ico" +IDI_NET_SETUP ICON "res/netsetup.ico" IDR_NETSHELL WINE_REGISTRY "res/netshell.rgs" diff --git a/reactos/dll/shellext/netshell/netshell.spec b/reactos/dll/shellext/netshell/netshell.spec index be120b8f352..6190d8fc9dc 100644 --- a/reactos/dll/shellext/netshell/netshell.spec +++ b/reactos/dll/shellext/netshell/netshell.spec @@ -26,7 +26,7 @@ 25 stub NetSetupFinishInstall 26 stub NetSetupInstallSoftware 27 stub NetSetupPrepareSysPrep -28 stub NetSetupRequestWizardPages +28 stdcall NetSetupRequestWizardPages(ptr ptr ptr) 29 stub NetSetupSetProgressCallback 30 stub NormalizeExtendedStatus 31 stub RaiseSupportDialog diff --git a/reactos/dll/shellext/netshell/precomp.h b/reactos/dll/shellext/netshell/precomp.h index 0347b2dc627..0d763a15da3 100644 --- a/reactos/dll/shellext/netshell/precomp.h +++ b/reactos/dll/shellext/netshell/precomp.h @@ -9,6 +9,8 @@ #include #include +#include +#include #include #include #include @@ -19,6 +21,7 @@ #include #include #include +#include #include WINE_DEFAULT_DEBUG_CHANNEL(shell); diff --git a/reactos/dll/shellext/netshell/res/netsetup.ico b/reactos/dll/shellext/netshell/res/netsetup.ico new file mode 100644 index 0000000000000000000000000000000000000000..8a70a111d79c62a9eb4d432eb933cc74f8ec4c00 GIT binary patch literal 35846 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 + +extern "C" +{ + +static +VOID +SetBoldText( + HWND hwndDlg, + INT control, + PSETUPDATA pSetupData) +{ + SendDlgItemMessageW(hwndDlg, control, WM_SETFONT, (WPARAM)pSetupData->hBoldFont, MAKELPARAM(TRUE, 0)); +} + +static +INT_PTR +CALLBACK +NetworkSettingsPageDlgProc( + HWND hwndDlg, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) +{ + PSETUPDATA SetupData; + LPNMHDR lpnm; + + /* Retrieve pointer to the global setup data */ + SetupData = (PSETUPDATA)GetWindowLongPtr (hwndDlg, GWL_USERDATA); + + switch (uMsg) + { + case WM_INITDIALOG: + /* Save pointer to the global setup data */ + SetupData = (PSETUPDATA)((LPPROPSHEETPAGE)lParam)->lParam; + SetWindowLongPtr(hwndDlg, GWL_USERDATA, (DWORD_PTR)SetupData); + + /* Set the fonts of both the options to bold */ + SetBoldText(hwndDlg, IDC_NETWORK_TYPICAL, SetupData); + SetBoldText(hwndDlg, IDC_NETWORK_CUSTOM, SetupData); + + /* Set the typical settings option as the default */ + SendDlgItemMessage(hwndDlg, IDC_NETWORK_TYPICAL, BM_SETCHECK, (WPARAM)BST_CHECKED, 0); + + if (SetupData->UnattendSetup) + { + //... + } + break; + + case WM_DESTROY: + //... + break; + + case WM_NOTIFY: + lpnm = (LPNMHDR)lParam; + + switch (lpnm->code) + { + case PSN_SETACTIVE: + /* Enable the Back and Next buttons */ + PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK | PSWIZB_NEXT); + if (SetupData->UnattendSetup) + { + SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, IDD_NETWORKCOMPONENTPAGE); + return TRUE; + } + break; + + case PSN_WIZNEXT: + /* If the Typical Settings button is chosen, then skip to the Domain Page */ + if (IsDlgButtonChecked(hwndDlg, IDC_NETWORK_TYPICAL) == BST_CHECKED) + { + SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, IDD_NETWORKDOMAINPAGE); + return TRUE; + } + break; + + case PSN_WIZBACK: + SetupData->UnattendSetup = FALSE; + break; + } + break; + + default: + break; + } + + return FALSE; +} + +static +INT_PTR +CALLBACK +NetworkPageDlgProc( + HWND hwndDlg, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) +{ + PSETUPDATA SetupData; + LPNMHDR lpnm; + + /* Retrieve pointer to the global setup data */ + SetupData = (PSETUPDATA)GetWindowLongPtr (hwndDlg, GWL_USERDATA); + + switch (uMsg) + { + case WM_INITDIALOG: + /* Save pointer to the global setup data */ + SetupData = (PSETUPDATA)((LPPROPSHEETPAGE)lParam)->lParam; + SetWindowLongPtr(hwndDlg, GWL_USERDATA, (DWORD_PTR)SetupData); + + SetBoldText(hwndDlg, IDC_NETWORK_DEVICE, SetupData); + + if (SetupData->UnattendSetup) + { + //... + } + break; + + case WM_DESTROY: + //... + break; + + case WM_NOTIFY: + lpnm = (LPNMHDR)lParam; + + switch (lpnm->code) + { + case PSN_SETACTIVE: + /* Enable the Back and Next buttons */ + PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK | PSWIZB_NEXT); + if (SetupData->UnattendSetup) + { + SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, IDD_NETWORKDOMAINPAGE); + return TRUE; + } + break; + + case PSN_WIZBACK: + SetupData->UnattendSetup = FALSE; + break; + } + break; + + default: + break; + } + + return FALSE; +} + +static +INT_PTR +CALLBACK +DomainPageDlgProc( + HWND hwndDlg, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) +{ + WCHAR DomainName[51]; + WCHAR Title[64]; + WCHAR ErrorName[256]; + LPNMHDR lpnm; + PSETUPDATA SetupData; + + /* Retrieve pointer to the global setup data */ + SetupData = (PSETUPDATA)GetWindowLongPtr (hwndDlg, GWL_USERDATA); + + switch (uMsg) + { + case WM_INITDIALOG: + /* Save pointer to the global setup data */ + SetupData = (PSETUPDATA)((LPPROPSHEETPAGE)lParam)->lParam; + SetWindowLongPtr(hwndDlg, GWL_USERDATA, (DWORD_PTR)SetupData); + + /* Set the workgroup option as the default */ + SendDlgItemMessage(hwndDlg, IDC_SELECT_WORKGROUP, BM_SETCHECK, (WPARAM)BST_CHECKED, 0); + + wcscpy(DomainName, L"WORKGROUP"); + + /* Display current computer name */ + SetDlgItemTextW(hwndDlg, IDC_DOMAIN_NAME, DomainName); + + /* Set focus to owner name */ + SetFocus(GetDlgItem(hwndDlg, IDC_DOMAIN_NAME)); + + if (SetupData->UnattendSetup) + { + //... + } + break; + + case WM_DESTROY: + //... + break; + + case WM_NOTIFY: + lpnm = (LPNMHDR)lParam; + + switch (lpnm->code) + { + case PSN_SETACTIVE: + /* Enable the Back and Next buttons */ + PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK | PSWIZB_NEXT); + if (SetupData->UnattendSetup) + { + SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, SetupData->uPostNetworkWizardPage); + return TRUE; + } + break; + + case PSN_WIZNEXT: + DomainName[0] = 0; + if (GetDlgItemTextW(hwndDlg, IDC_DOMAIN_NAME, DomainName, 50) == 0) + { + if (0 == LoadStringW(netshell_hInstance, IDS_REACTOS_SETUP, Title, sizeof(Title) / sizeof(Title[0]))) + { + wcscpy(Title, L"ReactOS Setup"); + } + if (0 == LoadStringW(netshell_hInstance, IDS_WZD_DOMAIN_NAME, ErrorName, sizeof(ErrorName) / sizeof(ErrorName[0]))) + { + wcscpy(ErrorName, L"Setup cannot continue until you\nenter the name of your domain/workgroup."); + } + MessageBoxW(hwndDlg, ErrorName, Title, MB_ICONERROR | MB_OK); + + SetFocus(GetDlgItem(hwndDlg, IDC_DOMAIN_NAME)); + SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, -1); + + //TODO: Implement setting the Domain/Workgroup + + return TRUE; + } + break; + + case PSN_WIZBACK: + SetupData->UnattendSetup = FALSE; + break; + } + break; + + default: + break; + } + + return FALSE; +} + + +DWORD +WINAPI +NetSetupRequestWizardPages( + PDWORD pPageCount, + HPROPSHEETPAGE *pPages, + PSETUPDATA pSetupData) +{ + PROPSHEETPAGE psp = {0}; + DWORD dwPageCount = 3; + INT nPage = 0; + + if (pPageCount == NULL) + return ERROR_INVALID_PARAMETER; + + if (pPages == NULL) + { + *pPageCount = dwPageCount; + return ERROR_SUCCESS; + } + + if (*pPageCount < dwPageCount) + return ERROR_BUFFER_OVERFLOW; + + pSetupData->uFirstNetworkWizardPage = IDD_NETWORKSETTINGSPAGE; + + /* Create the Network Settings page */ + psp.dwSize = sizeof(PROPSHEETPAGE); + psp.hInstance = netshell_hInstance; + psp.lParam = (LPARAM)pSetupData; + + psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE; + psp.pszHeaderTitle = MAKEINTRESOURCE(IDS_NETWORKSETTINGSTITLE); + psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_NETWORKSETTINGSSUBTITLE); + psp.pfnDlgProc = NetworkSettingsPageDlgProc; + psp.pszTemplate = MAKEINTRESOURCE(IDD_NETWORKSETTINGSPAGE); + pPages[nPage++] = CreatePropertySheetPage(&psp); + + /* Create the Network Components page */ + psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE; + psp.pszHeaderTitle = MAKEINTRESOURCE(IDS_NETWORKCOMPONENTTITLE); + psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_NETWORKCOMPONENTSUBTITLE); + psp.pfnDlgProc = NetworkPageDlgProc; + psp.pszTemplate = MAKEINTRESOURCE(IDD_NETWORKCOMPONENTPAGE); + pPages[nPage++] = CreatePropertySheetPage(&psp); + + /* Create the Domain/Workgroup page */ + psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE; + psp.pszHeaderTitle = MAKEINTRESOURCE(IDS_NETWORKDOMAINTITLE); + psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_NETWORKDOMAINSUBTITLE); + psp.pfnDlgProc = DomainPageDlgProc; + psp.pszTemplate = MAKEINTRESOURCE(IDD_NETWORKDOMAINPAGE); + pPages[nPage++] = CreatePropertySheetPage(&psp); + + *pPageCount = dwPageCount; + + return ERROR_SUCCESS; +} + +} // extern "C" diff --git a/reactos/dll/win32/syssetup/globals.h b/reactos/dll/win32/syssetup/globals.h index 456cef906a2..38c1cd37dbc 100644 --- a/reactos/dll/win32/syssetup/globals.h +++ b/reactos/dll/win32/syssetup/globals.h @@ -18,48 +18,6 @@ #pragma once -typedef struct _TZ_INFO -{ - LONG Bias; - LONG StandardBias; - LONG DaylightBias; - SYSTEMTIME StandardDate; - SYSTEMTIME DaylightDate; -} TZ_INFO, *PTZ_INFO; - -typedef struct _TIMEZONE_ENTRY -{ - struct _TIMEZONE_ENTRY *Prev; - struct _TIMEZONE_ENTRY *Next; - WCHAR Description[64]; /* 'Display' */ - WCHAR StandardName[32]; /* 'Std' */ - WCHAR DaylightName[32]; /* 'Dlt' */ - TZ_INFO TimezoneInfo; /* 'TZI' */ - ULONG Index; -} TIMEZONE_ENTRY, *PTIMEZONE_ENTRY; - -typedef struct _SETUPDATA -{ - HFONT hTitleFont; - - WCHAR OwnerName[51]; - WCHAR OwnerOrganization[51]; - WCHAR ComputerName[MAX_COMPUTERNAME_LENGTH + 1]; /* max. 15 characters */ - WCHAR AdminPassword[128]; /* max. 127 characters */ - BOOL UnattendSetup; - BOOL DisableVmwInst; - BOOL DisableGeckoInst; - - SYSTEMTIME SystemTime; - PTIMEZONE_ENTRY TimeZoneListHead; - PTIMEZONE_ENTRY TimeZoneListTail; - DWORD TimeZoneIndex; - DWORD DisableAutoDaylightTimeSet; - LCID LocaleID; - - HINF hUnattendedInf; -} SETUPDATA, *PSETUPDATA; - typedef struct _ADMIN_INFO { LPWSTR Name; diff --git a/reactos/dll/win32/syssetup/wizard.c b/reactos/dll/win32/syssetup/wizard.c index 89dee4ce26d..e7cf4f3d66e 100644 --- a/reactos/dll/win32/syssetup/wizard.c +++ b/reactos/dll/win32/syssetup/wizard.c @@ -122,29 +122,45 @@ CenterWindow(HWND hWnd) static HFONT CreateTitleFont(VOID) { - NONCLIENTMETRICSW ncm; - LOGFONTW LogFont; + LOGFONTW LogFont = {0}; HDC hdc; - INT FontSize; HFONT hFont; - ncm.cbSize = sizeof(NONCLIENTMETRICSW); - SystemParametersInfo(SPI_GETNONCLIENTMETRICS, 0, &ncm, 0); - - LogFont = ncm.lfMessageFont; - LogFont.lfWeight = FW_BOLD; + LogFont.lfWeight = FW_HEAVY; wcscpy(LogFont.lfFaceName, L"MS Shell Dlg"); hdc = GetDC(NULL); - FontSize = 12; - LogFont.lfHeight = 0 - GetDeviceCaps(hdc, LOGPIXELSY) * FontSize / 72; + LogFont.lfHeight = -MulDiv(12, GetDeviceCaps(hdc, LOGPIXELSY), 72); + hFont = CreateFontIndirectW(&LogFont); + ReleaseDC(NULL, hdc); return hFont; } +static HFONT +CreateBoldFont(VOID) +{ + LOGFONTW tmpFont = {0}; + HFONT hBoldFont; + HDC hDc; + + /* Grabs the Drawing Context */ + hDc = GetDC(NULL); + + tmpFont.lfHeight = -MulDiv(8, GetDeviceCaps(hDc, LOGPIXELSY), 72); + tmpFont.lfWeight = FW_HEAVY; + wcscpy(tmpFont.lfFaceName, L"MS Shell Dlg"); + + hBoldFont = CreateFontIndirectW(&tmpFont); + + ReleaseDC(NULL, hDc); + + return hBoldFont; +} + static INT_PTR CALLBACK GplDlgProc(HWND hwndDlg, UINT uMsg, @@ -1585,7 +1601,7 @@ DateTimePageDlgProc(HWND hwndDlg, PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK | PSWIZB_NEXT); if (SetupData->UnattendSetup && WriteDateTimeSettings(hwndDlg, SetupData)) { - SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, IDD_PROCESSPAGE); + SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, SetupData->uFirstNetworkWizardPage); return TRUE; } break; @@ -2365,17 +2381,21 @@ ProcessUnattendSetup( } } +typedef DWORD(WINAPI *PFNREQUESTWIZARDPAGES)(PDWORD, HPROPSHEETPAGE *, PSETUPDATA); VOID InstallWizard(VOID) { PROPSHEETHEADER psh; - HPROPSHEETPAGE ahpsp[8]; + HPROPSHEETPAGE *phpage = NULL; PROPSHEETPAGE psp = {0}; UINT nPages = 0; HWND hWnd; MSG msg; PSETUPDATA pSetupData = NULL; + HMODULE hNetShell = NULL; + PFNREQUESTWIZARDPAGES pfn = NULL; + DWORD dwPageCount = 8, dwNetworkPageCount = 0; LogItem(L"BEGIN_SECTION", L"InstallWizard"); @@ -2390,7 +2410,36 @@ InstallWizard(VOID) L"Setup failed to allocate global data!", L"ReactOS Setup", MB_ICONERROR | MB_OK); - return; + goto done; + } + + hNetShell = LoadLibraryW(L"netshell.dll"); + if (hNetShell != NULL) + { + DPRINT("Netshell.dll loaded!\n"); + + pfn = (PFNREQUESTWIZARDPAGES)GetProcAddress(hNetShell, + "NetSetupRequestWizardPages"); + if (pfn != NULL) + { + pfn(&dwNetworkPageCount, NULL, NULL); + dwPageCount += dwNetworkPageCount; + } + } + + DPRINT("PageCount: %lu\n", dwPageCount); + + phpage = HeapAlloc(GetProcessHeap(), + HEAP_ZERO_MEMORY, + dwPageCount * sizeof(HPROPSHEETPAGE)); + if (phpage == NULL) + { + LogItem(NULL, L"Page array allocation failed!"); + MessageBoxW(NULL, + L"Setup failed to allocate page array!", + L"ReactOS Setup", + MB_ICONERROR | MB_OK); + goto done; } pSetupData->hUnattendedInf = INVALID_HANDLE_VALUE; @@ -2403,7 +2452,7 @@ InstallWizard(VOID) psp.lParam = (LPARAM)pSetupData; psp.pfnDlgProc = WelcomeDlgProc; psp.pszTemplate = MAKEINTRESOURCE(IDD_WELCOMEPAGE); - ahpsp[nPages++] = CreatePropertySheetPage(&psp); + phpage[nPages++] = CreatePropertySheetPage(&psp); /* Create the Acknowledgements page */ psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE; @@ -2411,7 +2460,7 @@ InstallWizard(VOID) psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_ACKSUBTITLE); psp.pszTemplate = MAKEINTRESOURCE(IDD_ACKPAGE); psp.pfnDlgProc = AckPageDlgProc; - ahpsp[nPages++] = CreatePropertySheetPage(&psp); + phpage[nPages++] = CreatePropertySheetPage(&psp); /* Create the Locale page */ psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE; @@ -2419,7 +2468,7 @@ InstallWizard(VOID) psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_LOCALESUBTITLE); psp.pfnDlgProc = LocalePageDlgProc; psp.pszTemplate = MAKEINTRESOURCE(IDD_LOCALEPAGE); - ahpsp[nPages++] = CreatePropertySheetPage(&psp); + phpage[nPages++] = CreatePropertySheetPage(&psp); /* Create the Owner page */ @@ -2428,7 +2477,7 @@ InstallWizard(VOID) psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_OWNERSUBTITLE); psp.pszTemplate = MAKEINTRESOURCE(IDD_OWNERPAGE); psp.pfnDlgProc = OwnerPageDlgProc; - ahpsp[nPages++] = CreatePropertySheetPage(&psp); + phpage[nPages++] = CreatePropertySheetPage(&psp); /* Create the Computer page */ psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE; @@ -2436,7 +2485,7 @@ InstallWizard(VOID) psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_COMPUTERSUBTITLE); psp.pfnDlgProc = ComputerPageDlgProc; psp.pszTemplate = MAKEINTRESOURCE(IDD_COMPUTERPAGE); - ahpsp[nPages++] = CreatePropertySheetPage(&psp); + phpage[nPages++] = CreatePropertySheetPage(&psp); /* Create the DateTime page */ @@ -2445,23 +2494,32 @@ InstallWizard(VOID) psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_DATETIMESUBTITLE); psp.pfnDlgProc = DateTimePageDlgProc; psp.pszTemplate = MAKEINTRESOURCE(IDD_DATETIMEPAGE); - ahpsp[nPages++] = CreatePropertySheetPage(&psp); + phpage[nPages++] = CreatePropertySheetPage(&psp); + pSetupData->uFirstNetworkWizardPage = IDD_PROCESSPAGE; + pSetupData->uPostNetworkWizardPage = IDD_PROCESSPAGE; + + if (pfn) + { + pfn(&dwNetworkPageCount, &phpage[nPages], pSetupData); + nPages += dwNetworkPageCount; + } + /* Create the Process page */ psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE; psp.pszHeaderTitle = MAKEINTRESOURCE(IDS_PROCESSTITLE); psp.pszHeaderSubTitle = MAKEINTRESOURCE(IDS_PROCESSSUBTITLE); psp.pfnDlgProc = ProcessPageDlgProc; psp.pszTemplate = MAKEINTRESOURCE(IDD_PROCESSPAGE); - ahpsp[nPages++] = CreatePropertySheetPage(&psp); + phpage[nPages++] = CreatePropertySheetPage(&psp); /* Create the Finish page */ psp.dwFlags = PSP_DEFAULT | PSP_HIDEHEADER; psp.pfnDlgProc = FinishDlgProc; psp.pszTemplate = MAKEINTRESOURCE(IDD_FINISHPAGE); - ahpsp[nPages++] = CreatePropertySheetPage(&psp); + phpage[nPages++] = CreatePropertySheetPage(&psp); /* Create the property sheet */ psh.dwSize = sizeof(PROPSHEETHEADER); @@ -2470,12 +2528,13 @@ InstallWizard(VOID) psh.hwndParent = NULL; psh.nPages = nPages; psh.nStartPage = 0; - psh.phpage = ahpsp; + psh.phpage = phpage; psh.pszbmWatermark = MAKEINTRESOURCE(IDB_WATERMARK); psh.pszbmHeader = MAKEINTRESOURCE(IDB_HEADER); /* Create title font */ pSetupData->hTitleFont = CreateTitleFont(); + pSetupData->hBoldFont = CreateBoldFont(); /* Display the wizard */ hWnd = (HWND)PropertySheet(&psh); @@ -2493,8 +2552,19 @@ InstallWizard(VOID) if (pSetupData->hUnattendedInf != INVALID_HANDLE_VALUE) SetupCloseInfFile(pSetupData->hUnattendedInf); - DeleteObject(pSetupData->hTitleFont); - HeapFree(GetProcessHeap(), 0, pSetupData); +done: + if (phpage != NULL) + HeapFree(GetProcessHeap(), 0, phpage); + + if (hNetShell != NULL) + FreeLibrary(hNetShell); + + if (pSetupData != NULL) + { + DeleteObject(pSetupData->hBoldFont); + DeleteObject(pSetupData->hTitleFont); + HeapFree(GetProcessHeap(), 0, pSetupData); + } LogItem(L"END_SECTION", L"InstallWizard"); } diff --git a/reactos/sdk/include/reactos/libs/syssetup/syssetup.h b/reactos/sdk/include/reactos/libs/syssetup/syssetup.h index 6a7ec56fb37..33845f002f2 100644 --- a/reactos/sdk/include/reactos/libs/syssetup/syssetup.h +++ b/reactos/sdk/include/reactos/libs/syssetup/syssetup.h @@ -23,6 +23,54 @@ #ifndef __SYSSETUP_H_INCLUDED__ #define __SYSSETUP_H_INCLUDED__ + +typedef struct _TZ_INFO +{ + LONG Bias; + LONG StandardBias; + LONG DaylightBias; + SYSTEMTIME StandardDate; + SYSTEMTIME DaylightDate; +} TZ_INFO, *PTZ_INFO; + +typedef struct _TIMEZONE_ENTRY +{ + struct _TIMEZONE_ENTRY *Prev; + struct _TIMEZONE_ENTRY *Next; + WCHAR Description[64]; /* 'Display' */ + WCHAR StandardName[32]; /* 'Std' */ + WCHAR DaylightName[32]; /* 'Dlt' */ + TZ_INFO TimezoneInfo; /* 'TZI' */ + ULONG Index; +} TIMEZONE_ENTRY, *PTIMEZONE_ENTRY; + +typedef struct _SETUPDATA +{ + HFONT hTitleFont; + HFONT hBoldFont; + + WCHAR OwnerName[51]; + WCHAR OwnerOrganization[51]; + WCHAR ComputerName[MAX_COMPUTERNAME_LENGTH + 1]; /* max. 15 characters */ + WCHAR AdminPassword[128]; /* max. 127 characters */ + BOOL UnattendSetup; + BOOL DisableVmwInst; + BOOL DisableGeckoInst; + + SYSTEMTIME SystemTime; + PTIMEZONE_ENTRY TimeZoneListHead; + PTIMEZONE_ENTRY TimeZoneListTail; + DWORD TimeZoneIndex; + DWORD DisableAutoDaylightTimeSet; + LCID LocaleID; + + HINF hUnattendedInf; + + UINT uFirstNetworkWizardPage; + UINT uPostNetworkWizardPage; +} SETUPDATA, *PSETUPDATA; + + /* System setup APIs */ DWORD