Translation components API.

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

GET /api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/de/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/de/?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": [
                "= Fortgeschritten =\n\n== Parameter ==\n\n{{comment}}please do not translate the sub headlines{{/comment}}\n=== 1.0 Parameters ===\n\nIn XWiki Syntax 1.0 gibt es keine Syntax für das Übergeben von Parametern und die einzige Möglichkeit, dies zu tun war es direkt XHTML in den Inhalt zu schreiben, wie in der nachstehenden Tabelle gezeigt.\n\n|=XWiki Syntax 1.0|=Generated XHTML\n|((({{{\n<h1 class=\"meineKlasse\" style=\"meinStil\" id=\"meineID\">Überschrift</h1>\n}}})))|((({{{\n<h1 class=\"meineKlasse\" style=\"meinStil\" id=\"meineID\">Überschrift</h1>\n}}})))\n\n=== 2.0 Parameters ===\n\nMit der XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}} ist es möglich Parameter an die verschiedenen Syntaxelemente und auch an Textblöcke weiterzugeben. Dies wird beispielsweise benutzt um diese zu gestalten. Sie können jegliche Parameterschlüssel/Wertepaare verwenden, die Sie möchten. Der XHTML Renderer wird diese Parameter als XHTML Attribute an die zugrundeliegende XHTML Representation der verschiedenen Syntaxelemente weitergeben. \n\n|=(% style=\"width:60%\" %)XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Generiertes XHTML\n|((({{{\n(% class=\"meineKlasse\" style=\"meinStil\" id=\"meineID\" %)\n= Überschrift =\n}}})))|((({{{\n<h1 class=\"meineKlasse\" style=\"meinStil\" id=\"meineID\">Überschrift</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": false,
            "num_words": 139,
            "source_unit": "https://l10n.xwiki.org/api/units/465238/?format=api",
            "priority": 100,
            "id": 465244,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparameters/de/?checksum=bbf8e90a4daa852e",
            "url": "https://l10n.xwiki.org/api/units/465244/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:30:55.224421Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/de/?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": false,
            "num_words": 1,
            "source_unit": "https://l10n.xwiki.org/api/units/465239/?format=api",
            "priority": 100,
            "id": 465245,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparameters/de/?checksum=12587a10694b6156",
            "url": "https://l10n.xwiki.org/api/units/465245/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:30:55.492596Z"
        }
    ]
}