A JSON object that represents a QA profilke.See this namespace for more: resources/qarule.
PROPERTIES
A JSON object:
id | The QA profile id. | intenabled | The rule is enabled or not. | boolean |
type | Type of rule. | string | ||
name | ProfileRule name. | string | description | |
Profile descriptionseverity | Severity of the rule. | string | ||
updateStatuscategory | If the profile update segments statusCategory of the rule. | booleanstring | ||
updateBookmarkscope | If the profile update segments bookmark Scope of the rule. | booleanstring | ||
srcpriority | The source locale profile applicable.Note: if null it's applicable for any languagepriority. Determine the execution order of rules. | int | ||
failBookmark | Set this bookmark if error with this rule. | string? | ||
trg | The target locale profile applicable. Note: if null it's applicable for any language. | string? | ||
rules | List of QA Rule (Object). | List<rule> | ||
srct | Name of source locale. Note: can be "Any language". | string | ||
trgt | Name of target locale. Note: can be "Any language". | 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
Code Block | ||
---|---|---|
| ||
{
"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▶"
}
}
]
}
} |