Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/1798432/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookspecial_index/ru/?format=api", "source": [ "It is also usual practice to split the packaging list of the port into several files if the list varies a lot from one architecture to another or depends on the selected flavor. In this case, the [.filename]#pkg-plist# file for each architecture is named following the pattern [.filename]#pkg-plist.${ARCH}# or [.filename]#pkg-plist.${FLAVOR}#. The framework does not create the packaging list automatically if multiple [.filename]#pkg-plist# files exist. It is the responsibility of the porter to select the proper [.filename]#pkg-plist# and assign it to the `PLIST` variable. Examples on how to deal with this can be found in package:audio/logitechmediaserver[] and package:deskutils/libportal[]." ], "previous_source": "", "target": [ "Также распространённой практикой является разделение списка пакетов порта на несколько файлов, если список сильно различается в зависимости от архитектуры или выбранного флейвора. В этом случае файл [.filename]#pkg-plist# для каждой архитектуры именуется по шаблону [.filename]#pkg-plist.${ARCH}# или [.filename]#pkg-plist.${FLAVOR}#. Фреймворк не создаёт список пакетов автоматически, если существует несколько файлов [.filename]#pkg-plist#. Ответственность за выбор подходящего файла [.filename]#pkg-plist# и его присвоение переменной `PLIST` лежит на того, кто делает порт. Примеры работы с этим можно найти в портах package:audio/logitechmediaserver[] и package:deskutils/libportal[]." ], "id_hash": 4356207411235543007, "content_hash": 4356207411235543007, "location": "documentation/content/en/books/porters-handbook/special/_index.adoc:76", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 97, "source_unit": "https://translate-dev.freebsd.org/api/units/1589837/?format=api", "priority": 100, "id": 1798432, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookspecial_index/ru/?checksum=bc745b8f729e57df", "url": "https://translate-dev.freebsd.org/api/units/1798432/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:13:03.407750Z" }