Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/92213/?format=api
https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_developers-handbook/en/?format=api", "source": [ "%include\t'system.inc'\n\nsection\t.data\nhex\tdb\t'0123456789ABCDEF'\nbuffer\tdb\t0, 0, ' '\n\nsection\t.text\nglobal\t_start\n_start:\n\t; read a byte from stdin\n\tpush\tdword 1\n\tpush\tdword buffer\n\tpush\tdword stdin\n\tsys.read\n\tadd\tesp, byte 12\n\tor\teax, eax\n\tje\t.done\n\n\t; convert it to hex\n\tmovzx\teax, byte [buffer]\n\tmov\tedx, eax\n\tshr\tdl, 4\n\tmov\tdl, [hex+edx]\n\tmov\t[buffer], dl\n\tand\tal, 0Fh\n\tmov\tal, [hex+eax]\n\tmov\t[buffer+1], al\n\n\t; print it\n\tpush\tdword 3\n\tpush\tdword buffer\n\tpush\tdword stdout\n\tsys.write\n\tadd\tesp, byte 12\n\tjmp\tshort _start\n\n.done:\n\tpush\tdword 0\n\tsys.exit" ], "previous_source": "", "target": [ "%include\t'system.inc'\n\nsection\t.data\nhex\tdb\t'0123456789ABCDEF'\nbuffer\tdb\t0, 0, ' '\n\nsection\t.text\nglobal\t_start\n_start:\n\t; read a byte from stdin\n\tpush\tdword 1\n\tpush\tdword buffer\n\tpush\tdword stdin\n\tsys.read\n\tadd\tesp, byte 12\n\tor\teax, eax\n\tje\t.done\n\n\t; convert it to hex\n\tmovzx\teax, byte [buffer]\n\tmov\tedx, eax\n\tshr\tdl, 4\n\tmov\tdl, [hex+edx]\n\tmov\t[buffer], dl\n\tand\tal, 0Fh\n\tmov\tal, [hex+eax]\n\tmov\t[buffer+1], al\n\n\t; print it\n\tpush\tdword 3\n\tpush\tdword buffer\n\tpush\tdword stdout\n\tsys.write\n\tadd\tesp, byte 12\n\tjmp\tshort _start\n\n.done:\n\tpush\tdword 0\n\tsys.exit" ], "id_hash": -6563012658962450379, "content_hash": -6563012658962450379, "location": "book.translate.xml:10161", "context": "", "note": "(itstool) path: sect1/programlisting", "flags": "no-wrap", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 1704, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 98, "source_unit": "https://translate-dev.freebsd.org/api/units/92213/?format=api", "priority": 100, "id": 92213, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/en/?checksum=24eb7ec24e26b835", "url": "https://translate-dev.freebsd.org/api/units/92213/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2019-11-02T20:37:23.875501Z" }{ "translation": "