mirror of
https://github.com/reactos/reactos.git
synced 2026-06-05 19:43:39 +08:00
[CONSOLE.CPL] Use translated resource rather than hardcoded text (#4647)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user