Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
CategoryImport Plugin

Purpose

Sets the segment editable flag out of based on configurable other data, normally usually segment meta data.

Bootstrap Class

editor_Plugins_LockSegmentsBasedOnConfig_Bootstrap
TypeCore 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 meta values influencing the editable state of the segment is configurable can be configured in the database.

The here mentioned segment meta data mentioned here is specific to translate5 specific and has nothing to do with meta data of the imported file format.

Currently three meta fields are used by this plugin:

...

Config nameDefault valueDescription
runtimeOptions.plugins.LockSegmentsBasedOnConfig.metaToLock.notTranslated00 or 1; decides , if segments with metadata "notTranslated" will be locked from editing by this plugin.
runtimeOptions.plugins.LockSegmentsBasedOnConfig.metaToLock.transitLockedForRefMat00 or 1; decides , if segments with metadata "transitLockedForRefMat" will be locked from editing by this plugin.
runtimeOptions.plugins.LockSegmentsBasedOnConfig.metaToLock.noMissingTargetTermOnImport00 or 1; decides , if segments with metadata "noMissingTargetTermOnImport" will be locked from editing by this plugin.