This automatic task removes or adds spaces at the segment's extremities in the translations. The Expert assesses if spaces need to be added or removed by comparing and matching the translation with the Original segment.

Syntax

Catalyst /FixLeadTrailSpaces UserName TTKName:FName  [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /FixLeadTrailSpaces UserName  FromFolder:FolderName  [ezLogFile:ezLogFile] [/write] [/open]

 

Parameters

/FixLeadTrailSpaces

Fix Lead and Trail spaces

UserName

The name that will appear in the history list in the TTK.

TTKName:FName

Parameter used to specify the name of a TTK file.

FromFolder:Foldername

Tag used to specify the path to a folder in which all TTK projects are to get fixed.

/S

Recurse all sub-folders.

ezLogFile:ezLogFile

The user can optionally specify a log file to which results of each Catalyst ezScript command are output.

All fixed segments are listed in this log file for reference.

If the log file is not specified by the user or is invalid, the default log file (ezScriptBatchLog.txt in the Public location) is used.

/write

The command line which has been processed by Catalyst will be written into the ezScript batch log file.

This will help to debug your command if something is not behaving as expected.

/open

Launches MS Notepad and displays the content of ezScript batch log when the command finishes.

Examples

Catalyst.exe /FixLeadTrailSpaces JohnD TTKName:"C:\Test_FixLeadTrailSpaces\MyProject.ttk" ezLogFile:"C:\Test_FixLeadTrailSpaces\Batchlog.txt" /open

Catalyst.exe /FixLeadTrailSpaces JohnD FromFolder:"C:\Test_FixLeadTrailSpaces\ttks\" /S