Translation components API.

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

GET /api/translations/xwiki-platform/xwiki-xwikisyntaxscripts/da/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-xwikisyntaxscripts/da/?format=api",
            "source": [
                "= Programming =\n\n== Scripts ==\n\n=== 1.0 Scripts ===\n\n{{info}}In XWiki Syntax 1.0 it was possible to enter Velocity scripts anywhere directly in the page. This can lead to issues for example when the user was involuntarily entering Velocity content. It is also performance hungry for pages not requiring Velocity content. There are several other technical limitations. Same goes for entering Groovy scripts.{{/info}}\n\n|=Feature|=XWiki Syntax 1.0\n|Velocity script|((({{{\n#set ($var = \"whatever\")\n}}})))\n|Groovy script|((({{{\n<%\ndef var = \"whatever\"\n%>\n}}})))\n\n=== 2.0 Scripts ===\n\n{{info}}XWiki [[supports several scripting languages>>https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Scripting/]].{{/info}}\n\n|=Feature|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}\n|Velocity script|((({{{\n{{velocity}}\n#set ($var = \"whatever\")\n{{/velocity}}\n}}})))\n|Groovy script|((({{{\n{{groovy}}\ndef var = \"whatever\"\n{{/groovy}}\n}}})))"
            ],
            "previous_source": "= Programming =\n\n== Scripts ==\n\n=== 1.0 Scripts ===\n\n{{info}}In XWiki Syntax 1.0 it was possible to enter Velocity scripts anywhere directly in the page. This can lead to issues for example when the user was involuntarily entering Velocity content. It is also performance hungry for pages not requiring Velocity content. There are several other technical limitations. Same goes for entering Groovy scripts.{{/info}}\n\n|=Feature|=XWiki Syntax 1.0\n|Velocity script|((({{{\n#set ($var = \"whatever\")\n}}})))\n|Groovy script|((({{{\n<%\ndef var = \"whatever\"\n%>\n}}})))\n\n=== 2.0 Scripts ===\n\n{{info}}In XWiki Syntax 1.0 it was possible to enter Velocity scripts anywhere directly in the page. This lead to issues for example when the user was involuntarily entering Velocity content. It was also performance hungry for pages not requiring Velocity content. There were several other technical limitations. Thus in XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}} Velocity scripts must be entered using the ##velocity## macro. Same goes for entering Groovy scripts.{{/info}}\n\n|=Feature|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}\n|Velocity script|((({{{\n{{velocity}}\n#set ($var = \"whatever\")\n{{/velocity}}\n}}})))\n|Groovy script|((({{{\n{{groovy}}\ndef var = \"whatever\"\n{{/groovy}}\n}}})))",
            "target": [
                "= Programmering =\n\n== Skript ==\n\n=== 1.0 Skript-koder ===\n\n{{info}}I XWiki Syntax 1.0 var det muligt at indsætte Velocity-kode direkte i siden. Dette kan føre til problemer, når f.eks. brugeren ved et uheld indsætter Velocity-kommandoer. Det overbelaster også sider, der ikke har brug for Velocity-indhold. Der er andre tekniske begrænsninger. Det samme gælder Groovy-kode.{{/info}}\n\n|=Feature|=XWiki Syntax 1.0\n|Velocity script|((({{{\n#set ($var = \"whatever\")\n}}})))\n|Groovy script|((({{{\n<%\ndef var = \"whatever\"\n%>\n}}})))\n\n=== 2.0 Skript-koder ===\n\n{{info}}I XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}} skal Velocity-koder ved at bruge ###velocity### makroer. Det samme gælder for Groovy-koder.{{/info}}\n\n|=Feature|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}\n|Velocity script|((({{{\n{{velocity}}\n#set ($var = \"whatever\")\n{{/velocity}}\n}}})))\n|Groovy script|((({{{\n{{groovy}}\ndef var = \"whatever\"\n{{/groovy}}\n}}})))"
            ],
            "id_hash": 4321460072923956526,
            "content_hash": 7115209826416164921,
            "location": "",
            "context": "content",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 10,
            "fuzzy": true,
            "translated": false,
            "approved": false,
            "position": 1,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 113,
            "source_unit": "https://l10n.xwiki.org/api/units/465636/?format=api",
            "priority": 100,
            "id": 465640,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxscripts/da/?checksum=bbf8e90a4daa852e",
            "url": "https://l10n.xwiki.org/api/units/465640/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:33:08.795073Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxscripts/da/?format=api",
            "source": [
                "XWikiSyntaxScripts"
            ],
            "previous_source": "",
            "target": [
                "XWikiSyntaxScripts"
            ],
            "id_hash": -7901431335316922026,
            "content_hash": 8273557082750526113,
            "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/465637/?format=api",
            "priority": 100,
            "id": 465642,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxscripts/da/?checksum=12587a10694b6156",
            "url": "https://l10n.xwiki.org/api/units/465642/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:33:08.845288Z"
        }
    ]
}