[CONSOLE.CPL] Use translated resource rather than hardcoded text (#4647)

This commit is contained in:
Kyle Katarn
2022-09-03 17:22:14 +02:00
committed by GitHub
parent f07741e631
commit 6b2eeb0a29

View File

@@ -237,10 +237,14 @@ InitApplet(HANDLE hSectionOrWnd)
psh.dwFlags = PSH_PROPSHEETPAGE | PSH_PROPTITLE | /* PSH_USEHICON | */ PSH_USEICONID | PSH_NOAPPLYNOW | PSH_USECALLBACK;
if (ConInfo->ConsoleTitle[0] != UNICODE_NULL)
{
StringCchPrintfW(szTitle, ARRAYSIZE(szTitle), L"\"%s\"", ConInfo->ConsoleTitle);
psh.pszCaption = szTitle;
}
else
StringCchCopyW(szTitle, ARRAYSIZE(szTitle), L"ReactOS Console");
psh.pszCaption = szTitle;
{
psh.pszCaption = MAKEINTRESOURCEW(IDS_CPLNAME);
}
if (pSharedInfo != NULL)
{