QA Profile (Object)
A JSON object that represents a QA profile.
See this namespace for more: resources/qa
PROPERTIES
A JSON object:
id | The QA profile id. | int |
name | Profile name. | string |
description | Profile description. | string |
updateStatus | If the profile update segments status. | boolean |
updateBookmark | If the profile update segments bookmark. | boolean |
src | The source locale profile applicable. Note: if null it's applicable for any language. | 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 |
EXAMPLES
CODE
{
"id": 1,
"name": "◀Default▶",
"description": "◀Default profile▶",
"updateStatus": true,
"updateBookmark": false,
"src": null,
"trg": null,
"rules": [{
"enabled": false,
"type": "CharacterClass",
"name": "◀Character classes▶",
"severity": "Error",
"category": "TranslationLayout",
"scope": "Text",
"priority": 0,
"failBookmark": null,
"failStatus": "Problem",
"successBookmark": null,
"successStatus": null,
"parameters": [{
"key": "charsToFlag",
"value": null,
"text": ""
}, {
"key": "allowedChars",
"value": null,
"text": ""
}, {
"key": "FullWidthSpace",
"value": false,
"text": null
}, {
"key": "FullWidthDigit",
"value": false,
"text": null
}, {
"key": "FullWidthLetter",
"value": false,
"text": null
}, {
"key": "FullWidthSymbol",
"value": false,
"text": null
}, {
"key": "Asian",
"value": false,
"text": null
}, {
"key": "Arabic",
"value": true,
"text": null
}, {
"key": "Cyrillic",
"value": false,
"text": null
}, {
"key": "Greek",
"value": false,
"text": null
}, {
"key": "Hebrew",
"value": false,
"text": null
}
],
"userNote": null,
"projectOnly": false,
"skipGreenStatus": false,
"ui": {
"description": "◀This rule lets checks translations for prohibited characters or classes of characters. For example, you might want to flag any Arabic letters in an English translation.▶",
"helphtml": "◧Select one of the predefined categories below or fill in your own list of prohibited characters.◨",
"controls": [
]
}
}
],
"srct": "◀Any language▶",
"trgt": "◀Any language▶"
}