Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/1812415/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookplist_index/ru/?format=api", "source": [ "If files are installed conditionally on the options set in the port, the usual way of handling it is prefixing [.filename]#pkg-plist# lines with a `%%OPT%%` for lines needed when the option is enabled, or `%%NO_OPT%%` when the option is disabled, and adding `OPTIONS_SUB=yes` to the [.filename]#Makefile#. See crossref:makefiles[options_sub,`OPTIONS_SUB`] for more information." ], "previous_source": "", "target": [ "Если файлы устанавливаются по условию в зависимости от опций, установленных в порте, обычный способ обработки — это добавление префикса `%%OPT%%` для строк в [.filename]#pkg-plist#, которые нужны при включении опции, или `%%NO_OPT%%`, когда опция отключена, а также добавление `OPTIONS_SUB=yes` в [.filename]#Makefile#. Подробнее см. crossref:makefiles[options_sub,`OPTIONS_SUB`]." ], "id_hash": -979322556495559699, "content_hash": -979322556495559699, "location": "documentation/content/en/books/porters-handbook/plist/_index.adoc:76", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 51, "source_unit": "https://translate-dev.freebsd.org/api/units/1242870/?format=api", "priority": 100, "id": 1812415, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookplist_index/ru/?checksum=7268bf52d38e03ed", "url": "https://translate-dev.freebsd.org/api/units/1812415/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:27:39.079786Z" }