Units API.

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

GET /api/units/78293006/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translations.documentfoundation.org/api/translations/libo_help-master/textsbasicpython/bg/?format=api",
    "source": [
        "Next to <link href=\"text/sbasic/shared/01040000.xhp\">assigning macros to events</link> or <link href=\"text/sbasic/basic/python/python_listener\">creating event listeners</link>, one can use dialog handlers, whose principle is to define UNO keywords, or methods, that are mapped to events to watch for. The event handler is responsible for executing methods using the <literal>vnd.sun.star.UNO:<method_name></literal> protocol. Unlike listeners that require to define all supported methods, even if unused, dialog handlers require only two methods on top of intended control hook scripts."
    ],
    "previous_source": "",
    "target": [
        "Освен <link href=\"text/sbasic/shared/01040000.xhp\">присвояването на макроси на събития</link> и <link href=\"text/sbasic/basic/python/python_listener\">създаването на слушатели за събития</link>, може да се използват и обработчици на диалози, които работят чрез дефиниране на ключови думи или методи на UNO, съпоставени на следените събития. Обработчикът на диалог отговаря за изпълнението на методи чрез протокола <literal>vnd.sun.star.UNO:<method_name></literal>. За разлика от слушателите, при които се изисква дефиниране на всички поддържани методи, дори да не се използват, обработчиците на диалози изискват само два метода извън желаните скриптове, свързани със събития на контроли."
    ],
    "id_hash": -247338857774605108,
    "content_hash": -247338857774605108,
    "location": "python_handler.xhp",
    "context": "python_handler.xhp\nN0666\nhelp.text",
    "note": "ykPkA",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 140,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 71,
    "source_unit": "https://translations.documentfoundation.org/api/units/78292726/?format=api",
    "priority": 100,
    "id": 78293006,
    "web_url": "https://translations.documentfoundation.org/translate/libo_help-master/textsbasicpython/bg/?checksum=7c91469e8b319ccc",
    "url": "https://translations.documentfoundation.org/api/units/78293006/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-12-07T18:53:28.143493Z"
}