Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/1807572/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/ru/?format=api", "source": [ "Overriding a default method with a custom `argument_cmd` still does not prevent us from making use of `argument_precmd` or `argument_postcmd` if we need to. In particular, the former is good for checking custom, sophisticated conditions that should be met before performing the command itself. Using `argument_precmd` along with `argument_cmd` lets us logically separate the checks from the action." ], "previous_source": "", "target": [ "Переопределение стандартного метода с помощью пользовательского `argument_cmd` всё равно не мешает нам использовать `argument_precmd` или `argument_postcmd`, если это необходимо. В частности, первый полезен для проверки пользовательских сложных условий, которые должны быть выполнены перед выполнением самой команды. Использование `argument_precmd` вместе с `argument_cmd` позволяет логически разделить проверки от действия." ], "id_hash": 1904391641481687103, "content_hash": 1904391641481687103, "location": "documentation/content/en/articles/rc-scripting/_index.adoc:495", "context": "", "note": "type: delimited block = 4", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 100, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 58, "source_unit": "https://translate-dev.freebsd.org/api/units/611700/?format=api", "priority": 100, "id": 1807572, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/ru/?checksum=9a6dc21ba7bd303f", "url": "https://translate-dev.freebsd.org/api/units/1807572/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:18:20.833472Z" }