Units API.

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

GET /api/units/31175/?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": [
        "Next, the destination register <literal>%di</literal> is copied to <literal>%bp</literal>. <literal>%bp</literal> gets the value <literal>0x800</literal>. The value <literal>16</literal> is copied to <literal>%cl</literal> in preparation for a new string operation (like our previous <literal>movsb</literal>). Now, <literal>stosb</literal> is executed 16 times. This instruction copies a <literal>0</literal> value to the address pointed to by the destination register (<literal>%di</literal>, which is <literal>0x800</literal>), and increments it. This is repeated another 15 times, so <literal>%di</literal> ends up with value <literal>0x810</literal>. Effectively, this clears the address range <literal>0x800</literal>-<literal>0x80f</literal>. This range is used as a (fake) partition table for writing the <acronym>MBR</acronym> back to disk. Finally, the sector field for the <acronym>CHS</acronym> addressing of this fake partition is given the value 1 and a jump is made to the main function from the relocated code. Note that until this jump to the relocated code, any reference to an absolute address was avoided."
    ],
    "previous_source": "",
    "target": [
        "Em seguida, o registro de destino <literal>%di</literal> é copiado para <literal>%bp</literal>. <literal>%bp</literal> Obtém o valor <literal>0x800</literal>. O valor que <literal>16</literal> é copiado para <literal>%cl</literal> em preparação para uma nova operação de string (como a nossa anterior <literal>movsb</literal>). Agora, <literal>stosb</literal> é executado 16 vezes. Esta instrução copia um valor <literal>0</literal> para o endereço indicado pelo registo de destino (<literal>%di</literal>, que é <literal>0x800</literal>) e incrementa-o. Isso é repetido mais 15 vezes, então <literal>%di</literal> acaba com valor <literal>0x810</literal>. Efetivamente, isso limpa o intervalo de endereços <literal>0x800</literal> - <literal>0x80f</literal>. Esse intervalo é usado como uma tabela de partições (falsa) para gravar o <acronym>MBR de</acronym> volta no disco. Finalmente, o campo setorial para o endereçamento <acronym>CHS</acronym> desta partição falsa recebe o valor 1 e um salto é feito para a função principal a partir do código realocado. Note que até este salto para o código realocado, qualquer referência a um endereço absoluto foi evitada. "
    ],
    "id_hash": -6405183685629454005,
    "content_hash": -6405183685629454005,
    "location": "book.translate.xml:676",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 78,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 143,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102224/?format=api",
    "priority": 100,
    "id": 31175,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/pt_BR/?checksum=271c375fc0edd94b",
    "url": "https://translate-dev.freebsd.org/api/units/31175/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:42.519722Z"
}