Translation components API.

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

GET /api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/ja/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/ja/?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": [
                "= 高度 =\n\n== パラメーター ==\n\n=== パラメーター1.0 ===\n\nXWikiシンタックス 1.0にはパラメーターを渡すシンタックスは存在しないため、以下のテーブルに表示されているようにXHTMLで直接コンテンツに記述する必要があります。\n\n|=XWikiシンタックス 1.0|=生成されるXHTML\n|((({{{\n<h1 class=\"クラス名\" style=\"スタイル\" id=\"ID\">ヘッダー</h1>\n}}})))|((({{{\n<h1 class=\"クラス名\" style=\"スタイル\" id=\"ID\">ヘッダー</h1>\n}}})))\n\n=== パラメーター2.0 ===\n\nXWikiシンタックス {{velocity}}$crtSyntaxVer{{/velocity}}では、パラメーターを、異なるシンタックスの要素とテキストブロックへと渡すことができます。パラメーターは、例えばそれらを装飾するために使うことができます。また、どのようなパラメーターも、キーと値の組み合わせとして定めることができます。XHTMLのレンダラーは、これらのパラメーターをXHTMLの属性として、異なるシンタックスの要素の基礎にあるXHTMLの描写へと渡します。\n\n|=(% style=\"width:60%\" %)XWikiシンタックス {{velocity}}$crtSyntaxVer{{/velocity}}|=生成されるXHTML\n|((({{{\n(% class=\"クラス名\" style=\"スタイル\" id=\"ID\" %)\n= ヘッダー =\n}}})))|((({{{\n<h1 class=\"クラス名\" style=\"スタイル\" id=\"ID\">ヘッダー</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": 552526,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparameters/ja/?checksum=bbf8e90a4daa852e",
            "url": "https://l10n.xwiki.org/api/units/552526/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-11-13T17:30:45.517017Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxparameters/ja/?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": 552527,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparameters/ja/?checksum=12587a10694b6156",
            "url": "https://l10n.xwiki.org/api/units/552527/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2022-11-13T17:30:45.520196Z"
        }
    ]
}