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

Fix detection/repair of internal tag-errors in sub-segments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • None
    • Export
    • High
    • Improvement: Internal tag-check detects tag-errors that refer to tags spanning multiple subsegments of a trans-unit

      Problem

      The internal-tag check does not repair & find tag-errors, that refer to tags in trans-units consisting of multiple segments.

      Challenges

      • Paired tags spanning several segmets of a trans-unit will end up as <it> - tags with the attripute pos="<open|close>". Currently those are seen as singular tags and thus errors cannot be detected
      • When the import without framing tags is active, the counterparts possibly end up in the skeleton-file making a potential check further complicated

      Solution

      • To avoid this, we will not allow the removal of <it>-tags representing an opening/closing tag of a tag-pair
      • In the frontend, the tag-check must check for such tags and raise an error, if such tags are removed and prevent saving of such segments (even, if tag-removal is generally allowed!).

            pavelperminov Pavel Perminov
            axelbecher Axel Becher
            Axel Becher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: