mirror of
https://github.com/reactos/reactos.git
synced 2025-06-29 19:51:20 +00:00
[CMD] Prepare for localization by using resource strings (#7125)
Promote localization of cmd.exe. JIRA issue: CORE-19680 Add some resource strings. Use them instead of raw strings.
This commit is contained in:
parent
c02289a08a
commit
18acf79551
28 changed files with 176 additions and 16 deletions
|
@ -171,8 +171,7 @@ INT cmd_call(LPTSTR param)
|
|||
if (!Cmd || (Cmd->Type == C_FOR) || (Cmd->Type == C_IF) ||
|
||||
((Cmd->Type != C_COMMAND) && (Cmd->Type != C_REM)))
|
||||
{
|
||||
// FIXME: Localize
|
||||
ConErrPrintf(_T("%s was unexpected.\n"), first);
|
||||
ConErrResPrintf(STRING_ERROR_UNEXPECTED, first);
|
||||
|
||||
#ifdef MSCMD_CALL_QUIRKS
|
||||
if (first != param)
|
||||
|
@ -198,8 +197,7 @@ INT cmd_call(LPTSTR param)
|
|||
/* A batch context must be present */
|
||||
if (!bc)
|
||||
{
|
||||
// FIXME: Localize
|
||||
ConErrPuts(_T("Invalid attempt to call batch label outside of batch script.\n"));
|
||||
ConErrResPuts(STRING_ERROR_CALL_BAD_LABEL);
|
||||
FreeCommand(Cmd);
|
||||
return (nErrorLevel = 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue