Translation components API.

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

GET /api/translations/xwiki-platform/rendering-xwiki/fr/units/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 6,
    "next": null,
    "previous": null,
    "results": [
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/rendering-xwiki/fr/?format=api",
            "source": [
                "Cause: [{0}]."
            ],
            "previous_source": "",
            "target": [
                "Cause : [{0}]."
            ],
            "id_hash": -5143225113153850468,
            "content_hash": -4992336190813218714,
            "location": "",
            "context": "rendering.error.causedBy",
            "note": "###############################################################################\n# XWiki Core localization\n#\n# This contains the translations of the module in the default language\n# (generally English).\n# \n# See https://dev.xwiki.org/xwiki/bin/view/Community/L10N/Conventions/ for more details about about\n# translation key naming.\n#\n# Comments: it's possible to add some detail about a key to make easier to\n#   translate it by adding a comment before it. To make sure a comment is not\n#   assigned to the following key use at least three sharps (###) for the comment\n#   or after it.\n# \n# Deprecated keys:\n#   * when deleting a key it should be moved to deprecated section at the end\n#     of the file (between #@deprecatedstart and #@deprecatedend) and associated to the\n#     first version in which it started to be deprecated\n#   * when renaming a key, it should be moved to the same deprecated section\n#     and a comment should be added with the following syntax:\n#     #@deprecated new.key.name\n#     old.key.name=Some translation\n###############################################################################\n",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 1,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://l10n.xwiki.org/api/units/523440/?format=api",
            "priority": 100,
            "id": 523442,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/rendering-xwiki/fr/?checksum=389f98027298b39c",
            "url": "https://l10n.xwiki.org/api/units/523442/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-12-10T10:40:20.073505Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/rendering-xwiki/fr/?format=api",
            "source": [
                "Click on this message for details."
            ],
            "previous_source": "",
            "target": [
                "Cliquer sur ce message pour voir plus de détails."
            ],
            "id_hash": -3064693360603767813,
            "content_hash": 4816662329641868214,
            "location": "",
            "context": "rendering.error.click",
            "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": 6,
            "source_unit": "https://l10n.xwiki.org/api/units/523441/?format=api",
            "priority": 100,
            "id": 523443,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/rendering-xwiki/fr/?checksum=557805a03fb6dbfb",
            "url": "https://l10n.xwiki.org/api/units/523443/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-12-10T10:40:20.092754Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/rendering-xwiki/fr/?format=api",
            "source": [
                "Using the raw macro for HTML content requires script right."
            ],
            "previous_source": "",
            "target": [
                "L'utilisation de la macro raw pour l'affichage de contenu HTML requiert les droits de script."
            ],
            "id_hash": 1103646819330174948,
            "content_hash": -820095297362835249,
            "location": "",
            "context": "rendering.macro.rawMacroRequiredRights",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 3,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 10,
            "source_unit": "https://l10n.xwiki.org/api/units/572225/?format=api",
            "priority": 100,
            "id": 572227,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/rendering-xwiki/fr/?checksum=8f50f0ef4faa2fe4",
            "url": "https://l10n.xwiki.org/api/units/572227/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2023-11-14T03:06:05.111234Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/rendering-xwiki/fr/?format=api",
            "source": [
                "An HTML macro with cleaning disabled requires script right."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -677112924996684983,
            "content_hash": -3734734078866241473,
            "location": "",
            "context": "rendering.macro.htmlRequiredRights.noClean",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 4,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 9,
            "source_unit": "https://l10n.xwiki.org/api/units/572354/?format=api",
            "priority": 100,
            "id": 572360,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/rendering-xwiki/fr/?checksum=769a6961d8bf3349",
            "url": "https://l10n.xwiki.org/api/units/572360/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2023-11-22T03:05:35.376634Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/rendering-xwiki/fr/?format=api",
            "source": [
                "An HTML macro with wiki content could require script right depending on the content, please review the content carefully."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8983358580367401840,
            "content_hash": -5887115111980708977,
            "location": "",
            "context": "rendering.macro.htmlRequiredRights.wikiContent",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 5,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 19,
            "source_unit": "https://l10n.xwiki.org/api/units/572355/?format=api",
            "priority": 100,
            "id": 572361,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/rendering-xwiki/fr/?checksum=0354b2f78f3e5c90",
            "url": "https://l10n.xwiki.org/api/units/572361/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2023-11-22T03:05:35.378740Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/rendering-xwiki/fr/?format=api",
            "source": [
                "An HTML macro that contains content that would be removed by cleaning in restricted mode requires script right to avoid restricted cleaning."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7964450364100161812,
            "content_hash": -7462536853798048221,
            "location": "",
            "context": "rendering.macro.htmlRequiredRights.dangerousContent",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 6,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 22,
            "source_unit": "https://l10n.xwiki.org/api/units/572356/?format=api",
            "priority": 100,
            "id": 572362,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/rendering-xwiki/fr/?checksum=ee8769689f6bb114",
            "url": "https://l10n.xwiki.org/api/units/572362/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2023-11-22T03:05:35.380990Z"
        }
    ]
}