Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3582

Change behavior of reference field in editor

    XMLWordPrintable

Details

    • Critical
    • Reference field for tags validation is now considered to be "target at import time" not only if task is a review task, but also if "target at import time" contains some data.

    Description

      In TRANSLATE-3320 we implemented reference field mechanism. Reference field is a field which we compare tags with during editing (tag check, tag insert with shortcuts etc.)
      By default reference field is "source text" for translate task and "target text at import time" for review task.

      The problem:
      We check if task is a review task by checking for "emptyTargets" task property. So if at list one segment in the whole task contains data in "target text at import time" that field is considered as reference. This causes that other segments with empty "target text at import time" fields are unable to handle any tags because they are compared to the empty field.

      The solution
      Need to change editor behavior to use field that contain data as reference. In case "target text at import time" contains data by default it should be used as a reference, if "target text at import time" is empty - then "source text" should be used as a reference.

      Attachments

        Issue Links

          Activity

            People

              leonkiz Leon Kiz
              leonkiz Leon Kiz
              Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: