Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/44987/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_porters-handbook/pt_BR/?format=api", "source": [ "For example, if there is a <_:buildtarget-1/> target defined in the <filename>Makefile</filename>, and a file <filename>pre-build</filename> in the <filename>scripts</filename> subdirectory, the <_:buildtarget-2/> target will be called after the regular extraction actions, and <filename>pre-build</filename> will be executed before the default build rules are done. It is recommended to use <filename>Makefile</filename> targets if the actions are simple enough, because it will be easier for someone to figure out what kind of non-default action the port requires." ], "previous_source": "", "target": [ "Por exemplo, se houver um target <_:buildtarget-1/> definido no <filename>Makefile</filename> e um arquivo <filename>pre-build</filename> no subdiretório <filename>scripts</filename>, o target <_:buildtarget-2/> será chamado após as ações de extração regulares e <filename>pre-build</filename> será executado antes que as regras de compilação padrão sejam feitas. Recomenda-se usar targets no <filename>Makefile</filename> se as ações forem simples, porque será mais fácil para alguém descobrir que tipo de ação não padrão o port necessita." ], "id_hash": -8388825685707181529, "content_hash": -8388825685707181529, "location": "book.translate.xml:761", "context": "", "note": "(itstool) path: sect1/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 130, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 74, "source_unit": "https://translate-dev.freebsd.org/api/units/110660/?format=api", "priority": 100, "id": 44987, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_porters-handbook/pt_BR/?checksum=0b94e77c18c03227", "url": "https://translate-dev.freebsd.org/api/units/44987/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2019-10-20T12:25:48.251271Z" }