Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/190300/?format=api
https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/zh_CN/?format=api", "source": [ "Now let us add some controls to our dummy script. As you may know, <filename>rc.d</filename> scripts are controlled with <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>. Fortunately, <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> hides all the complications from us. The following script uses <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> via <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> to see whether it is enabled in the first place, and to fetch a message to show at boot time. These two tasks in fact are independent. On the one hand, an <filename>rc.d</filename> script can just support enabling and disabling its service. On the other hand, a mandatory <filename>rc.d</filename> script can have configuration variables. We will do both things in the same script though:" ], "previous_source": "", "target": [ "" ], "id_hash": -5715462977679884677, "content_hash": -5715462977679884677, "location": "article.translate.xml:374", "context": "", "note": "(itstool) path: sect1/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 48, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 99, "source_unit": "https://translate-dev.freebsd.org/api/units/100904/?format=api", "priority": 100, "id": 190300, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/zh_CN/?checksum=30ae98b4207e7e7b", "url": "https://translate-dev.freebsd.org/api/units/190300/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-07-16T14:38:19.668357Z" }{ "translation": "