Category | Import Plugin |
---|---|
Purpose | Sets the segment editable flag out of configurable other data, normally segment meta data. |
Bootstrap Class | editor_Plugins_LockSegmentsBasedOnConfig_Bootstrap |
Type | Core plug-in (delivered with translate5 core) |
Sets the segment editable flag based on values set in the segment meta table. Which meta value does influence the editable state of the segment is configurable in database.
The here mentioned segment meta data is translate5 specific and has nothing to do with meta data of imported file format.
Currently three meta fields are used by this plugin:
All three states are set on task import. Based on this three meta states this plug-in can be configured to lock the segment or not.
Config name | Default value | Description |
---|---|---|
runtimeOptions.plugins.LockSegmentsBasedOnConfig.metaToLock.notTranslated | 0 | 0 or 1; decides, if segments with metadata "notTranslated" will be locked from editing by this plugin. |
runtimeOptions.plugins.LockSegmentsBasedOnConfig.metaToLock.transitLockedForRefMat | 0 | 0 or 1; decides, if segments with metadata "transitLockedForRefMat" will be locked from editing by this plugin. |
runtimeOptions.plugins.LockSegmentsBasedOnConfig.metaToLock.noMissingTargetTermOnImport | 0 | 0 or 1; decides, if segments with metadata "noMissingTargetTermOnImport" will be locked from editing by this plugin. |