Use the Apply Status command to change the translation status of segments within a TTK file.

Syntax

Catalyst /ApplyStatus TTKName:FName Filter:Status/Property Apply:Status/Property [/IncludeLocks] [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /ApplyStatus FileListFile:Filename.txt [RelativeTo:DirName] Filter:Status/Property Apply:Status/Property [/IncludeLocks] [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /ApplyStatus FromFolder:FolderName [/S] Filter:Status/Property Apply:Status/Property [/IncludeLocks] [ezLogFile:ezLogFile] [/write] [/open]

Parameters

/ApplyStatus

Change translation status of segments

TTKName:FName

Parameter used to specify the name of a TTK file.

FileListFile:Filename.txt

Text file containing a list of Project Files that are to be processed. Each Project file is specified on a single line.

RelativeTo:

This tag is used in conjunction with the FileListFile: tag and is used to truncate directory names with your Project TTK file relative to a declared root directory.

FromFolder:FolderName

Tag used to specify the path to a folder from which all files are to processed from.

/S

Recurse all sub-folders.

Filter:Status/Property

Set the filter to indicate which segments with a specified status or property should be modified.

Segment Status:

  • ForReview

  • Signedoff

  • Leveraged

  • Fuzzy

  • MachineTranslated

  • Untranslated

Segment Properties:

  • Flagged

  • Unflagged

  • Locked

  • Unlocked

Apply:Status/Property

Based on the filter already applied, modify the segment status or properties accordingly.

Segment Status:

  • ForReview

  • Signedoff

  • Leveraged

  • Fuzzy

  • MachineTranslated

  • Untranslated

Segment Properties:

  • Flagged

  • Unflagged

  • Locked

  • Unlocked

IncludeLocks

If IncludeLocks is used, segments with locks are changed.
If the switch is not used locked segments are skipped.

If your filter is /Locked, you don't need to use /Includelocks.

ezLogFile:ezLogFile

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

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 /ApplyStatus TTKName:"MyProject.ttk" Filter:MachineTranslated Apply:Leveraged /IncludeLocks

Catalyst.exe /ApplyStatus TTKName:"MyProject.ttk" Filter:Leveraged Apply:Flagged /IncludeLocks

Catalyst.exe /ApplyStatus TTKName:"MyProject.ttk" Filter:Fuzzy Apply:Untranslated /IncludeLocks

Catalyst.exe /ApplyStatus TTKName:"MyProject.ttk" Filter:Leveraged Apply:Unlocked

Catalyst.exe /ApplyStatus TTKName:"MyProject.ttk" Filter:locked Apply:Unflagged

Catalyst.exe /ApplyStatus FromFolder:"C:\Project TMs" /S Filter:Fuzzy Apply:Untranslated