|
Export and Leverage Duplicates |
Use the Duplicates Expert to extract and consolidate duplicated segments across several TTK projects. Translating all the duplicates from a number of TTK projects will ensure consistency of translations. The output is a new TTK file in which the gathered duplicates are exported to.
Once the duplicates TTK has been fully translated, the translations can be leveraged back into the original TTK projects.
Catalyst /EXPORTDUPLICATES UserName TTKName:FName duplicatesfile:TTKFilename [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /EXPORTDUPLICATES UserName FromFolder:Foldername duplicatesfile:TTKFilename /S [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /LEVERAGEDUPLICATES UserName TTKName:FName duplicatesfile:TTKFilename [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /LEVERAGEDUPLICATES UserName FromFolder:Foldername duplicatesfile:TTKFilename /S [ezLogFile:ezLogFile] [/write] [/open]
/EXPORTDUPLICATES |
Export duplicates from one or more projects |
/LEVERAGEDUPLICATES |
Leverage translated duplicates into original TTK |
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. |
duplicatesfile:TTKFilename |
The new CATALYST project file to extract the duplicates to. |
FromFolder:Foldername |
Tag used to specify the path to a folder to extract duplicates from or to Leverage duplicates into. |
/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. 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. |
This example extracts the duplicates across all TTK projects in D:\ProjectZ\en-US, recursively (using /S), and creates a new myDuplicates.ttk project to extract into.
Catalyst.exe /EXPORTDUPLICATES JohnD FromFolder:"D:\ProjectZ\en-US" duplicatesfile:"D:\ProjectZ\myDuplicates.ttk" /S ezLogFile:"D:\ProjectZ\Batchlog.txt" /Open
In this example, myDuplicates.ttk has been translated and is now leveraged into the original TTKs in the D:\ProjectZ\en-US folder, recursively (with /S).
Catalyst.exe /LEVERAGEDUPLICATES JohnD FromFolder:"D:\ProjectZ\en-US" duplicatesfile:"D:\ProjectZ\myDuplicates.ttk" /S ezLogFile:"D:\ProjectZ\Batchlog.txt" /Open