Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/207253/?format=api
https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/es/?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": [ "Ahora agreguemos algunos controles a nuestro script ficticio. Como podrias saber, <filename>rc.d</filename> slos scripts se controlan con <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.Por suerte, <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> hides all the complications from nos. El siguiente script usa <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> via <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> para ver si está habilitado en primer lugar y obtener un mensaje para mostrar en el momento del arranque. De hecho, estas dos tareas son independientes. Por un lado, un<filename>rc.d</filename> El script solo puede admitir habilitar y deshabilitar su servicio. Por otro lado, una obligación<filename>rc.d</filename> El script puede tener variables de configuración. Sin embargo, haremos ambas cosas en el mismo script:" ], "id_hash": -5715462977679884677, "content_hash": -5715462977679884677, "location": "article.translate.xml:374", "context": "", "note": "(itstool) path: sect1/para", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "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": 207253, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/es/?checksum=30ae98b4207e7e7b", "url": "https://translate-dev.freebsd.org/api/units/207253/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-11-14T21:36:39.903084Z" }{ "translation": "