Remove the two last langues string it was doublecate

small change to STRING_PATH_ERROR1 in En.rc and Fr.rc
thanks Usurp for notice it



svn path=/trunk/; revision=15083
This commit is contained in:
Magnus Olsen 2005-05-07 15:58:58 +00:00
parent 881487dc6c
commit 534059e50f
7 changed files with 9 additions and 11 deletions

View file

@ -534,8 +534,6 @@ STRING_GOTO_ERROR2, "Label '%s' not found\n"
STRING_MOVE_ERROR1, "[OK]\n"
STRING_MOVE_ERROR2, "[Error]\n"
STRING_PATH_ERROR, "CMD: Not in environment 'PATH'\n"
STRING_REN_ERROR1, "MoveFile() failed. Error: %lu\n"
STRING_START_ERROR1, "No batch support at the moment!"
@ -561,6 +559,5 @@ STRING_ERROR_CANNOTPIPE, "Error! Cannot pipe! Cannot open temporary
STRING_ERROR_D_PAUSEMSG, "Press any key to continue . . ."
STRING_ERROR_DRIVER_NOT_READY, "Drive not ready"
STRING_ERROR_WRONG_DATE, "Invalid date."
STRING_SET_ERROR "CMD: Not in environment '%s'\n"
STRING_PATH_ERROR, "CMD: Not in environment '%s'\n"
}

View file

@ -545,7 +545,7 @@ STRING_GOTO_ERROR2, "Label '%s' non trouv
STRING_MOVE_ERROR1, "[OK]\n"
STRING_MOVE_ERROR2, "[Erreur]\n"
STRING_PATH_ERROR, "CMD: Pas dans l'environnement 'PATH'\n"
STRING_PATH_ERROR, "CMD: Pas dans l'environnement '%s'\n"
STRING_REN_ERROR1, "MoveFile() a chou. Erreur: %lu\n"

View file

@ -11,6 +11,7 @@
#include "En.rc"
#include "Fr.rc"
STRINGTABLE DISCARDABLE
{
STRING_FREEDOS_DEV, " Tim Norman Matt Rains\n\

View file

@ -235,7 +235,7 @@ INT cmd_date (LPTSTR cmd, LPTSTR param)
freep (arg);
return 0;
}
ConErrResPuts(STRING_ERROR_WRONG_DATE);
ConErrResPuts(STRING_DATE_ERROR);
}
}

View file

@ -48,12 +48,14 @@ INT cmd_path (LPTSTR cmd, LPTSTR param)
{
DWORD dwBuffer;
LPTSTR pszBuffer;
TCHAR szMsg[RC_STRING_MAX_SIZE];
pszBuffer = (LPTSTR)malloc (ENV_BUFFER_SIZE * sizeof(TCHAR));
dwBuffer = GetEnvironmentVariable (_T("PATH"), pszBuffer, ENV_BUFFER_SIZE);
if (dwBuffer == 0)
{
ConErrResPuts(STRING_PATH_ERROR);
{
LoadString(CMD_ModuleHandle, STRING_VOL_HELP2, szMsg, RC_STRING_MAX_SIZE);
ConOutPrintf(szMsg, _T("PATH"));
return 0;
}
else if (dwBuffer > ENV_BUFFER_SIZE)

View file

@ -14,7 +14,6 @@
#define STRING_ERROR_CANNOTPIPE 110
#define STRING_ERROR_D_PAUSEMSG 111
#define STRING_ERROR_DRIVER_NOT_READY 112
#define STRING_ERROR_WRONG_DATE 113
#define STRING_CHOICE_OPTION 200
#define STRING_COPY_OPTION 201
@ -64,7 +63,6 @@
#define STRING_TIME_ERROR1 348
#define STRING_TYPE_ERROR1 349
#define STRING_WINDOW_ERROR1 350
#define STRING_SET_ERROR 351

View file

@ -104,7 +104,7 @@ INT cmd_set (LPTSTR cmd, LPTSTR param)
dwBuffer = GetEnvironmentVariable (param, pszBuffer, ENV_BUFFER_SIZE);
if (dwBuffer == 0)
{
LoadString(CMD_ModuleHandle, STRING_SET_ERROR, szMsg, RC_STRING_MAX_SIZE);
LoadString(CMD_ModuleHandle, STRING_PATH_ERROR, szMsg, RC_STRING_MAX_SIZE);
ConErrPrintf (szMsg, param);
return 0;
}