|
Apply Status |
Use the Apply Status command to change the translation status of segments within a TTK file.
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]
/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.
|
||
Apply:Status/Property |
Based on the filter already applied, modify the segment status or properties accordingly.
|
||
IncludeLocks |
If IncludeLocks is used, segments with locks are changed. 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. |
All segments with MT status are changed to Leveraged status, including locked segments
Catalyst.exe /ApplyStatus TTKName:"MyProject.ttk" Filter:MachineTranslated Apply:Leveraged /IncludeLocks
All segments with a Leveraged status flagged while maintaining the Leveraged status. As /Includelocks is used, locked strings will be flagged.
Catalyst.exe /ApplyStatus TTKName:"MyProject.ttk" Filter:Leveraged Apply:Flagged /IncludeLocks
Finds all Fuzzy segments and reverts them using the Untranslated status. As /Includelocks is used, locked strings will be reverted.
Catalyst.exe /ApplyStatus TTKName:"MyProject.ttk" Filter:Fuzzy Apply:Untranslated /IncludeLocks
Finds all Leveraged segments and unlocks them using the Unlocked status.
Catalyst.exe /ApplyStatus TTKName:"MyProject.ttk" Filter:Leveraged Apply:Unlocked
Finds all Locked segments and unflags them using the Unflagged status.
Catalyst.exe /ApplyStatus TTKName:"MyProject.ttk" Filter:locked Apply:Unflagged
Finds all Fuzzy segments of any TTK file found in the folder Project TMs and all sub-folders and reverts them to the Untranslated status.
Catalyst.exe /ApplyStatus FromFolder:"C:\Project TMs" /S Filter:Fuzzy Apply:Untranslated