Details
-
New Feature
-
Resolution: Fixed
-
None
-
High
-
Empty segments check added
-
Empty show more show less
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
- relates to
-
TRANSLATE-2821 Empty segment check does not report completely empty segments
- Done