Commit d06e3e50 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Fix for garbled translation

One too many %s's in the code, one too few in the messages file. This resulted in diagnostics messages (eg. at the bottom of *ListFS) to show a %s that hadn't got substituted.

Version 2.53. Tagged as 'LanManFS-2_53'
parent f1009949
......@@ -34,8 +34,8 @@ D01:EnumShares call on %s
D02:Can't find master browser or DC for %s
D03:EnumServers could not log on to %s
D04:EnumShares call on %s
D05:LogonUser connect to DC failed, user name
D06:NetGetUserInfo call failed, user name
D05:LogonUser connect to DC failed, user name %s
D06:NetGetUserInfo call failed, user name %s
NameL:----Longest-----
NameO:OmniClient
NameH:Machine name
......
/* (2.52)
/* (2.53)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 2.52
#define Module_MajorVersion_CMHG 2.53
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 09 Aug 2015
#define Module_Date_CMHG 17 Mar 2016
#define Module_MajorVersion "2.52"
#define Module_Version 252
#define Module_MajorVersion "2.53"
#define Module_Version 253
#define Module_MinorVersion ""
#define Module_Date "09 Aug 2015"
#define Module_Date "17 Mar 2016"
#define Module_ApplicationDate "09-Aug-15"
#define Module_ApplicationDate "17-Mar-16"
#define Module_ComponentName "LanManFS"
#define Module_ComponentPath "castle/RiscOS/Sources/Networking/Omni/Protocols/LanManFS"
#define Module_FullVersion "2.52"
#define Module_HelpVersion "2.52 (09 Aug 2015)"
#define Module_LibraryVersionInfo "2:52"
#define Module_FullVersion "2.53"
#define Module_HelpVersion "2.53 (17 Mar 2016)"
#define Module_LibraryVersionInfo "2:53"
......@@ -71,9 +71,9 @@ static err_t debug_err ( err_t res, debug_errs_t token, char *name )
{
sprintf(text, "D%02u", token);
strcpy(text, MsgLookup(text));
strcat(text, ": %s"); /* Append the error */
RPC_ErrorCount++;
sprintf( RPC_DebugMsg, "%s %s: %s",
text, name, MsgError(res)->errmess );
sprintf( RPC_DebugMsg, text, name, MsgError(res)->errmess );
}
return res;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment