Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/1437302/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/fr_FR/?format=api", "source": [ "`boot2` enters into an infinite loop waiting for user input, then calls `load()`. If the user does not press anything, the loop breaks by a timeout, so `load()` will load the default file ([.filename]#/boot/loader#). Functions `ino_t lookup(char *filename)` and `int xfsread(ino_t inode, void *buf, size_t nbyte)` are used to read the content of a file into memory. [.filename]#/boot/loader# is an ELF binary, but where the ELF header is prepended with [.filename]#a.out#'s `struct exec` structure. `load()` scans the loader's ELF header, loading the content of [.filename]#/boot/loader# into memory, and passing the execution to the loader's entry:" ], "previous_source": "", "target": [ "" ], "id_hash": -5080383871093235622, "content_hash": -5080383871093235622, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1194", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 200, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 95, "source_unit": "https://translate-dev.freebsd.org/api/units/1436639/?format=api", "priority": 100, "id": 1437302, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/fr_FR/?checksum=397ed9c948dd205a", "url": "https://translate-dev.freebsd.org/api/units/1437302/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-07-08T02:59:36.971142Z" }