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

Check "target is empty or contains only spaces, punctuation, or alike"

    XMLWordPrintable

Details

    • High
    • Empty segments check added
    • -

    Description

      This check should be on the second level in the GUI (Same level as "Internal tags" or "terminology").

      It should be labeled in the GUI:

      EN: Empty segments

      DE: Leere Segmente

      With a tooltip:

      EN: Target only contains tags, spaces or punctuation, but source does not.

      DE: Das Ziel enthält nur Tags, Leerzeichen oder Interpunktion, die Quelle jedoch nicht.

      The check should check, if the target only contains

      • tags and / or
      • punctuation and / or
      • whitespace / whitespace tags

      and nothing else.

      So an Algorithm can look like this:

      • throw out all tags
      • throw out all punctuation characters
      • throw out all whitespace characters / whitespace tags

      from both source and target and then look if the source is not empty, but the target is.

      If yes, mark it as error.

      List of characters to treat as punctuation:

      • ,
      • .
      • -
      • ;
      • :
      • _
      • !
      • ?
      • ¿
      • (
      • )
      • }
      • {
      • [
      • ]
      • "
      • '
      • ~
      • <
      • >
      • «
      • »

      Please add cyrillic punctuation characters.
       

      The list of characters should be placed in the system config and be overwritable on client and import level

      Attachments

        Issue Links

          Activity

            People

              pavelperminov Pavel Perminov
              marcmittag Marc Mittag [Administrator]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: