Skip to content

Commit

Permalink
[TRANSLATION] Shell32 minimal changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
julenuri committed Feb 6, 2024
1 parent 7cde38a commit 546a422
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
20 changes: 20 additions & 0 deletions Non-sticky1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff --git "a/win32ss/user/ntuser/nonclient.c" "b/win32ss/user/ntuser/nonclient.c"
index a3852066b69..c3be76119b3 100644
--- "a/win32ss/user/ntuser/nonclient.c"
+++ "b/win32ss/user/ntuser/nonclient.c"
@@ -394,11 +394,13 @@ DefWndDoSizeMove(PWND pwnd, WORD wParam)
if (msg.message == WM_KEYDOWN && (msg.wParam == VK_RETURN || msg.wParam == VK_ESCAPE))
break; // Exit on Return or Esc

- if (!g_bWindowSnapEnabled && (msg.message == WM_LBUTTONUP))
+ if (!g_bWindowSnapEnabled && (msg.message == WM_LBUTTONUP ||
+ (msg.message == WM_MOUSEMOVE && (msg.wParam & MK_LBUTTON) != MK_LBUTTON)))
{ // If no WindowSnapEnabled: Exit on button-up immediately
break;
}
- else if (g_bWindowSnapEnabled && msg.message == WM_LBUTTONUP)
+ else if (g_bWindowSnapEnabled && (msg.message == WM_LBUTTONUP ||
+ (msg.message == WM_MOUSEMOVE && (msg.wParam & MK_LBUTTON) != MK_LBUTTON)))
{ // If WindowSnapEnabled: Decide whether to snap before exiting
DWORD ExStyleTB, StyleTB;
BOOL IsTaskBar;
6 changes: 3 additions & 3 deletions dll/win32/shell32/lang/es-ES.rc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* PURPOSE: Spanish resource file
* TRANSLATORS: Copyright 2014-2015 Ismael Ferreras Morezuelas <[email protected]>
* Copyright 2018 Julio Carchi Ruiz <[email protected]>
* Copyright 2020 Julen Urizar Compains <[email protected]>
* Copyright 2024 Julen Urizar Compains <[email protected]>
*/

LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
Expand Down Expand Up @@ -898,7 +898,7 @@ BEGIN
IDS_NETWORKPLACE "Mis sitios de red"

IDS_NEWFOLDER "Nueva carpeta"
IDS_NEWITEMFORMAT "New %s"
IDS_NEWITEMFORMAT "Nuevo %s"

IDS_DRIVE_FIXED "Disco local"
IDS_DRIVE_CDROM "Unidad de CD"
Expand All @@ -915,7 +915,7 @@ BEGIN

IDS_SHELL_ABOUT_AUTHORS "&Autores"
IDS_SHELL_ABOUT_BACK "< A&trás"
FCIDM_SHVIEW_NEW "Ne&w" /* A menu item with an ampersand */
FCIDM_SHVIEW_NEW "N&uevo" /* A menu item with an ampersand */
FCIDM_SHVIEW_NEWFOLDER "Nueva &carpeta"
FCIDM_SHVIEW_NEWLINK "Nuevo &acceso directo"
IDS_FOLDER_OPTIONS "Opciones de carpeta"
Expand Down
16 changes: 16 additions & 0 deletions parcheSimoneIntelGMA.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/ntoskrnl/mm/ARM3/syspte.c b/ntoskrnl/mm/ARM3/syspte.c
index 87b862c265f..059aebd3a8d 100644
--- a/ntoskrnl/mm/ARM3/syspte.c
+++ b/ntoskrnl/mm/ARM3/syspte.c
@@ -247,7 +247,10 @@ MiReserveSystemPtes(IN ULONG NumberOfPtes,
IN MMSYSTEM_PTE_POOL_TYPE SystemPtePoolType)
{
PMMPTE PointerPte;
-
+ if( NumberOfPtes > 32768 )
+ {
+ return NULL;
+ }
//
// Use the extended function
//

0 comments on commit 546a422

Please sign in to comment.