QA Rule (Object)
A JSON object that represents a QA rule.
PROPERTIES
A JSON object:
enabled | The rule is enabled or not. | boolean | |||||||||
type | Type of rule. | string | |||||||||
name | Rule name. | string | |||||||||
severity | Severity of the rule. | string | |||||||||
category | Category of the rule. | string | |||||||||
scope | Scope of the rule. | string | |||||||||
priority | The priority. Determine the execution order of rules. | int | |||||||||
failBookmark | Set this bookmark if error with this rule. | string? | |||||||||
failStatus | Set this status if error with this rule. | string? | |||||||||
parameters | ??? | Â | |||||||||
userNote | Set this not | Â | |||||||||
projectOnly | ??? | boolean | |||||||||
skipGreenStatus | Determine if the rule is applicable or not on segment with a status green. | boolean | |||||||||
ui |
| Â |
Â
EXAMPLES
Â
{ "enabled": true, "type": "ConsistentTranslation", "name": "â—€Translations - Consistencyâ–¶", "severity": "Warning", "category": "TranslationMeaning", "scope": "Text", "priority": 0, "failBookmark": null, "failStatus": "Problem", "successBookmark": null, "successStatus": null, "parameters": [{ "key": "contextSensitive", "value": false, "text": null } ], "userNote": null, "projectOnly": false, "skipGreenStatus": false, "ui": { "description": "â—€This rule verifies whether all identical source texts are translated the same way within a document. It helps making translations consistent throughout a text.â–¶", "helphtml": "â—§The system starts by finding all identical source texts (repetitions). It then compares the respective translations to see if these are all identical or not.\r\n\t\t\t\t\t\t<p>For example, if the same phrase shows up twice but is translated in two different ways, the system will consider/flag the second translation invalid.</p>\r\n\t\t\t\t\t\tâ—¨", "controls": [{ "title": "â—€In-context matching:â–¶", "helphtml": "â—§If ticked then two source texts are considered identical if and only if the respective preceding and succeeding source texts \r\n\t\t\t\t\t\t\t\tmatch up as well. This means that differences in translation are accepted if the context in the text is not the same.â—¨", "key": "contextSensitive", "width": "400px", "control": { "type": "checkbox", "label": "â—€Compare translations only if source texts are in contextâ–¶" } } ] } }
Copyright Wordbee - Buzzin' Outside the Box since 2008