Reactos

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

authored by

Kyle Katarn and committed by
GitHub
6b2eeb0a f07741e6

+6 -2
+6 -2
dll/cpl/console/console.c
··· 237 237 psh.dwFlags = PSH_PROPSHEETPAGE | PSH_PROPTITLE | /* PSH_USEHICON | */ PSH_USEICONID | PSH_NOAPPLYNOW | PSH_USECALLBACK; 238 238 239 239 if (ConInfo->ConsoleTitle[0] != UNICODE_NULL) 240 + { 240 241 StringCchPrintfW(szTitle, ARRAYSIZE(szTitle), L"\"%s\"", ConInfo->ConsoleTitle); 242 + psh.pszCaption = szTitle; 243 + } 241 244 else 242 - StringCchCopyW(szTitle, ARRAYSIZE(szTitle), L"ReactOS Console"); 243 - psh.pszCaption = szTitle; 245 + { 246 + psh.pszCaption = MAKEINTRESOURCEW(IDS_CPLNAME); 247 + } 244 248 245 249 if (pSharedInfo != NULL) 246 250 {