From 2bf254d901d43fe04f371b072d0cbf4c041ca363 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sun, 18 Nov 2007 13:33:06 +0000 Subject: [PATCH] Hackfix Download! to get it working under ReactOS svn path=/trunk/; revision=30544 --- rosapps/downloader/download.c | 4 ++-- rosapps/downloader/lang/de-DE.rc | 2 +- rosapps/downloader/lang/en-US.rc | 2 +- rosapps/downloader/lang/es-ES.rc | 2 +- rosapps/downloader/lang/fr-FR.rc | 2 +- rosapps/downloader/lang/id-ID.rc | 2 +- rosapps/downloader/lang/it-IT.rc | 2 +- rosapps/downloader/lang/uk-UA.rc | 2 +- rosapps/downloader/main.c | 6 +++--- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/rosapps/downloader/download.c b/rosapps/downloader/download.c index ae77b49cd0c..a7f3f5b3466 100644 --- a/rosapps/downloader/download.c +++ b/rosapps/downloader/download.c @@ -5,7 +5,7 @@ * COPYRIGHT: Copyright 2001 John R. Sheets (for CodeWeavers) * Copyright 2004 Mike McCormack (for CodeWeavers) * Copyright 2005 Ge van Geldorp (gvg@reactos.org) - * Copyright 2007 Dmitry Chapyshev ()lentind@yandex.ru) + * Copyright 2007 Dmitry Chapyshev (lentind@yandex.ru) */ /* * Based on Wine dlls/shdocvw/shdocvw_main.c @@ -237,7 +237,7 @@ ThreadFunc(LPVOID Context) goto end; } if (RegOpenKey(HKEY_LOCAL_MACHINE, - TEXT("Software\\ReactOS\\Download!"), + TEXT("Software\\ReactOS\\Downloader"), &hKey) != ERROR_SUCCESS) { goto end; diff --git a/rosapps/downloader/lang/de-DE.rc b/rosapps/downloader/lang/de-DE.rc index c6b8bd7b040..afa218a990f 100644 --- a/rosapps/downloader/lang/de-DE.rc +++ b/rosapps/downloader/lang/de-DE.rc @@ -51,7 +51,7 @@ BEGIN IDS_CATS_TITLE "Kategorien" IDS_CHOOSE_FOLDER "Bitte wählen Sie den Ordner..." IDS_NOTCREATE_REGKEY "Registryschlüssel könnte nicht erstellt werden." - IDS_DOWNLOAD_FOLDER "Download!" + IDS_DOWNLOAD_FOLDER "Downloader" IDS_UNABLECREATE_FOLDER "Es konnte kein Ordner mit diesem Namen erstellt werden!" IDS_UPDATE_URL "http://svn.reactos.org" END diff --git a/rosapps/downloader/lang/en-US.rc b/rosapps/downloader/lang/en-US.rc index 2674e973d8e..62f5b207a88 100644 --- a/rosapps/downloader/lang/en-US.rc +++ b/rosapps/downloader/lang/en-US.rc @@ -51,7 +51,7 @@ BEGIN IDS_CATS_TITLE "Categories" IDS_CHOOSE_FOLDER "Please, choose the folder..." IDS_NOTCREATE_REGKEY "Could not create the registry key." - IDS_DOWNLOAD_FOLDER "Download!" + IDS_DOWNLOAD_FOLDER "Downloader" IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!" IDS_UPDATE_URL "http://svn.reactos.org" END diff --git a/rosapps/downloader/lang/es-ES.rc b/rosapps/downloader/lang/es-ES.rc index 99561cb5ce4..bc0b6d2b5f7 100644 --- a/rosapps/downloader/lang/es-ES.rc +++ b/rosapps/downloader/lang/es-ES.rc @@ -51,7 +51,7 @@ BEGIN IDS_CATS_TITLE "Categories" IDS_CHOOSE_FOLDER "Please, choose the folder..." IDS_NOTCREATE_REGKEY "Could not create the registry key." - IDS_DOWNLOAD_FOLDER "Download!" + IDS_DOWNLOAD_FOLDER "Downloader" IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!" IDS_UPDATE_URL "http://svn.reactos.org" END diff --git a/rosapps/downloader/lang/fr-FR.rc b/rosapps/downloader/lang/fr-FR.rc index 79447e7f672..ba20b45db70 100644 --- a/rosapps/downloader/lang/fr-FR.rc +++ b/rosapps/downloader/lang/fr-FR.rc @@ -51,7 +51,7 @@ BEGIN IDS_CATS_TITLE "Catégories" IDS_CHOOSE_FOLDER "Veuillez choisir le répertoire..." IDS_NOTCREATE_REGKEY "Échec lors de la création de la clé registre." - IDS_DOWNLOAD_FOLDER "Download!" + IDS_DOWNLOAD_FOLDER "Downloader" IDS_UNABLECREATE_FOLDER "Échec lors du répertoire avec ce nom !" IDS_UPDATE_URL "http://svn.reactos.org" END diff --git a/rosapps/downloader/lang/id-ID.rc b/rosapps/downloader/lang/id-ID.rc index c0a0d230ecb..cdc1c1d92c7 100644 --- a/rosapps/downloader/lang/id-ID.rc +++ b/rosapps/downloader/lang/id-ID.rc @@ -51,7 +51,7 @@ BEGIN IDS_CATS_TITLE "Categories" IDS_CHOOSE_FOLDER "Please, choose the folder..." IDS_NOTCREATE_REGKEY "Could not create the registry key." - IDS_DOWNLOAD_FOLDER "Download!" + IDS_DOWNLOAD_FOLDER "Downloader" IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!" IDS_UPDATE_URL "http://svn.reactos.org" END diff --git a/rosapps/downloader/lang/it-IT.rc b/rosapps/downloader/lang/it-IT.rc index b7a4a17ddd7..03709954f2a 100644 --- a/rosapps/downloader/lang/it-IT.rc +++ b/rosapps/downloader/lang/it-IT.rc @@ -51,7 +51,7 @@ BEGIN IDS_CATS_TITLE "Categories" IDS_CHOOSE_FOLDER "Please, choose the folder..." IDS_NOTCREATE_REGKEY "Could not create the registry key." - IDS_DOWNLOAD_FOLDER "Download!" + IDS_DOWNLOAD_FOLDER "Downloader" IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!" IDS_UPDATE_URL "http://svn.reactos.org" END diff --git a/rosapps/downloader/lang/uk-UA.rc b/rosapps/downloader/lang/uk-UA.rc index 48c6c026c9f..f58470c24b9 100644 --- a/rosapps/downloader/lang/uk-UA.rc +++ b/rosapps/downloader/lang/uk-UA.rc @@ -59,7 +59,7 @@ BEGIN IDS_CATS_TITLE "Categories" IDS_CHOOSE_FOLDER "Please, choose the folder..." IDS_NOTCREATE_REGKEY "Could not create the registry key." - IDS_DOWNLOAD_FOLDER "Download!" + IDS_DOWNLOAD_FOLDER "Downloader" IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!" IDS_UPDATE_URL "http://svn.reactos.org" END diff --git a/rosapps/downloader/main.c b/rosapps/downloader/main.c index 280ad230792..57fe09dd0e6 100644 --- a/rosapps/downloader/main.c +++ b/rosapps/downloader/main.c @@ -360,7 +360,7 @@ SaveSettings(HWND hwnd) TCHAR szBuf[MAX_PATH]; if (RegOpenKey(HKEY_LOCAL_MACHINE, - TEXT("Software\\ReactOS\\Download!"), + TEXT("Software\\ReactOS\\Downloader"), &hKey) != ERROR_SUCCESS) return FALSE; @@ -415,10 +415,10 @@ InitProfDlg(HWND hwnd) DWORD dwDisp, dwSize; if (RegOpenKey(HKEY_LOCAL_MACHINE, - TEXT("Software\\ReactOS\\Download!"), + TEXT("Software\\ReactOS\\Downloader"), &hKey) != ERROR_SUCCESS) { - if (RegCreateKeyEx(HKEY_LOCAL_MACHINE, L"Software\\ReactOS\\Download!", + if (RegCreateKeyEx(HKEY_LOCAL_MACHINE, L"Software\\ReactOS\\Downloader", 0, NULL, REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, &hKey, &dwDisp)) {