This commit is contained in:
love-code-yeyixiao 2024-05-17 21:35:03 +08:00
parent 606be1b617
commit e374df5028
2 changed files with 5 additions and 5 deletions

View File

@ -1895,7 +1895,7 @@ int __stdcall WinMainCRTStartup(
if (SbieApi_QueryConfBool(BoxName, L"AlertBeforeStart", FALSE)) {
WCHAR tips;
wprintf(SbieDll_FormatMessage0(8107), BoxName);
wprintf(SbieDll_FormatMessage0(3198), BoxName);
if (MessageBox(NULL, tips, BoxName L" Start", MB_YESNO) == IDNO)
die(10000);
else {
@ -1905,7 +1905,7 @@ int __stdcall WinMainCRTStartup(
WCHAR dir[1020] = L"";
SbieApi_GetHomePath(NULL, 0, dir, 1020);
if (wcsstr(buf, dir) == NULL)
if (MessageBox(NULL, SbieDll_FormatMessage0(8108), L"Warn", MB_YESNO) == IDNO)
if (MessageBox(NULL, SbieDll_FormatMessage0(3199), L"Warn", MB_YESNO) == IDNO)
die(10000);
}
}

View File

@ -4236,12 +4236,12 @@ The following programs must be closed before the installation can continue.
Click OK to close these programs and continue. Click Cancel to abort the installation.
.
8107;txt;01
3198;txt;01
Do you want to start a new program into the sandbox %s?
You received this message because you set AlertBeforeStart=y.
.
8108;txt;01
3199;txt;01
This startup request does not appear to be invoked by the SANDBOXIE component. Are you sure you want to run it? If this is your action, you can ignore it and choose yes.
.
.