[NEWDEV] Disable NewFolder btn and Show browser title when selecting a directory (#4288)

* [NEWDEV] Add browser title to rc files

* [NEWDEV] Show browser title when selecting a directory

* Update dll/win32/newdev/lang/pl-PL.rc

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>

* Update dll/win32/newdev/lang/bg-BG.rc

Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>

* Update dll/win32/newdev/wizard.c

Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>

* Update dll/win32/newdev/lang/pl-PL.rc

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>

* Update dll/win32/newdev/lang/pt-PT.rc

Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>

* Remove obvious comment

* Add de-DE and ru-RU translations

* Add French translation

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
This commit is contained in:
Jose Carlos Jesus 2022-01-16 16:34:59 +00:00 committed by GitHub
parent 43fa9548d3
commit 5165179ad8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 30 additions and 1 deletions

View file

@ -93,4 +93,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Choose search and install options"
IDS_SEARCHDRV_TITLE "Searching..."
IDS_INSTALLDRV_TITLE "Installing..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -98,4 +98,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Zvolte možnosti vyhledávání a instalace"
IDS_SEARCHDRV_TITLE "Hledání..."
IDS_INSTALLDRV_TITLE "Instalace..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -93,4 +93,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Wählen Sie Such- und Installationsoptionen"
IDS_SEARCHDRV_TITLE "Suche..."
IDS_INSTALLDRV_TITLE "Installiere..."
IDS_BROWSE_FOR_FOLDER_TITLE "Wählen Sie den Ordner aus, der den korrekten Treiber für dieses Gerät enthält."
END

View file

@ -93,4 +93,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Choose search and install options"
IDS_SEARCHDRV_TITLE "Searching..."
IDS_INSTALLDRV_TITLE "Installing..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -93,4 +93,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Choose search and install options"
IDS_SEARCHDRV_TITLE "Searching..."
IDS_INSTALLDRV_TITLE "Installing..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -98,4 +98,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Elija las opciones de buscar e instalar"
IDS_SEARCHDRV_TITLE "Buscando..."
IDS_INSTALLDRV_TITLE "Instalando..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -93,4 +93,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Options de recherche et d'installation"
IDS_SEARCHDRV_TITLE "Recherche..."
IDS_INSTALLDRV_TITLE "Installation..."
IDS_BROWSE_FOR_FOLDER_TITLE "Veuillez sélectionner le dossier contenant les pilotes correspondant à ce matériel."
END

View file

@ -93,4 +93,5 @@ BEGIN
IDS_CHSOURCE_TITLE "בחר בין האפשרויות של חיפוש והתקנה"
IDS_SEARCHDRV_TITLE "מחפש..."
IDS_INSTALLDRV_TITLE "מתקין..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -98,4 +98,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Keresési és telepítési beállítások kiválasztása"
IDS_SEARCHDRV_TITLE "Keresés..."
IDS_INSTALLDRV_TITLE "Telepítés..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -93,4 +93,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Pilih cari dan pilihan pemasangan"
IDS_SEARCHDRV_TITLE "Mencari..."
IDS_INSTALLDRV_TITLE "Memasang..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -95,4 +95,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Opzioni Scegli, cerca e installa"
IDS_SEARCHDRV_TITLE "Cercando....."
IDS_INSTALLDRV_TITLE "Installando..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -93,4 +93,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Choose search and install options"
IDS_SEARCHDRV_TITLE "Searching..."
IDS_INSTALLDRV_TITLE "Installing..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -100,4 +100,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Choose search and install options"
IDS_SEARCHDRV_TITLE "Searching..."
IDS_INSTALLDRV_TITLE "Installing..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -95,4 +95,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Choose search and install options"
IDS_SEARCHDRV_TITLE "Searching..."
IDS_INSTALLDRV_TITLE "Installing..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -101,4 +101,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Wybierz opcje wyszukiwania i instalacji"
IDS_SEARCHDRV_TITLE "Szukanie..."
IDS_INSTALLDRV_TITLE "Instalowanie..."
IDS_BROWSE_FOR_FOLDER_TITLE "Wybierz folder zawierający odpowiednie sterowniki dla tego sprzętu."
END

View file

@ -98,4 +98,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Escolha as opções de pesquisa e instalação"
IDS_SEARCHDRV_TITLE "A procurar..."
IDS_INSTALLDRV_TITLE "A instalar..."
IDS_BROWSE_FOR_FOLDER_TITLE "Seleccione a pasta que contém controladores adequados para este hardware."
END

View file

@ -102,4 +102,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Alegere opțiuni de căutare și instalare"
IDS_SEARCHDRV_TITLE "Căutare…"
IDS_INSTALLDRV_TITLE "Instalare…"
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -93,4 +93,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Выберите настройки поиска и установки"
IDS_SEARCHDRV_TITLE "Поиск..."
IDS_INSTALLDRV_TITLE "Установка..."
IDS_BROWSE_FOR_FOLDER_TITLE "Выберите папку, содержащую подходящие драйверы для этого оборудования."
END

View file

@ -98,4 +98,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Choose search and install options"
IDS_SEARCHDRV_TITLE "Searching..."
IDS_INSTALLDRV_TITLE "Installing..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -97,4 +97,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Choose search and install options"
IDS_SEARCHDRV_TITLE "Searching..."
IDS_INSTALLDRV_TITLE "Installing..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -95,4 +95,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Choose search and install options"
IDS_SEARCHDRV_TITLE "Searching..."
IDS_INSTALLDRV_TITLE "Installing..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -95,4 +95,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Sürücü Arama ve Kurma Seçeneklerini Seç"
IDS_SEARCHDRV_TITLE "Arıyor..."
IDS_INSTALLDRV_TITLE "Kuruyor..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -101,4 +101,5 @@ BEGIN
IDS_CHSOURCE_TITLE "Виберіть налаштування пошуку"
IDS_SEARCHDRV_TITLE "Пошук драйверів..."
IDS_INSTALLDRV_TITLE "Встановлення драйверу..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -96,4 +96,5 @@ BEGIN
IDS_CHSOURCE_TITLE "选择搜索和安装选项"
IDS_SEARCHDRV_TITLE "正在搜索..."
IDS_INSTALLDRV_TITLE "正在安装..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -101,4 +101,5 @@ BEGIN
IDS_CHSOURCE_TITLE "選擇搜尋和安裝選項"
IDS_SEARCHDRV_TITLE "正在搜尋..."
IDS_INSTALLDRV_TITLE "正在安裝..."
IDS_BROWSE_FOR_FOLDER_TITLE "Select the folder containing proper drivers for this hardware."
END

View file

@ -34,3 +34,4 @@
#define IDS_CHSOURCE_TITLE 1002
#define IDS_SEARCHDRV_TITLE 1003
#define IDS_INSTALLDRV_TITLE 1004
#define IDS_BROWSE_FOR_FOLDER_TITLE 1005

View file

@ -641,9 +641,12 @@ CHSourceDlgProc(
{
BROWSEINFO bi = { 0 };
LPITEMIDLIST pidl;
WCHAR Title[MAX_PATH];
LoadStringW(hDllInstance, IDS_BROWSE_FOR_FOLDER_TITLE, Title, _countof(Title));
bi.hwndOwner = hwndDlg;
bi.ulFlags = BIF_USENEWUI | BIF_RETURNONLYFSDIRS;
bi.ulFlags = BIF_USENEWUI | BIF_RETURNONLYFSDIRS | BIF_STATUSTEXT | BIF_NONEWFOLDERBUTTON;
bi.lpszTitle = Title;
pidl = SHBrowseForFolder(&bi);
if (pidl)
{