Translation components API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/fr/units/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/fr/?format=api",
            "source": [
                "= Advanced =\n\n== Parameters ==\n\n=== 1.0 Parameters ===\n\nIn XWiki Syntax 1.0 there is no syntax for passing parameters and the only way to do it was to write XHTML directly in the content as shown in the table below.\n\n|=XWiki Syntax 1.0|=Generated XHTML\n|((({{{\n<h1 class=\"myClass\" style=\"myStyle\" id=\"myId\">heading</h1>\n}}})))|((({{{\n<h1 class=\"myClass\" style=\"myStyle\" id=\"myId\">heading</h1>\n}}})))\n\n=== 2.0 Parameters ===\n\nWith XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}} it's possible to pass parameters to the different syntax elements and also to blocks of text. This is used for example to style them. You can set any parameter key/value pair you want. The XHTML renderer will pass these parameters as XHTML attributes to the underlying XHTML representation of the different syntax elements.\n\n|=(% style=\"width:60%\" %)XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Generated XHTML\n|((({{{\n(% class=\"myClass\" style=\"myStyle\" id=\"myId\" %)\n= heading =\n}}})))|((({{{\n<h1 class=\"myClass\" style=\"myStyle\" id=\"myId\">heading</h1>\n}}})))"
            ],
            "previous_source": "",
            "target": [
                "= Advanced =\n\n== Paramètres ==\n\n{{comment}}please do not translate the sub headlines{{/comment}}\n=== 1.0 Parameters ===\n\nEn syntaxe XWiki 1.0, il n'y avait pas de possibilité de passer des paramètres et la seule façon de le faire était d'écrire du XHTML directement dans le contenu comme vous le voyez dans le tableau ci-dessous.\n\n|=Syntaxe XWiki 1.0|=XHTML généré\n|((({{{\n<h1 class=\"myClass\" style=\"myStyle\" id=\"myId\">titre</h1>\n}}})))|((({{{\n<h1 class=\"myClass\" style=\"myStyle\" id=\"myId\">titre</h1>\n}}})))\n\n=== 2.0 Parameters ===\n\nEn syntaxe XWiki {{velocity}}$crtSyntaxVer{{/velocity}}, il est possible de passer des paramètres aux divers éléments de syntaxe et aussi aux blocs de texte. Vous pouvez utiliser ces paramètres par exemple pour créer des styles. Il est possible de choisir n'importe quelle paire clé/valeur. Le moteur de rendu XHTML va passer ces paramètres en tant que XHTML attributs à la représentation XHTML sous-jacente des éléments de syntaxe. \n\n|=(% style=\"width:60%\" %)Syntaxe XWiki {{velocity}}$crtSyntaxVer{{/velocity}}|=XHTML généré\n|((({{{\n(% class=\"myClass\" style=\"myStyle\" id=\"myId\" %)\n= titre =\n}}})))|((({{{\n<h1 class=\"myClass\" style=\"myStyle\" id=\"myId\">titre</h1>\n}}})))"
            ],
            "id_hash": 4321460072923956526,
            "content_hash": -5329328433091225403,
            "location": "",
            "context": "content",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 1,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 139,
            "source_unit": "https://l10n.xwiki.org/api/units/465238/?format=api",
            "priority": 100,
            "id": 465249,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparameters/fr/?checksum=bbf8e90a4daa852e",
            "url": "https://l10n.xwiki.org/api/units/465249/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:30:56.736149Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/fr/?format=api",
            "source": [
                "XWikiSyntaxParameters"
            ],
            "previous_source": "",
            "target": [
                "XWikiSyntaxParameters"
            ],
            "id_hash": -7901431335316922026,
            "content_hash": -4614415200984398472,
            "location": "",
            "context": "title",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 2,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 1,
            "source_unit": "https://l10n.xwiki.org/api/units/465239/?format=api",
            "priority": 100,
            "id": 465250,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparameters/fr/?checksum=12587a10694b6156",
            "url": "https://l10n.xwiki.org/api/units/465250/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:30:57.026069Z"
        }
    ]
}