Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/36826/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_arch-handbook/zh_CN/?format=api", "source": [ "<function>xxxchannel_setblocksize()</function> sets the block size, which is the size of unit transactions between <filename>pcm</filename> and the sound driver, and between the sound driver and the device. Typically, this would be the number of bytes transferred before an interrupt occurs. During a transfer, the sound driver should call <filename>pcm</filename>'s <function>chn_intr()</function> every time this size has been transferred." ], "previous_source": "", "target": [ "<function>xxxchannel_setblocksize()</function>设置块大小, 这是<filename>pcm</filename>与声音驱动程序,以及声音驱动 程序与设备之间的传输单位的大小。传输期间,每次传输这样大小的 数据后,声音驱动程序都应当调用<filename>pcm</filename>的 <function>chn_intr()</function>。" ], "id_hash": 2226493555830359447, "content_hash": 2226493555830359447, "location": "book.translate.xml:23210", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2615, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 56, "source_unit": "https://translate-dev.freebsd.org/api/units/104745/?format=api", "priority": 100, "id": 36826, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/zh_CN/?checksum=9ee61817b1f70597", "url": "https://translate-dev.freebsd.org/api/units/36826/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2019-10-20T12:22:16.387665Z" }