https://git.reactos.org/?p=reactos.git;a=commitdiff;h=290221ef5bf486face9c9…
commit 290221ef5bf486face9c992dca757b871c5e9550
Author: Oleg Dubinskiy <oleg.dubinskij30(a)gmail.com>
AuthorDate: Fri Feb 2 16:10:36 2024 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Feb 2 18:10:36 2024 +0300
[SHELL32] Sync HCR_RegGetIconW() function to Wine 9.1 (#6418)
Import the following fixes:
- Use the number of bytes instead of the number of characters in the length
passed to RegQueryValueExW. Calculate this by multiplying the number of
characters on the size of one wide character in bytes, since only length
of characters is passed to the function. This fixes ERROR_MORE_DATA
returned from RegQueryValueExW, because the passed number of bytes was
less than the actual length of the output buffer, since it was calculated
incorrectly, so the function failed even when it received the correct
number of wide characters.
This partially imports Wine commit:
https://github.com/wine-mirror/wine/commit/32584bb521bd9dd14030a663671bea16….
- Limit the number of characters in registry icon index buffer from 7 to 5,
as it done in ANSI version of this function, since registry index number
can contain up to 4 digits + space for the null-terminator.
This fixes problems when loading custom (user-defined) icons from registry,
like icons defined by the current user or for all users, instead of just
default icons from the root classes.
CORE-14758
Co-authored-by: Zhiyi Zhang <zzhang(a)codeweavers.com>
---
dll/win32/shell32/wine/classes.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dll/win32/shell32/wine/classes.c b/dll/win32/shell32/wine/classes.c
index df2099914da..ede060044c4 100644
--- a/dll/win32/shell32/wine/classes.c
+++ b/dll/win32/shell32/wine/classes.c
@@ -239,11 +239,11 @@ BOOL HCR_RegOpenClassIDKey(REFIID riid, HKEY *hkey)
static BOOL HCR_RegGetIconW(HKEY hkey, LPWSTR szDest, LPCWSTR szName, DWORD len, int* picon_idx)
{
- DWORD dwType;
+ DWORD dwType, size = len * sizeof(WCHAR);
WCHAR sTemp[MAX_PATH];
- WCHAR sNum[7];
+ WCHAR sNum[5];
- if (!RegQueryValueExW(hkey, szName, 0, &dwType, (LPBYTE)szDest, &len))
+ if (!RegQueryValueExW(hkey, szName, 0, &dwType, (LPBYTE)szDest, &size))
{
if (dwType == REG_EXPAND_SZ)
{
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=913235952c165c916cfd5…
commit 913235952c165c916cfd5f5e45e6fae8243d0ec2
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Thu Feb 1 10:02:36 2024 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Thu Feb 1 10:08:58 2024 +0100
[ACPI] Return success even if AcpiInterfaceNotificationsRegister is not implemented
Drivers calling this function still won't be notified in case of event,
but they will at least succeed their initialization.
CORE-18309
---
drivers/bus/acpi/interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/acpi/interface.c b/drivers/bus/acpi/interface.c
index eede95d1943..817f56095b1 100644
--- a/drivers/bus/acpi/interface.c
+++ b/drivers/bus/acpi/interface.c
@@ -79,7 +79,7 @@ AcpiInterfaceNotificationsRegister(PDEVICE_OBJECT Context,
{
UNIMPLEMENTED;
- return STATUS_NOT_IMPLEMENTED;
+ return STATUS_SUCCESS;
}
VOID
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=385ac5d4d253d1db4d94a…
commit 385ac5d4d253d1db4d94a933962ef558fe371d72
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Thu Feb 1 09:57:02 2024 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Thu Feb 1 09:57:02 2024 +0100
[DEVMGR] Fix diagnostic message when device is failing with CM_PROB_FAILED_ADD
In this specific case, we don't have more information to show.
This prevents using "FIXME" string as a placeholder for device details.
CORE-18309
---
dll/win32/devmgr/lang/bg-BG.rc | 2 +-
dll/win32/devmgr/lang/cs-CZ.rc | 2 +-
dll/win32/devmgr/lang/de-DE.rc | 2 +-
dll/win32/devmgr/lang/el-GR.rc | 2 +-
dll/win32/devmgr/lang/en-US.rc | 2 +-
dll/win32/devmgr/lang/es-ES.rc | 2 +-
dll/win32/devmgr/lang/et-EE.rc | 2 +-
dll/win32/devmgr/lang/fr-FR.rc | 2 +-
dll/win32/devmgr/lang/he-IL.rc | 2 +-
dll/win32/devmgr/lang/hu-HU.rc | 2 +-
dll/win32/devmgr/lang/id-ID.rc | 2 +-
dll/win32/devmgr/lang/it-IT.rc | 2 +-
dll/win32/devmgr/lang/ja-JP.rc | 2 +-
dll/win32/devmgr/lang/no-NO.rc | 2 +-
dll/win32/devmgr/lang/pl-PL.rc | 2 +-
dll/win32/devmgr/lang/pt-BR.rc | 2 +-
dll/win32/devmgr/lang/pt-PT.rc | 2 +-
dll/win32/devmgr/lang/ro-RO.rc | 2 +-
dll/win32/devmgr/lang/ru-RU.rc | 2 +-
dll/win32/devmgr/lang/sk-SK.rc | 2 +-
dll/win32/devmgr/lang/sq-AL.rc | 2 +-
dll/win32/devmgr/lang/tr-TR.rc | 2 +-
dll/win32/devmgr/lang/uk-UA.rc | 2 +-
dll/win32/devmgr/lang/zh-CN.rc | 2 +-
dll/win32/devmgr/lang/zh-HK.rc | 2 +-
dll/win32/devmgr/lang/zh-TW.rc | 2 +-
dll/win32/devmgr/properties/devprblm.cpp | 5 -----
27 files changed, 26 insertions(+), 31 deletions(-)
diff --git a/dll/win32/devmgr/lang/bg-BG.rc b/dll/win32/devmgr/lang/bg-BG.rc
index c7ec9608599..7fc1b01d60b 100644
--- a/dll/win32/devmgr/lang/bg-BG.rc
+++ b/dll/win32/devmgr/lang/bg-BG.rc
@@ -74,7 +74,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Водачите за това устройство не са сложени."
IDS_DEV_HARDWARE_DISABLED "Устройството е изключено, понеже БИОСът му не му е дал никакви ресурси."
IDS_DEV_CANT_SHARE_IRQ "Това устройство ползва заявка за прекъсване (IRQ), която се ползва от друго устройство и не може да бъде споделена.\nТрябва да смените спорната настройка или да махнете водача за реално време, причиняващ неразбирателството."
- IDS_DEV_FAILED_ADD "Това устройство не работи правилно, понеже %1 не работи правилно."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "РеактОС не може да сложи водачите за устройството, понеже няма достъп до устройството или мрежовото местоположение, което съдържа нужните файлове."
IDS_DEV_TRANSLATION_FAILED "Устройството не отговаря на своя водач (драйвер)."
IDS_DEV_NO_SOFTCONFIG "РеактОС не може да определи настройките на устройството. Вижте документацията на устройството и използвайте подпрозореца ""Ресурси"" за да го настроите."
diff --git a/dll/win32/devmgr/lang/cs-CZ.rc b/dll/win32/devmgr/lang/cs-CZ.rc
index 7ea12cccda2..eac630946e4 100644
--- a/dll/win32/devmgr/lang/cs-CZ.rc
+++ b/dll/win32/devmgr/lang/cs-CZ.rc
@@ -79,7 +79,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Ovladače tohoto zařízení nejsou naintalovány."
IDS_DEV_HARDWARE_DISABLED "Toto zařízení je vypnuto, protože mu BIOS nepřiřadil žádné zdroje."
IDS_DEV_CANT_SHARE_IRQ "Toto zařízení využívá IRQ, které je využíváno jiným zařízením a nemůže být sdíleno.\nJe potřeba změnit konfliktní nastavení nebo odebrat ovladač způsobující konflikt."
- IDS_DEV_FAILED_ADD "Toto zařízení nepracuje správně, protože %1 nepracuje správně."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS nemůže nainstalovat ovladače tohoto zařízení, protože nemá přístup na disk nebo síťové umístění, na kterém se nacházejí instalační soubory."
IDS_DEV_TRANSLATION_FAILED "Toto zařízení neodpovídá svému ovladači."
IDS_DEV_NO_SOFTCONFIG "ReactOS nedokáže určit nastavení tohoto zařízení. Konzultujte manuál, který byl přibalen k zařízení a použijte záložku ""Zdroje"" k vybrání nastavení."
diff --git a/dll/win32/devmgr/lang/de-DE.rc b/dll/win32/devmgr/lang/de-DE.rc
index 79b8da95d40..1e341dcc2a0 100644
--- a/dll/win32/devmgr/lang/de-DE.rc
+++ b/dll/win32/devmgr/lang/de-DE.rc
@@ -76,7 +76,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Die Treiber für dieses Gerät sind nicht installiert."
IDS_DEV_HARDWARE_DISABLED "Dieses Gerät ist deaktiviert, weil das BIOS für dieses Gerät keine Ressourcen zugeteilt hat."
IDS_DEV_CANT_SHARE_IRQ "Dieses Gerät benutzt einen Interrupt (IRQ), der bereits von einem anderen Gerät benutzt wird und nicht geteilt werden kann. Sie müssen die kollidierenden Einstellungen ändern, oder den real-mode Treiber entfernen, der den Konflikt verursacht."
- IDS_DEV_FAILED_ADD "Dieses Gerät arbeitet nicht korrekt, weil %1 nicht korrekt funktioniert."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS kann die Treiber für dieses Gerät nicht installieren, weil auf das (Netz-)Laufwerk, auf dem die Installationsdateien abgelegt sind, nicht zugegriffen werden kann."
IDS_DEV_TRANSLATION_FAILED "Dieses Gerät reagiert nicht auf seinen Treiber."
IDS_DEV_NO_SOFTCONFIG "ReactOS kann die Einstellungen für dieses Gerät nicht feststellen. Lesen Sie die Dokumentation, die mit diesem Gerät kam und benutzen Sie den Reiter ""Ressourcen"" umd die Konfiguration vorzunehmen."
diff --git a/dll/win32/devmgr/lang/el-GR.rc b/dll/win32/devmgr/lang/el-GR.rc
index 99e5d1d9c3a..c6b70a7b3ae 100644
--- a/dll/win32/devmgr/lang/el-GR.rc
+++ b/dll/win32/devmgr/lang/el-GR.rc
@@ -76,7 +76,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "The drivers for this device are not installed."
IDS_DEV_HARDWARE_DISABLED "This device is disabled because the BIOS for the device did not give it any resources."
IDS_DEV_CANT_SHARE_IRQ "This device is using an Interrupt Request (IRQ) resource that is in use by another device and cannot be shared.\nYou must change the conflicting setting or remove the real-mode driver causing the conflict."
- IDS_DEV_FAILED_ADD "This device is not working properly because %1 is not working properly."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS cannot install the drivers for this device because it cannot access the drive or network location that has the setup files on it."
IDS_DEV_TRANSLATION_FAILED "This device isn't responding to its driver."
IDS_DEV_NO_SOFTCONFIG "ReactOS cannot determine the settings for this device. Consult the documentation that came with this device and use the Resource tab to set the configuration."
diff --git a/dll/win32/devmgr/lang/en-US.rc b/dll/win32/devmgr/lang/en-US.rc
index 5d5686bbadc..c2da4b467ce 100644
--- a/dll/win32/devmgr/lang/en-US.rc
+++ b/dll/win32/devmgr/lang/en-US.rc
@@ -74,7 +74,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "The drivers for this device are not installed."
IDS_DEV_HARDWARE_DISABLED "This device is disabled because the BIOS for the device did not give it any resources."
IDS_DEV_CANT_SHARE_IRQ "This device is using an Interrupt Request (IRQ) resource that is in use by another device and cannot be shared.\nYou must change the conflicting setting or remove the real-mode driver causing the conflict."
- IDS_DEV_FAILED_ADD "This device is not working properly because %1 is not working properly."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS cannot install the drivers for this device because it cannot access the drive or network location that has the setup files on it."
IDS_DEV_TRANSLATION_FAILED "This device isn't responding to its driver."
IDS_DEV_NO_SOFTCONFIG "ReactOS cannot determine the settings for this device. Consult the documentation that came with this device and use the Resource tab to set the configuration."
diff --git a/dll/win32/devmgr/lang/es-ES.rc b/dll/win32/devmgr/lang/es-ES.rc
index adace42dd18..41b898b2dbb 100644
--- a/dll/win32/devmgr/lang/es-ES.rc
+++ b/dll/win32/devmgr/lang/es-ES.rc
@@ -83,7 +83,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Los controladores para este dispositivo no están instalados."
IDS_DEV_HARDWARE_DISABLED "Este dispositivo se ha deshabilitado porque la BIOS no ha proporcionado ningún recurso al dispositivo."
IDS_DEV_CANT_SHARE_IRQ "Este dispositivo está utilizando un recurso de petición de interrupción (IRQ) que usa otro dispositivo y no puede compartirlo. Cambie la opción conflictiva o desinstale el controlador en tiempo real que causa el conflicto."
- IDS_DEV_FAILED_ADD "Este dispositivo no está funcionando correctamente porque %1 no funciona."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS no puede instalar los controladores porque no se puede acceder al disco o ubicación en red que contiene los archivos de instalación."
IDS_DEV_TRANSLATION_FAILED "Este dispositivo no está respondiendo a su controlador."
IDS_DEV_NO_SOFTCONFIG "ReactOS no puede determinar las propiedades de este dispositivo. Consulte la documentación proporcionada por el dispositivo y utilice la pestaña de recursos para establecer la configuración correcta."
diff --git a/dll/win32/devmgr/lang/et-EE.rc b/dll/win32/devmgr/lang/et-EE.rc
index 61d47b5c0b4..85cb255a969 100644
--- a/dll/win32/devmgr/lang/et-EE.rc
+++ b/dll/win32/devmgr/lang/et-EE.rc
@@ -81,7 +81,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Draiverid selle seadme jaoks ei ole installitud."
IDS_DEV_HARDWARE_DISABLED "See seade on keelatud, sest BIOS ei andnud sellele ühtegi ressursi."
IDS_DEV_CANT_SHARE_IRQ "See seade kasutab IRQ ressursi, mis on teise seadme poolt kasutuses ja ei saa jagada.\nTe peate muutma konflikteeriva sätte või eemaldama reealajas draiveri mis põhjustab seda konflikti."
- IDS_DEV_FAILED_ADD "See seade ei tööta korralikult, sest %1 ei tööta korralikult."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS ei saa installida draivereid selle seadme jaoks, sest juurdepääs kettale või võrgukohale kus paigalduse failid asuvad puudub."
IDS_DEV_TRANSLATION_FAILED "See seade ei reageeri draiverile."
IDS_DEV_NO_SOFTCONFIG "ReactOS ei saanud määrata seadistada seda seadet. Uuri dokumentatsiooni, mis kaasnes seadmega ja kasuta ressursi vahekaarti selle seadistamiseks."
diff --git a/dll/win32/devmgr/lang/fr-FR.rc b/dll/win32/devmgr/lang/fr-FR.rc
index 183c09623c9..ea9155328e2 100644
--- a/dll/win32/devmgr/lang/fr-FR.rc
+++ b/dll/win32/devmgr/lang/fr-FR.rc
@@ -75,7 +75,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Les pilotes de ce périphérique ne sont pas installés."
IDS_DEV_HARDWARE_DISABLED "Ce périphérique est désactivé car le BIOS ne lui a pas donné de ressources."
IDS_DEV_CANT_SHARE_IRQ "Ce périphérique utilise une Interruption Matérielle (IRQ) qui est utilisée par un autre périphérique et ne peut être partagée.\nVous devez changer les réglages en conflit ou enlever le pilote en mode-réel causant le conflit."
- IDS_DEV_FAILED_ADD "Ce périphérique ne fonctionne pas correctement parce que %1 ne fonctionne pas correctement."
+ IDS_DEV_FAILED_ADD "Ce périphérique ne fonctionne pas correctement parce que ReactOS ne peut pas charger les pilotes requis pour ce périphérique."
IDS_DEV_DISABLED_SERVICE "ReactOS ne peut pas installer les pilotes pour ce périphérique car il ne peut pas accéder au lecteur ou à l'emplacement réseau contenant les fichiers d'installation."
IDS_DEV_TRANSLATION_FAILED "Ce périphérique ne répond pas à son pilote."
IDS_DEV_NO_SOFTCONFIG "ReactOS ne peut pas déterminer les réglages de ce périphérique. Consultez la documentation accompagnant ce périphérique et utilisez la page des Ressources pour modifier la configuration."
diff --git a/dll/win32/devmgr/lang/he-IL.rc b/dll/win32/devmgr/lang/he-IL.rc
index 6d2723856e6..2c43c050c95 100644
--- a/dll/win32/devmgr/lang/he-IL.rc
+++ b/dll/win32/devmgr/lang/he-IL.rc
@@ -76,7 +76,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "מנהלי ההתקנים של התקן זה אינם מותקנים."
IDS_DEV_HARDWARE_DISABLED "This device is disabled because the BIOS for the device did not give it any resources."
IDS_DEV_CANT_SHARE_IRQ "This device is using an Interrupt Request (IRQ) resource that is in use by another device and cannot be shared.\nYou must change the conflicting setting or remove the real-mode driver causing the conflict."
- IDS_DEV_FAILED_ADD "This device is not working properly because %1 is not working properly."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS cannot install the drivers for this device because it cannot access the drive or network location that has the setup files on it."
IDS_DEV_TRANSLATION_FAILED "This device isn't responding to its driver."
IDS_DEV_NO_SOFTCONFIG "ReactOS cannot determine the settings for this device. Consult the documentation that came with this device and use the Resource tab to set the configuration."
diff --git a/dll/win32/devmgr/lang/hu-HU.rc b/dll/win32/devmgr/lang/hu-HU.rc
index 7fc86b5fc73..ca3384c9a56 100644
--- a/dll/win32/devmgr/lang/hu-HU.rc
+++ b/dll/win32/devmgr/lang/hu-HU.rc
@@ -75,7 +75,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Az eszközhöz nincsenek illesztőprogramok telepítve."
IDS_DEV_HARDWARE_DISABLED "Az eszköz le van tiltva, mivel a BIOS-a nem adott neki erőforrást."
IDS_DEV_CANT_SHARE_IRQ "Ez az eszköz egy olyan megszakítást (IRQ) igényel, amit egy másik eszköz használ és nem osztható meg.\nMódosítsa az ütköző beállításokat vagy távolítsa el az ütközést okozó valós módú illesztőprogramot."
- IDS_DEV_FAILED_ADD "Ez az eszköz nem tud megfelelően működni, mivel a(z) %1 sem működik megfelelően."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "A ReactOS nem tudja feltelepíteni az eszköz illesztőprogramjait, mivel a telepítő fájlokat tartalmazó meghajtó vagy hálózati hely nem elérhető."
IDS_DEV_TRANSLATION_FAILED "Ez az eszköz nem válaszol a illesztőprogramjának."
IDS_DEV_NO_SOFTCONFIG "A ReactOS nem tudja meghatározni a beállításokat ehhez az eszközhöz. Olvassa át a hozzá kapott dokumentációt és az erőforrások fülön végezze el a beállításokat."
diff --git a/dll/win32/devmgr/lang/id-ID.rc b/dll/win32/devmgr/lang/id-ID.rc
index 86d44ad468e..6219a40f917 100644
--- a/dll/win32/devmgr/lang/id-ID.rc
+++ b/dll/win32/devmgr/lang/id-ID.rc
@@ -76,7 +76,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Driver untuk perangkat ini tidak dipasang."
IDS_DEV_HARDWARE_DISABLED "Perangkat ini dimatikan karena BIOS untuk perangkat ini tidak memberikan sumber dayanya."
IDS_DEV_CANT_SHARE_IRQ "Perangkat ini menggunakan sumber daya Interrupt Request (IRQ) yang dipakai oleh perangkat lain dan tidak bisa berbagi.\nAnda harus mengubah setelan yang konflik atau menghapus real-mode driver penyebab konflik."
- IDS_DEV_FAILED_ADD "Perangkat ini tidak bekerja dengan benar karena %1 tidak bekerja dengan baik."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS tidak bisa memasang driver untuk perangkat ini karena ia tidak bisa mengakses drive atau lokasi jaringan di mana berkas setelannya berada di dalamnya."
IDS_DEV_TRANSLATION_FAILED "Perangkat ini tidak merespon terhadap driver-nya."
IDS_DEV_NO_SOFTCONFIG "ReactOS tidak bisa memeriksa setelan untuk perangkat ini. Lihat dokumentasi yang terdapat pada perangkat ini dan gunakan tab Sumber Daya untuk menyetel konfigurasi."
diff --git a/dll/win32/devmgr/lang/it-IT.rc b/dll/win32/devmgr/lang/it-IT.rc
index 09b5d6a3b60..0d930cbf99a 100644
--- a/dll/win32/devmgr/lang/it-IT.rc
+++ b/dll/win32/devmgr/lang/it-IT.rc
@@ -76,7 +76,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "I driver non sono installati."
IDS_DEV_HARDWARE_DISABLED "Disabilitato perchè il BIOS del dispositivo non ha assegnato nessuna risorsa."
IDS_DEV_CANT_SHARE_IRQ "Questo dispositivo usa un Interrupt Request (IRQ) che è già in uso e non può essere condiviso.\nDevi cambiare l'impostazione in conflitto o togliere il driver ""real-mode"" che provoca il conflitto."
- IDS_DEV_FAILED_ADD "Non funziona regolarmente a causa di %1 ."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS non può installare i driver del dispositivo perchè non è possibile accedere al disco o alla rete dove si trovano i file di setup."
IDS_DEV_TRANSLATION_FAILED "Il dispositivo non risponde ai suoi driver."
IDS_DEV_NO_SOFTCONFIG "ReactOS non può individuare le impostazioni necessarie. Verificate la documentazione e usate il tab Risorse per impostare la configurazione."
diff --git a/dll/win32/devmgr/lang/ja-JP.rc b/dll/win32/devmgr/lang/ja-JP.rc
index 1fc049d01d4..da0477b9274 100644
--- a/dll/win32/devmgr/lang/ja-JP.rc
+++ b/dll/win32/devmgr/lang/ja-JP.rc
@@ -74,7 +74,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "このデバイスに対するドライバは、インストールされていません。"
IDS_DEV_HARDWARE_DISABLED "このデバイスは、BIOS がリソースを提供しなかったため、無効になっています。"
IDS_DEV_CANT_SHARE_IRQ "このデバイスは、他のデバイスが使用中のIRQ (Interrupt Request) リソースを使っており、共有できません。\nあなたは、競合する設定を変更するか、競合を引き起こしているリアルモード ドライバを除去する必要があります。"
- IDS_DEV_FAILED_ADD "%1 が正しく動作していないため、このデバイスは、正しく動作していません。"
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "セットアップ ファイルがあるドライブかネットワークの場所にアクセスできないため、ReactOS は、このデバイスに対するドライバをインストールできません。"
IDS_DEV_TRANSLATION_FAILED "このデバイスは、このドライバに応答していません。"
IDS_DEV_NO_SOFTCONFIG "ReactOS は、このデバイスに対する設定を決定できません。このデバイスに付属する文書と相談するか、構成をセットするためにリソース タブを使用して下さい。"
diff --git a/dll/win32/devmgr/lang/no-NO.rc b/dll/win32/devmgr/lang/no-NO.rc
index cb027cc7d2d..b1bf6dfac0f 100644
--- a/dll/win32/devmgr/lang/no-NO.rc
+++ b/dll/win32/devmgr/lang/no-NO.rc
@@ -76,7 +76,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Driveren for denne enheten er ikke installert."
IDS_DEV_HARDWARE_DISABLED "Denne enheten er deaktivert fordi BIOS for enheten gir ikke andre ressurser."
IDS_DEV_CANT_SHARE_IRQ "Denne enheten bruker en Interrupt Request (IRQ) ressurs som er i bruk av en annen enhet og kan ikke bli delt.\nDu må endre konflikt innstillingen eller fjerne ekte-modus driver som forårsaker konflikten."
- IDS_DEV_FAILED_ADD "Denne enheten vil ikke fungere som den skal fordi %1 vil ikke fungere som den skal."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS kan ikke installere driveren for denne enheten, fordi den får ikke tilgang til driveren eller nettverks plasseringen som har installering filen."
IDS_DEV_TRANSLATION_FAILED "Denne enheten vil ikke svare på grunn av driveren."
IDS_DEV_NO_SOFTCONFIG "ReactOS kan ikke oppdage innstillingene for denne enheten. Ta hensyn til dokumentasjon som kommer med denne enheten og bruker ressursen tab for å sette konfigurasjonen."
diff --git a/dll/win32/devmgr/lang/pl-PL.rc b/dll/win32/devmgr/lang/pl-PL.rc
index 5f37465a4dc..551077f3365 100644
--- a/dll/win32/devmgr/lang/pl-PL.rc
+++ b/dll/win32/devmgr/lang/pl-PL.rc
@@ -85,7 +85,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Nie zainstalowano sterownika dla tego urządzenia."
IDS_DEV_HARDWARE_DISABLED "Urządzenie jest wyłączone, ponieważ BIOS nie przydzielił żadnych zasobów dla tego urządzenia."
IDS_DEV_CANT_SHARE_IRQ "Urządzenie żąda przerwania (IRQ), którego używa inne urządzenia i którego nie można współdzielić. Musisz zmienić ustawienia lub usunąć sterownik powodujący konflikt."
- IDS_DEV_FAILED_ADD "Urządzenie nie działa prawidłowo, ponieważ %1 również nie działa poprawnie."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS nie mógł zainstalować sterownika dla urządzenia, ponieważ nie mógł uzyskać dostępu do lokacji zawartej w pliku instalacyjnym."
IDS_DEV_TRANSLATION_FAILED "Sterownik nie jest przeznaczony dla tego urządzenia."
IDS_DEV_NO_SOFTCONFIG "ReactOS nie mógł określić ustawień dla tego urządzenia. Poszukaj rozwiązania w dokumentacji urządzenia i użyj ustawień zasobów, aby skonfigurować je ręcznie."
diff --git a/dll/win32/devmgr/lang/pt-BR.rc b/dll/win32/devmgr/lang/pt-BR.rc
index e6ecb1f8f82..9a827214a45 100644
--- a/dll/win32/devmgr/lang/pt-BR.rc
+++ b/dll/win32/devmgr/lang/pt-BR.rc
@@ -76,7 +76,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Os drivers para este dispositivo não estão instalados."
IDS_DEV_HARDWARE_DISABLED "Este dispositivo está desativado porque a BIOS para o dispositivo não lhe deu nenhum recurso."
IDS_DEV_CANT_SHARE_IRQ "Este dispositivo está utilizando um recurso de Requisição de Interrupção (IRQ) que está em uso por outro dispositivo e não pode ser compartilhado.\nVocê pode alterar a configuração conflitante ou remover o driver de modo real que está causando o conflito."
- IDS_DEV_FAILED_ADD "Este dispositivo não está funcionando corretamente porque %1 não está funcionando corretamente."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "O ReactOS não pode instalar os drivers para este dispositivo porque não consegue acessar o drive ou local de rede que possui os arquivos de configuração."
IDS_DEV_TRANSLATION_FAILED "Este dispositivo não está respondendo ao seu driver."
IDS_DEV_NO_SOFTCONFIG "O ReactOS não pode determinar as configurações para este dispositivo. Consulte a documentação que veio com este dispositivo e utilize a guia Recursos para definir a configuração."
diff --git a/dll/win32/devmgr/lang/pt-PT.rc b/dll/win32/devmgr/lang/pt-PT.rc
index d58c67ab136..d1267d2022e 100644
--- a/dll/win32/devmgr/lang/pt-PT.rc
+++ b/dll/win32/devmgr/lang/pt-PT.rc
@@ -76,7 +76,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Os controladores para este dispositivo não estão instalados."
IDS_DEV_HARDWARE_DISABLED "Este dispositivo está desactivado porque a BIOS para o dispositivo não lhe deu nenhum recurso."
IDS_DEV_CANT_SHARE_IRQ "Este dispositivo utiliza um recurso de Requisição de Interrupção (IRQ) que está em uso por outro dispositivo e não pode ser compartilhado.\nDeve alterar a configuração conflitante ou remover o controlador de modo real que está a causar o conflito."
- IDS_DEV_FAILED_ADD "Este dispositivo não está a funcionar correctamente porque %1 não está a funcionar correctamente."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "O ReactOS não pode instalar os controladores para este dispositivo porque não consegue acessar o controlador ou local de rede que possui os ficheiros de configuração."
IDS_DEV_TRANSLATION_FAILED "Este dispositivo não está a responder ao seu controlador."
IDS_DEV_NO_SOFTCONFIG "O ReactOS não pode determinar as configurações para este dispositivo. Consulte a documentação que veio com este dispositivo e utilize o guia de recursos para definir a configuração."
diff --git a/dll/win32/devmgr/lang/ro-RO.rc b/dll/win32/devmgr/lang/ro-RO.rc
index ff646dfe07c..f346fb140a2 100644
--- a/dll/win32/devmgr/lang/ro-RO.rc
+++ b/dll/win32/devmgr/lang/ro-RO.rc
@@ -83,7 +83,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Driverele ale acestui dispozitiv nu sunt instalate."
IDS_DEV_HARDWARE_DISABLED "Acest dispozitiv este dezactivat deoarece BIOS nu i-a alocat resursele necesare."
IDS_DEV_CANT_SHARE_IRQ "Acest dispozitiv necesită o cerere de întrerupere (IRQ) care este folosită deja de alt dispozitiv și care nu poate fi folosită în comun.\nFie modificați configurația dispozitivelor pentru a rezolva problema gestiunii cererilor de întreruperi, fie eliminați Driverul de mod-real care provoacă acest conflict."
- IDS_DEV_FAILED_ADD "Acest dispozitiv nu funcționează corect deoarcere %1 nu funcționează corect."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS nu poate instala driverele pentru acest dispozitiv deoarece locația de stocare a fișierelor necesare pentru instalare nu a putut fi accesată."
IDS_DEV_TRANSLATION_FAILED "Acest dispozitiv nu răspunde la comenzile driverului."
IDS_DEV_NO_SOFTCONFIG "ReactOS nu poate determina setările acestui dispozitiv. Consultați-i documentația din dotare și utilizați compartimentul „Resurse” pentru a-i stabili configurația corectă."
diff --git a/dll/win32/devmgr/lang/ru-RU.rc b/dll/win32/devmgr/lang/ru-RU.rc
index 32a798665fa..0b9feea8c0a 100644
--- a/dll/win32/devmgr/lang/ru-RU.rc
+++ b/dll/win32/devmgr/lang/ru-RU.rc
@@ -76,7 +76,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Драйверы для этого устройства не установлены."
IDS_DEV_HARDWARE_DISABLED "Это устройство отключено, поскольку BIOS устройства не предоставил никаких ресурсов."
IDS_DEV_CANT_SHARE_IRQ "Это устройство использует IRQ-ресурс, который используется другим устройством и не может быть общим.\nВы должны изменить конфликтную настройку или удалить драйвер реального режима, создающий конфликт."
- IDS_DEV_FAILED_ADD "Устройство работает неправильно, поскольку %1 неисправен."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS не может установить драйвера для этого устройства, потому что не может получить доступ к месту расположения установочных файлов."
IDS_DEV_TRANSLATION_FAILED "Это устройство не отвечает своему драйверу."
IDS_DEV_NO_SOFTCONFIG "ReactOS не удалось определить настройки для этого устройства. Ознакомтесь с его документацией и воспользуйтесь вкладкой Ресурсы для настройки."
diff --git a/dll/win32/devmgr/lang/sk-SK.rc b/dll/win32/devmgr/lang/sk-SK.rc
index 74b95fa6590..617fc5c0b26 100644
--- a/dll/win32/devmgr/lang/sk-SK.rc
+++ b/dll/win32/devmgr/lang/sk-SK.rc
@@ -79,7 +79,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "The drivers for this device are not installed."
IDS_DEV_HARDWARE_DISABLED "This device is disabled because the BIOS for the device did not give it any resources."
IDS_DEV_CANT_SHARE_IRQ "This device is using an Interrupt Request (IRQ) resource that is in use by another device and cannot be shared.\nYou must change the conflicting setting or remove the real-mode driver causing the conflict."
- IDS_DEV_FAILED_ADD "This device is not working properly because %1 is not working properly."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS cannot install the drivers for this device because it cannot access the drive or network location that has the setup files on it."
IDS_DEV_TRANSLATION_FAILED "This device isn't responding to its driver."
IDS_DEV_NO_SOFTCONFIG "ReactOS cannot determine the settings for this device. Consult the documentation that came with this device and use the Resource tab to set the configuration."
diff --git a/dll/win32/devmgr/lang/sq-AL.rc b/dll/win32/devmgr/lang/sq-AL.rc
index a92819f36e1..ef2f22b9dfa 100644
--- a/dll/win32/devmgr/lang/sq-AL.rc
+++ b/dll/win32/devmgr/lang/sq-AL.rc
@@ -78,7 +78,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Komanduesit për këtë pajisje nuk janë instaluar."
IDS_DEV_HARDWARE_DISABLED "Kjo pajisje është me aftësi të kufizuara, sepse BIOS për pajisjen nuk jep asnjë burimeve."
IDS_DEV_CANT_SHARE_IRQ "Kjo pajisje po përdorur një kërkesë interrupt (IRQ) e burimeve që është në përdorim nga një tjetër pajisje dhe nuk mund të ndahet.\nJu duhet të ndryshoni vendosjen konfliktuale ose hiqni menyren-reale e komanduesit që shkakton konfliktin."
- IDS_DEV_FAILED_ADD "Kjo pajisje nuk punon si duhet për shkak %1 nuk është duke punuar si duhet."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS nuk mund të instaloni komanduesin për këtë pajisje, sepse ajo nuk mund të hyje ne driverin apo vendin e rrjetit që ka dokumentat e instalimit në të."
IDS_DEV_TRANSLATION_FAILED "Kjo pajisje nuk i përgjigjer komanduesit të saj."
IDS_DEV_NO_SOFTCONFIG "ReactOS nuk mund të përcaktojë parametrat për këtë pajisje. Konsultoni dokumentacionin që erdhi me këtë pajisje dhe të përdorin tabelen e Burimeve për të vendosur konfigurimin."
diff --git a/dll/win32/devmgr/lang/tr-TR.rc b/dll/win32/devmgr/lang/tr-TR.rc
index b3ba51800b9..819c4e26d05 100644
--- a/dll/win32/devmgr/lang/tr-TR.rc
+++ b/dll/win32/devmgr/lang/tr-TR.rc
@@ -76,7 +76,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Bu aygıt için sürücüler kurulu değil."
IDS_DEV_HARDWARE_DISABLED "Bu aygıtın BIOS'u, aygıta kaynak vermediği için bu aygıt devre dışı."
IDS_DEV_CANT_SHARE_IRQ "Bu aygıt, başka bir aygıt tarafından kullanımda olan ve paylaşılamayan bir Kesme İsteği (IRQ) kaynağı kullanıyor.\nÇakışan ayarı değiştirmeli ya da çakışmaya neden olan sürücüyü kaldırmalısınız."
- IDS_DEV_FAILED_ADD "%1 düzgün çalışmadığı için bu aygıt düzgün çalışmıyor."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS, kurulum dosyalarının üzerinde bulunduğu sürücüye ya da ağ konumuna erişemediği için, bu aygıt için sürücüleri kuramıyor."
IDS_DEV_TRANSLATION_FAILED "Bu aygıt, sürücüsüne yanıt vermiyor."
IDS_DEV_NO_SOFTCONFIG "ReactOS, bu aygıt için ayarları belirleyemiyor. Bu aygıtla gelen belgelere bakınız ve yapılandırmayı yapmak için ""Kaynaklar"" sekmesini kullanınız."
diff --git a/dll/win32/devmgr/lang/uk-UA.rc b/dll/win32/devmgr/lang/uk-UA.rc
index c84b01481ff..dd4c1f3f68f 100644
--- a/dll/win32/devmgr/lang/uk-UA.rc
+++ b/dll/win32/devmgr/lang/uk-UA.rc
@@ -82,7 +82,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "Драйвери для цього пристрою не встановлені."
IDS_DEV_HARDWARE_DISABLED "Цей пристрій вимкнено, оскільки BIOS не виділив для пристрою ресурсів."
IDS_DEV_CANT_SHARE_IRQ "Цей пристрій використувує ресурс Запиту Переривань (IRQ), який використовується іншим пристроєм та не може бути спільним.\nВи повинні змінити конфліктуючі налаштування або видалити драйвер реального режиму, що спричинює конфлікт."
- IDS_DEV_FAILED_ADD "Цей пристрій працює неправильно, оскільки %1 працює неправильно."
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS не може встановити драйвери для цього пристрою, оскільки не має доступу до диску чи мережного ресурсу, які містять файли установки."
IDS_DEV_TRANSLATION_FAILED "Цей пристрій не відповідає його драйверу."
IDS_DEV_NO_SOFTCONFIG "ReactOS не може визначити налаштуванн для цього пристрою. Зверніться до документації пристрою, і використовуйте вкладку Ресурси для налаштування конфігурації."
diff --git a/dll/win32/devmgr/lang/zh-CN.rc b/dll/win32/devmgr/lang/zh-CN.rc
index ee8db668545..78578b0c591 100644
--- a/dll/win32/devmgr/lang/zh-CN.rc
+++ b/dll/win32/devmgr/lang/zh-CN.rc
@@ -83,7 +83,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "此设备的驱动程序未安装。"
IDS_DEV_HARDWARE_DISABLED "此设备被禁用,因为该设备的 BIOS 没有给它任何资源。"
IDS_DEV_CANT_SHARE_IRQ "此设备正在使用的另一个设备正在使用,无法共享中断请求(IRQ)资源。\n您必须更改冲突的设置,或删除造成冲突的实模式驱动程序。"
- IDS_DEV_FAILED_ADD "此设备不能正常工作,因为 %1 工作不正常。"
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS 不能安装此设备的驱动程序,因为它不能访问已安装文件的驱动器或网络上的位置。"
IDS_DEV_TRANSLATION_FAILED "此设备对驱动程序没有响应。"
IDS_DEV_NO_SOFTCONFIG "ReactOS 不能确定此设备的设置。请参考此设备附带的文档,使用资源选项卡来设置配置。"
diff --git a/dll/win32/devmgr/lang/zh-HK.rc b/dll/win32/devmgr/lang/zh-HK.rc
index 96bdc5655fa..833da6c7e38 100644
--- a/dll/win32/devmgr/lang/zh-HK.rc
+++ b/dll/win32/devmgr/lang/zh-HK.rc
@@ -82,7 +82,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "這個裝置的驅動程式尚未安裝。"
IDS_DEV_HARDWARE_DISABLED "這個裝置已停用,因為該裝置的 BIOS 沒有給它任何資源。"
IDS_DEV_CANT_SHARE_IRQ "這個裝置正在使用另一個裝置使用中的插斷請求(IRQ)資源。\n您必須更改衝突的設定,或刪除造成衝突的真實模式驅動程式。"
- IDS_DEV_FAILED_ADD "這個裝置未正常工作,因為 %1 工作不正常。"
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS 無法安裝這個裝置的驅動程式,因為它不能訪問已安裝檔案的驅動器或網路上的位置。"
IDS_DEV_TRANSLATION_FAILED "這個裝置沒有對其驅動程式回應。"
IDS_DEV_NO_SOFTCONFIG "ReactOS 無法判定這個裝置的設定值。請參考隨這個裝置附送的檔案,使用資源索引標籤來進行設定。"
diff --git a/dll/win32/devmgr/lang/zh-TW.rc b/dll/win32/devmgr/lang/zh-TW.rc
index 76f1ba1db40..f0565d556e8 100644
--- a/dll/win32/devmgr/lang/zh-TW.rc
+++ b/dll/win32/devmgr/lang/zh-TW.rc
@@ -82,7 +82,7 @@ BEGIN
IDS_DEV_FAILED_INSTALL "這個裝置的驅動程式尚未安裝。"
IDS_DEV_HARDWARE_DISABLED "這個裝置已停用,因為該裝置的 BIOS 沒有給它任何資源。"
IDS_DEV_CANT_SHARE_IRQ "這個裝置正在使用另一個裝置使用中的插斷請求(IRQ)資源。\n您必須更改衝突的設定,或刪除造成衝突的真實模式驅動程式。"
- IDS_DEV_FAILED_ADD "這個裝置未正常工作,因為 %1 工作不正常。"
+ IDS_DEV_FAILED_ADD "This device is not working properly because ReactOS cannot load the drivers required for this device."
IDS_DEV_DISABLED_SERVICE "ReactOS 無法安裝這個裝置的驅動程式,因為它不能訪問已安裝檔案的驅動器或網路上的位置。"
IDS_DEV_TRANSLATION_FAILED "這個裝置沒有對其驅動程式回應。"
IDS_DEV_NO_SOFTCONFIG "ReactOS 無法判定這個裝置的設定值。請參考隨這個裝置附送的檔案,使用資源索引標籤來進行設定。"
diff --git a/dll/win32/devmgr/properties/devprblm.cpp b/dll/win32/devmgr/properties/devprblm.cpp
index b2017003009..55e4a676255 100644
--- a/dll/win32/devmgr/properties/devprblm.cpp
+++ b/dll/win32/devmgr/properties/devprblm.cpp
@@ -573,11 +573,6 @@ DeviceProblemTextW(IN HMACHINE hMachine OPTIONAL,
case CM_PROB_DISABLED:
/* FIXME - if the device was disabled by the system use IDS_DEV_DISABLED2 */
break;
-
- case CM_PROB_FAILED_ADD:
- /* FIXME - get the name of the sub-device with the error */
- AdvFormat = TRUE;
- break;
}
if (AdvFormat)