Translation components API.

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

GET /api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/pl/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/pl/?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": [
                "= Zaawansowane =\n\n== Parametry ==\n\n{{comment}}please do not translate the sub headlines{{/comment}}\n=== 1.0 Parameters ===\n\nW Gramatyce XWiki 1.0 nie ma możliwości wprowadzania parametrów i jedynym sposobem aby to zrobić jest wprowadzenie kodu XHTML bezpośrednio do zawartości tak jak jest to pokazane w tabeli poniżej.\n\n|=XWiki Gramatyka 1.0|=Wygenerowany XHTML\n|((({{{\n<h1 class=\"myClass\" style=\"myStyle\" id=\"myId\">nagłówek</h1>\n}}})))|((({{{\n<h1 class=\"myClass\" style=\"myStyle\" id=\"myId\">nagłówek</h1>\n}}})))\n\n=== 2.0 Parameters ===\n\nW XWiki wersji {{velocity}}$crtSyntaxVer{{/velocity}} można przekazać parametry do róznych elementów gramatycznych a także bloków tekstu. Jest to używane np. do ich stylizowania. Możesz ustawić dowolny parametr jako parę typu klucz/wartość. Renderer XHTML przekaże te argumenty jako atrybuty XHTML do wewnętrnzej reprezentacji róznych elementów gramatycznych.\n\n|=(% style=\"width:60%\" %)XWiki Gramatyka {{velocity}}$crtSyntaxVer{{/velocity}}|=Wygenerowany XHTML\n|((({{{\n(% class=\"myClass\" style=\"myStyle\" id=\"myId\" %)\n= nagłówek =\n}}})))|((({{{\n<h1 class=\"myClass\" style=\"myStyle\" id=\"myId\">nagłówek</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": 465255,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparameters/pl/?checksum=bbf8e90a4daa852e",
            "url": "https://l10n.xwiki.org/api/units/465255/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:30:58.944443Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/pl/?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": 465256,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparameters/pl/?checksum=12587a10694b6156",
            "url": "https://l10n.xwiki.org/api/units/465256/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:30:59.215686Z"
        }
    ]
}