Translation components API.

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

GET /api/translations/xwiki-platform/xwiki-xwikisyntaxscripts/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-xwikisyntaxscripts/sv/?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": [
                "= Programming =\n\n== Skript ==\n\n{{comment}}please do not translate the sub headlines{{/comment}}\n=== 1.0 Scripts ===\n\n{{info}}In XWiki syntax 1.0 är det möjligt att ange Velocity-skript var som helst på en wikisida.  Detta medför problem då en användar oavsiktligen matar in Velocity-kod.  Dessutom renderas sidor som ej innehåller Velocity-kod långsammare än nödvändigt.  Det medför även andra tekniska begränsningar. Detsamma gäller för Groovy-skript som måste anges med hjälp av ##groovy##-makrot.{{/info}}\n\n|=Formateringstyp|=XWiki syntax 1.0\n|Velocity-skript|((({{{\n#set ($var = \"något värde\")\n}}})))\n|Groovy-skript|((({{{\n<%\ndef var = \"något värde\"\n%>\n}}})))\n\n=== 2.0 Scripts ===\n\n{{info}}In XWiki syntax 1.0 är det möjligt att ange Velocity-skript var som helst på en wikisida.  Detta medför problem då en användar oavsiktligen matar in Velocity-kod.  Dessutom renderas sidor som ej innehåller Velocity-kod långsammare än nödvändigt.  Det medför även andra tekniska begränsningar.  Således måste Velocity-skript avgränsas med hjälp av ##velocity##-makrot i XWiki syntax {{velocity}}$crtSyntaxVer{{/velocity}}.  Detsamma gäller för Groovy-skript som måste anges med hjälp av ##groovy##-makrot.{{/info}}\n\n|=Formateringstyp|=XWiki syntax {{velocity}}$crtSyntaxVer{{/velocity}}\n|Velocity-skript|((({{{\n{{velocity}}\n#set ($var = \"något värde\")\n{{/velocity}}\n}}})))\n|Groovy-skript|((({{{\n{{groovy}}\ndef var = \"något värde\"\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": 465670,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxscripts/sv/?checksum=bbf8e90a4daa852e",
            "url": "https://l10n.xwiki.org/api/units/465670/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:33:13.430508Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxscripts/sv/?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": 465671,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxscripts/sv/?checksum=12587a10694b6156",
            "url": "https://l10n.xwiki.org/api/units/465671/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:33:13.502417Z"
        }
    ]
}