mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
fix a small bug in set and added missing german translations
svn path=/trunk/; revision=28821
This commit is contained in:
parent
3b51bcc560
commit
a478151d4c
2 changed files with 12 additions and 0 deletions
|
@ -643,4 +643,9 @@ STRING_FOR_ERROR, "ung
|
||||||
STRING_SCREEN_COL, "ungültige Spalten-Angabe"
|
STRING_SCREEN_COL, "ungültige Spalten-Angabe"
|
||||||
STRING_SCREEN_ROW, "ungültige Zeilen-Angabe"
|
STRING_SCREEN_ROW, "ungültige Zeilen-Angabe"
|
||||||
STRING_TIMER_TIME "Timer %d ist %s: "
|
STRING_TIMER_TIME "Timer %d ist %s: "
|
||||||
|
|
||||||
|
STRING_INVALID_OPERAND, "Ungültiger Operand."
|
||||||
|
STRING_EXPECTED_CLOSE_PAREN, "Erwartet ')'."
|
||||||
|
STRING_EXPECTED_NUMBER_OR_VARIABLE,"Erwartet Nummer oder Variablennamen."
|
||||||
|
STRING_SYNTAX_COMMAND_INCORRECT, "Syntaxfehler."
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,6 +112,13 @@ INT cmd_set (LPTSTR cmd, LPTSTR param)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( !_tcsnicmp (param, _T("/"), 1) )
|
||||||
|
{
|
||||||
|
LoadString(CMD_ModuleHandle, STRING_SYNTAX_COMMAND_INCORRECT, szMsg, RC_STRING_MAX_SIZE);
|
||||||
|
ConErrPrintf (szMsg, param);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
p = _tcschr (param, _T('='));
|
p = _tcschr (param, _T('='));
|
||||||
if (p)
|
if (p)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue