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

repetion editor deletes wrong tags

    XMLWordPrintable

Details

    Description

      problem

      In the following situation the repetition editor deletes the wrong tag in the repetition:

      • This is the segment at import time: <1>text text<nb/>text text</1>
      • This is the segment after editing: <1>text text</1>
      • This is the repetition at import time: <1>text<nb/>text</1>
      • This is the repetition after auto adjustment: <1>text text<nb/> 

      Instead of removing white space tags, adding new whitespace tags produces also problems.

      solution

      Whitespace tags are now belonging to the content. That means for repetition calculation "text<nb/>text" is not the same anymore as "text<1/>text", which was the case before. Also

      1) "source text" "target<nb/>text" is now a (source) repetition of
      2) "source text" "target text" since the <nb/> may or may not exist in the target. But
      3) "source text" "target <2/>text" is still no source repetition, since the <2/> could not reinserted into 2) or 3) (see TRANSLATE-680).

      Attachments

        Issue Links

          Activity

            People

              tlauria Thomas Lauria
              marcmittag Marc Mittag [Administrator]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: