Some Important Information For Localizers Of SFTBM

SmartFTP Backup manager is just a small tool which help users to backup/restore and reset SmartFTP settings. Every localization help is appreciated. You can localize it just as usual. But I'll give you some hints about localizing resource strings, especially this one with embeded format strings.

It concerns string id 137 ("%1!d! %2 in %3!d! %4 were %6 with total size of %5.\n\nArchive:\t%7\nComment:\t%8\n")

This string will be printed like:

40 files in 3 directories were restored with total size of 12.5 KB
Archive:	Backup.cab
Comment:	My backup comment

Format strings will be described in MSDN FormatMessage API function. %1 to %8 are the places holders where other strings and values will be inserted to. I'll describe the meaning of each place holder now:

%1!d!Integer value: Holds the number of files that was affected by the operation
%2String value: if >1 file this will be "files", otherwise it will be "file" (string id 143, 142)
%3!d!Integer value: Holds the number of directories that was affected by the operation
%4String value: If >1 directory this will be "directories", otherwise it will be "directory" (string id 141, 140)
%5String value: Amount of data that was written/restored/deleted (like 1.3 KB)
%6String value: Operation that was performed. Could be "deleted", "backed up" or "restored" (string id 147, 148, 149)
%7String value: Name of the backup data file.
%8String value: Archive comment which was entered by the user.

Format strings could be in any order. Don't remove one nor add one!

Another string is id 150 ("There were errors while %s data."). Please don't remove "%s" here!

This string will be printed like:

There were errors while restoring data.

%s format string will be replaced by either "restoring", "backing up" or "reseting" (string id 136, 138, 139)

Every string and every settings uses Unicode charcter set. If you need the source code, just contact me. It was created with Visual Studio 2003 plain C and was compiled with intel compiler 7.1.

Hosted by uCoz