https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6a3af90d708e6516ee489…
commit 6a3af90d708e6516ee48963206eb83a6c808778c
Author: Jose Carlos Jesus <zecarlos1957(a)hotmail.com>
AuthorDate: Thu Dec 2 18:57:31 2021 +0000
Commit: GitHub <noreply(a)github.com>
CommitDate: Thu Dec 2 19:57:31 2021 +0100
[USETUP] Improve pt-Pt Translation (#4130)
* Remove duplicate word
* Improve pt-PT translation
* Fix typos
---
base/setup/usetup/lang/pt-PT.h | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/base/setup/usetup/lang/pt-PT.h b/base/setup/usetup/lang/pt-PT.h
index 690e5cc3362..ab895a038de 100644
--- a/base/setup/usetup/lang/pt-PT.h
+++ b/base/setup/usetup/lang/pt-PT.h
@@ -734,7 +734,7 @@ static MUI_ENTRY ptPTFlushPageEntries[] =
{
10,
6,
- "O sistema est\240 a certificar que todos os dados est\306 a ser",
+ "O sistema est\240 a certificar que todos os dados est\306o a ser",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
@@ -949,7 +949,7 @@ static MUI_ENTRY ptPTBootPageEntries[] =
{
6,
8,
- "O instalador n\306o pode instalar o ger\210nciador de inicializa\207\306o no disco",
+ "O instalador n\306o pode instalar o gestor de inicializa\207\306o no disco",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
@@ -1009,7 +1009,7 @@ static MUI_ENTRY ptPTSelectPartitionEntries[] =
{
6,
8,
- "n\306o-particionados neste computador.",
+ "n\306o particionados neste computador.",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
@@ -1493,35 +1493,35 @@ static MUI_ENTRY ptPTBootLoaderEntries[] =
{
6,
8,
- "O instalador ir\240 configurar o ger\210nciador de inicializa\207\306o",
+ "O instalador ir\240 configurar o gestor de inicializa\207\306o",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
12,
- "Instalar o ger\210nciador de inicializa\207\306o no disco r\241gido (MBR e VBR)",
+ "Instalar o gestor de inicializa\207\306o no disco r\241gido (MBR e VBR)",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
13,
- "Instalar o ger\210nciador de inicializa\207\306o no disco r\241gido (apenas VBR)",
+ "Instalar o gestor de inicializa\207\306o no disco r\241gido (apenas VBR)",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
14,
- "Instalar o ger\210nciador de inicializa\207\306o numa disquete",
+ "Instalar o gestor de inicializa\207\306o numa disquete",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
{
8,
15,
- "Saltar a instala\207\306o do ger\210nciador de inicializa\207\306o",
+ "Saltar a instala\207\306o do gestor de inicializa\207\306o",
TEXT_STYLE_NORMAL,
TEXT_ID_STATIC
},
@@ -1753,7 +1753,7 @@ static MUI_ENTRY ptPTSelectFSEntries[] =
{
6,
18,
- "sistema de arquivos de arquivos desejado e pressione ENTER.",
+ "sistema de arquivos desejado e pressione ENTER.",
0
},
{
@@ -2306,7 +2306,7 @@ MUI_STRING ptPTStrings[] =
{STRING_REBOOTPROGRESSBAR,
" O computador ir\240 reiniciar em %li segundo(s)... "},
{STRING_CONSOLEFAIL1,
- "N\306o foi poss\241vel abrir o console\r\n\r\n"},
+ "N\306o foi poss\241vel abrir a consola\r\n\r\n"},
{STRING_CONSOLEFAIL2,
"A causa mais com\243m \202 a utiliza\207\306o de um teclado USB\r\n"},
{STRING_CONSOLEFAIL3,
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c05a45e17eda057d8b92b…
commit c05a45e17eda057d8b92ba76feecf3532d8324c1
Author: Oleg Dubinskiy <oleg.dubinskij2013(a)yandex.ua>
AuthorDate: Wed Dec 1 15:28:45 2021 +0000
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Dec 1 18:28:45 2021 +0300
[WIN32K:ENG] Pass correct display name to EngpFindGraphicsDevice (#4128)
It actually should look like '\\.\DISPLAY<n>' (since it comes from user mode),
which the function expects, and not '\\Device\\Video<n>', like done in the
kernel mode. Otherwise, passing wrong name causes a mismatch.
Fix the problem with video device access (failure with status 0xc0000022 when
trying to open it). Hence, it also fixes the following debug log spam:
'err: Could not open device \Device\Video0, 0xc0000022'.
Addendum to 77e891b8. CORE-17719 CORE-17786
---
win32ss/gdi/eng/device.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/win32ss/gdi/eng/device.c b/win32ss/gdi/eng/device.c
index 12fbcd0359b..2777143bf9f 100644
--- a/win32ss/gdi/eng/device.c
+++ b/win32ss/gdi/eng/device.c
@@ -36,7 +36,7 @@ NTSTATUS
EngpUpdateGraphicsDeviceList(VOID)
{
ULONG iDevNum, iVGACompatible = -1, ulMaxObjectNumber = 0;
- WCHAR awcDeviceName[20];
+ WCHAR awcDeviceName[20], awcWinDeviceName[20];
UNICODE_STRING ustrDeviceName;
WCHAR awcBuffer[256];
NTSTATUS Status;
@@ -74,7 +74,10 @@ EngpUpdateGraphicsDeviceList(VOID)
{
/* Create the adapter's key name */
swprintf(awcDeviceName, L"\\Device\\Video%lu", iDevNum);
- RtlInitUnicodeString(&ustrDeviceName, awcDeviceName);
+
+ /* Create the display device name */
+ swprintf(awcWinDeviceName, L"\\\\.\\DISPLAY%lu", iDevNum + 1);
+ RtlInitUnicodeString(&ustrDeviceName, awcWinDeviceName);
/* Check if the device exists already */
pGraphicsDevice = EngpFindGraphicsDevice(&ustrDeviceName, iDevNum, 0);