Translation components API.

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

GET /api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/sv/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/sv/?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== Parameters ==\n\n{{comment}}please do not translate the sub headlines{{/comment}}\n=== 1.0 Parameters ===\n\n I XWiki syntax 1.0 finns det ingen syntax för att ange parametrar utan XHTML-koden måste matas in direkt såsom illustreras nedan.\n\n|=XWiki syntax 1.0|=Genererad XHTML\n|((({{{\n<h1 class=\"minKlass\" style=\"minStil\" id=\"mittId\">rubrik</h1>\n}}})))|((({{{\n<h1 class=\"myClass\" style=\"minStil\" id=\"mittId\">rubrik</h1>\n}}})))\n\n=== 2.0 Parameters ===\n\nMed XWiki syntax  {{velocity}}$crtSyntaxVer{{/velocity}} är det möjligt att ange parametrar till syntaktiska element och textblock.  Detta används exempelvis för att ändra stil på elementen.  Det går att ange nyckel/värde-par så att XHTML-renderaren infogar motsvarande attribut i den underliggande XHTML-representationen av syntaxelementen. \n\n|=(% style=\"width:60%\" %)XWiki syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Genererad XHTML\n|((({{{\n(% class=\"minKlass\" style=\"minStil\" id=\"mittId\" %)\n= rubrik =\n}}})))|((({{{\n<h1 class=\"myClass\" style=\"minStil\" id=\"mittId\">rubrik</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": 465257,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparameters/sv/?checksum=bbf8e90a4daa852e",
            "url": "https://l10n.xwiki.org/api/units/465257/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:30:59.736948Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/sv/?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": 465259,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparameters/sv/?checksum=12587a10694b6156",
            "url": "https://l10n.xwiki.org/api/units/465259/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:30:59.847555Z"
        }
    ]
}