Units API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/31178/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_arch-handbook/pt_BR/?format=api",
    "source": [
        "This code tests the <literal>SETDRV</literal> bit (<literal>0x20</literal>) in the <emphasis>flags</emphasis> variable. Recall that register <literal>%bp</literal> points to address location <literal>0x800</literal>, so the test is done to the <emphasis>flags</emphasis> variable at address <literal>0x800</literal>-<literal>69</literal>= <literal>0x7bb</literal>. This is an example of the type of modifications that can be done to <filename>boot0</filename>. The <literal>SETDRV</literal> flag is not set by default, but it can be set in the <filename>Makefile</filename>. When set, the drive number stored in the <acronym>MBR</acronym> is used instead of the one provided by the <acronym>BIOS</acronym>. We assume the defaults, and that the <acronym>BIOS</acronym> provided a valid drive number, so we jump to <literal>save_curdrive</literal>."
    ],
    "previous_source": "",
    "target": [
        "Este código testa o bit (<literal>0x20</literal>) de <literal>SETDRV</literal> na varíavel <emphasis>flags</emphasis>. Lembre-se de que o registrador <literal>%bp</literal> aponta para endereço local <literal>0x800</literal>, então o teste é feito para a vairável <emphasis>flags</emphasis> no endereço <literal>0x800</literal>-<literal>69</literal>=<literal>0x7bb</literal>. Este é um exemplo do tipo de modificações que podem ser feitas para <filename>boot0</filename>. O flag de <literal>SETDRV</literal> não é definido por padrão, mas pode ser definido no <filename>Makefile</filename>. Quando definido, o número da unidade armazenado no <acronym>MBR</acronym> é usado em vez daquele fornecido pelo <acronym>BIOS</acronym>. Nós assumimos os padrões, e que a <acronym>BIOS</acronym> forneceu um número de drive válido, então pulamos para <literal>save_curdrive</literal>."
    ],
    "id_hash": -3947588922251756319,
    "content_hash": -3947588922251756319,
    "location": "book.translate.xml:711",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 81,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 101,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102227/?format=api",
    "priority": 100,
    "id": 31178,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/pt_BR/?checksum=493758ca59eabce1",
    "url": "https://translate-dev.freebsd.org/api/units/31178/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:42.543063Z"
}