Translation components API.

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

GET /api/translations/freebsd-doc/articles_rc-scripting/pt_BR/units/?format=api&page=3
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 156,
    "next": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/units/?format=api&page=4",
    "previous": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/units/?format=api&page=2",
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "if checkyesno \"${mumbled_enable}\"; then\n        foo\nfi"
            ],
            "previous_source": "",
            "target": [
                "if checkyesno \"${mumbled_enable}\"; then\n        foo\nfi"
            ],
            "id_hash": 6165416718248666402,
            "content_hash": 6165416718248666402,
            "location": "article.translate.xml:876",
            "context": "",
            "note": "(itstool) path: important/programlisting",
            "flags": "no-wrap",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 101,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100957/?format=api",
            "priority": 100,
            "id": 29531,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=d58ff5d6e7776522",
            "url": "https://translate-dev.freebsd.org/api/units/29531/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.762760Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "<anchor xml:id=\"rc-flags\"/>We can affect the flags to be passed to <envar>$command</envar> by modifying <envar>rc_flags</envar> in <envar>$start_precmd</envar>."
            ],
            "previous_source": "",
            "target": [
                "<anchor xml:id=\"rc-flags\"/> Podemos afetar os sinalizadores a serem passados para <envar>$command</envar> modificando <envar>rc_flags</envar> em <envar>$start_precmd</envar>."
            ],
            "id_hash": 2055909565748558186,
            "content_hash": 2055909565748558186,
            "location": "article.translate.xml:883",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 102,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 16,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100958/?format=api",
            "priority": 100,
            "id": 29532,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=9c880edb7cc5396a",
            "url": "https://translate-dev.freebsd.org/api/units/29532/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.775032Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "In certain cases we may need to emit an important message that should go to <application>syslog</application> as well. This can be done easily with the following <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> functions: <function>debug</function>, <function>info</function>, <function>warn</function>, and <function>err</function>. The latter function then exits the script with the code specified."
            ],
            "previous_source": "",
            "target": [
                "Em certos casos, podemos precisar emitir uma mensagem importante que também deve ser enviada para o <application>syslog</application>. Isto pode ser feito facilmente com as seguintes funções <citerefentry><refentrytitle>rc.subr</refentrytitle> <manvolnum>8</manvolnum></citerefentry>: <function>debug</function>, <function>info</function>, <function>warn</function> e <function>err</function>. A última função, em seguida, sai do script com o código especificado."
            ],
            "id_hash": -1456744716774024753,
            "content_hash": -1456744716774024753,
            "location": "article.translate.xml:889",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 103,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 44,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100959/?format=api",
            "priority": 100,
            "id": 29533,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=6bc89a65f441d9cf",
            "url": "https://translate-dev.freebsd.org/api/units/29533/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.785555Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "The exit codes from methods and their pre-commands are not just ignored by default. If <envar><replaceable>argument</replaceable>_precmd</envar> returns a non-zero exit code, the main method will not be performed. In turn, <envar><replaceable>argument</replaceable>_postcmd</envar> will not be invoked unless the main method returns a zero exit code."
            ],
            "previous_source": "",
            "target": [
                "Os códigos de saída dos métodos e seus pré-comandos não são apenas ignorados por padrão. Se o argumento <envar><replaceable></replaceable>_precmd</envar> retornar um código de saída diferente de zero, o método principal não será executado. Por sua vez, o <envar><replaceable>argumento</replaceable>_postcmd</envar> não será invocado a menos que o método principal retorne um código de saída zero."
            ],
            "id_hash": -3608005090373777856,
            "content_hash": -3608005090373777856,
            "location": "article.translate.xml:899",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 104,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 44,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100960/?format=api",
            "priority": 100,
            "id": 29534,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=4dedca7c80784640",
            "url": "https://translate-dev.freebsd.org/api/units/29534/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.798522Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "However, <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> can be instructed from the command line to ignore those exit codes and invoke all commands anyway by prefixing an argument with <literal>force</literal>, as in <option>forcestart</option>."
            ],
            "previous_source": "",
            "target": [
                "No entanto, o <citerefentry><refentrytitle>rc.subr</refentrytitle> <manvolnum>8</manvolnum></citerefentry> pode ser instruído a partir da linha de comando para ignorar esses códigos de saída e invocar todos os comandos, prefixando um argumento com <literal>force</literal>, como em <option>forcestart</option>."
            ],
            "id_hash": -5364063009051476169,
            "content_hash": -5364063009051476169,
            "location": "article.translate.xml:909",
            "context": "",
            "note": "(itstool) path: note/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 105,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 28,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100961/?format=api",
            "priority": 100,
            "id": 29535,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=358f051d00ac7f37",
            "url": "https://translate-dev.freebsd.org/api/units/29535/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.811873Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "Connecting a script to the rc.d framework"
            ],
            "previous_source": "",
            "target": [
                "Conectando um script ao framework rc.d"
            ],
            "id_hash": 7053380006231903344,
            "content_hash": 7053380006231903344,
            "location": "article.translate.xml:920",
            "context": "",
            "note": "(itstool) path: sect1/title",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 106,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100962/?format=api",
            "priority": 100,
            "id": 29536,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=e1e2a3bec94b8c70",
            "url": "https://translate-dev.freebsd.org/api/units/29536/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.820274Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "After a script has been written, it needs to be integrated into <filename>rc.d</filename>. The crucial step is to install the script in <filename>/etc/rc.d</filename> (for the base system) or <filename>/usr/local/etc/rc.d</filename> (for ports). Both &lt;<filename>bsd.prog.mk</filename>&gt; and &lt;<filename>bsd.port.mk</filename>&gt; provide convenient hooks for that, and usually you do not have to worry about the proper ownership and mode. System scripts should be installed from <filename>src/etc/rc.d</filename> through the <filename>Makefile</filename> found there. Port scripts can be installed using <varname>USE_RC_SUBR</varname> as described <link xlink:href=\"@@URL_RELPREFIX@@/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html\">in the Porter's Handbook</link>."
            ],
            "previous_source": "",
            "target": [
                "Depois que um script foi escrito, ele precisa ser integrado em <filename>rc.d></filename>. O passo crucial é instalar o script em <filename>/etc/rc.d</filename> (para o sistema base) ou <filename>/usr/local/etc/rc.d</filename> (para ports). Ambos &lt;<filename>bsd.prog.mk</filename> &gt; e &lt; <filename>bsd.port.mk</filename> &gt; fornecer ganchos convenientes para isso, e geralmente você não precisa se preocupar com a propriedade e o modo adequado. Os scripts do sistema devem ser instalados a partir do <filename>src /etc/rc.d</filename> através do <filename>Makefile</filename> encontrado lá. Os scripts de porta podem ser instalados usando <varname>USE_RC_SUBR</varname> conforme descrito em <link xlink:href=\"@@URL_RELPREFIX@@/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html\"> no Manual do Porter</link>."
            ],
            "id_hash": 558317923157982401,
            "content_hash": 558317923157982401,
            "location": "article.translate.xml:922",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 107,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 80,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100963/?format=api",
            "priority": 100,
            "id": 29537,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=87bf8b316990bcc1",
            "url": "https://translate-dev.freebsd.org/api/units/29537/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.834689Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "However, we should consider beforehand the place of our script in the system startup sequence. The service handled by our script is likely to depend on other services. For instance, a network daemon cannot function without the network interfaces and routing up and running. Even if a service seems to demand nothing, it can hardly start before the basic filesystems have been checked and mounted."
            ],
            "previous_source": "",
            "target": [
                "No entanto, devemos considerar antecipadamente o local do nosso script na sequência de inicialização do sistema. O serviço manipulado pelo nosso script provavelmente depende de outros serviços. Por exemplo, um daemon de rede não pode funcionar sem as interfaces de rede e o roteamento em funcionamento. Mesmo que um serviço pareça não exigir nada, dificilmente pode ser iniciado antes que os sistemas de arquivos básicos tenham sido verificados e montados."
            ],
            "id_hash": 1519188596848549681,
            "content_hash": 1519188596848549681,
            "location": "article.translate.xml:936",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 108,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 65,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100964/?format=api",
            "priority": 100,
            "id": 29538,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=95153dfad5fb5f31",
            "url": "https://translate-dev.freebsd.org/api/units/29538/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.853794Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "We mentioned <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> already. Now it is time to have a close look at it. In a nutshell, <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> takes a set of files, examines their contents, and prints a dependency-ordered list of files from the set to <varname>stdout</varname>. The point is to keep dependency information <emphasis>inside</emphasis> the files so that each file can speak for itself only. A file can specify the following information:"
            ],
            "previous_source": "",
            "target": [
                "Nós já mencionamos o <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry>. Agora é hora de dar uma olhada de perto. Em poucas palavras, o <citerefentry><refentrytitle>rcorder</refentrytitle> <manvolnum>8</manvolnum></citerefentry> pega um conjunto de arquivos, examina seu conteúdo e imprime uma lista ordenada por dependência de arquivos do conjunto para <varname>stdout</varname>. O objetivo é manter as informações de dependência <emphasis>dentro</emphasis> dos arquivos para que cada arquivo possa falar por si só. Um arquivo pode especificar as seguintes informações:"
            ],
            "id_hash": 101531057681882723,
            "content_hash": 101531057681882723,
            "location": "article.translate.xml:944",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 109,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 65,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100965/?format=api",
            "priority": 100,
            "id": 29539,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=8168b5f582cc5e63",
            "url": "https://translate-dev.freebsd.org/api/units/29539/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.874372Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "the names of the <quote>conditions</quote> (which means services to us) it <emphasis>provides</emphasis>;"
            ],
            "previous_source": "",
            "target": [
                "os nomes das <quote>condições</quote> (o que significa serviços para nós) que ele <emphasis>fornece</emphasis>;"
            ],
            "id_hash": 225789096188691523,
            "content_hash": 225789096188691523,
            "location": "article.translate.xml:955",
            "context": "",
            "note": "(itstool) path: listitem/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 110,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 12,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100966/?format=api",
            "priority": 100,
            "id": 29540,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=832229fc987bc443",
            "url": "https://translate-dev.freebsd.org/api/units/29540/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.884575Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "the names of the <quote>conditions</quote> it <emphasis>requires</emphasis>;"
            ],
            "previous_source": "",
            "target": [
                "os nomes das <quote>condições</quote> que ele <emphasis>requer</emphasis>;"
            ],
            "id_hash": -1611674606982221831,
            "content_hash": -1611674606982221831,
            "location": "article.translate.xml:960",
            "context": "",
            "note": "(itstool) path: listitem/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 111,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100967/?format=api",
            "priority": 100,
            "id": 29541,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=69a22e7be54eaff9",
            "url": "https://translate-dev.freebsd.org/api/units/29541/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.893643Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "the names of the <quote>conditions</quote> this file should run <emphasis>before</emphasis>;"
            ],
            "previous_source": "",
            "target": [
                "os nomes das <quote>condições</quote> deste arquivo devem ser executados <emphasis>antes</emphasis>;"
            ],
            "id_hash": 638629561108481909,
            "content_hash": 638629561108481909,
            "location": "article.translate.xml:965",
            "context": "",
            "note": "(itstool) path: listitem/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 112,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 10,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100968/?format=api",
            "priority": 100,
            "id": 29542,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=88dcde33c4ef4775",
            "url": "https://translate-dev.freebsd.org/api/units/29542/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.904879Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "additional <emphasis>keywords</emphasis> that can be used to select a subset from the whole set of files (<citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> can be instructed via options to include or omit the files having particular keywords listed.)"
            ],
            "previous_source": "",
            "target": [
                "<emphasis>palavras-chave adicionais</emphasis> que podem ser usadas para selecionar um subconjunto de todo o conjunto de arquivos (<citerefentry> <refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> podem ser instruídos através de opções para incluir ou omitir os arquivos com determinadas palavras-chave listadas.)"
            ],
            "id_hash": 54129518276744086,
            "content_hash": 54129518276744086,
            "location": "article.translate.xml:970",
            "context": "",
            "note": "(itstool) path: listitem/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 113,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 32,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100969/?format=api",
            "priority": 100,
            "id": 29543,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=80c04e8294bf9396",
            "url": "https://translate-dev.freebsd.org/api/units/29543/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.916767Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "It is no surprise that <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> can handle only text files with a syntax close to that of <citerefentry><refentrytitle>sh</refentrytitle><manvolnum>1</manvolnum></citerefentry>. That is, special lines understood by <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> look like <citerefentry><refentrytitle>sh</refentrytitle><manvolnum>1</manvolnum></citerefentry> comments. The syntax of such special lines is rather rigid to simplify their processing. See <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> for details."
            ],
            "previous_source": "",
            "target": [
                "Não é surpresa que <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> possa manipular apenas arquivos de texto com uma sintaxe próxima a de <citerefentry><refentrytitle>sh</refentrytitle><manvolnum>1</manvolnum></citerefentry>. Ou seja, linhas especiais compreendidas por <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> se parecem com comentários <citerefentry><refentrytitle>sh</refentrytitle><manvolnum>1</manvolnum></citerefentry>. A sintaxe de tais linhas especiais é bastante rígida para simplificar seu processamento. Veja <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> para detalhes."
            ],
            "id_hash": -1272750606938441363,
            "content_hash": -1272750606938441363,
            "location": "article.translate.xml:977",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 114,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 47,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100970/?format=api",
            "priority": 100,
            "id": 29544,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=6e564810f9c5796d",
            "url": "https://translate-dev.freebsd.org/api/units/29544/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.929273Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "Besides using <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> special lines, a script can insist on its dependency upon another service by just starting it forcibly. This can be needed when the other service is optional and will not start by itself because the system admin has disabled it mistakenly in <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>."
            ],
            "previous_source": "",
            "target": [
                "Além de usar linhas especiais do <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry>, um script pode insistir em sua dependência de outro serviço apenas iniciando-o forçadamente. Isso pode ser necessário quando o outro serviço é opcional e não será iniciado automaticamente porque o administrador do sistema o desativou por engano no <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>."
            ],
            "id_hash": 7828838331453083505,
            "content_hash": 7828838331453083505,
            "location": "article.translate.xml:984",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 115,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 46,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100971/?format=api",
            "priority": 100,
            "id": 29545,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=eca59efbc6390f71",
            "url": "https://translate-dev.freebsd.org/api/units/29545/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.954537Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "With this general knowledge in mind, let us consider the simple daemon script enhanced with dependency stuff:"
            ],
            "previous_source": "",
            "target": [
                "Com este conhecimento geral em mente, vamos considerar o simples script daemon aprimorado com coisas de dependência:"
            ],
            "id_hash": 5549096331808165804,
            "content_hash": 5549096331808165804,
            "location": "article.translate.xml:990",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 116,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 17,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100972/?format=api",
            "priority": 100,
            "id": 29546,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=cd0259b6a1d94fac",
            "url": "https://translate-dev.freebsd.org/api/units/29546/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.973741Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "#!/bin/sh\n\n# PROVIDE: mumbled oldmumble <co xml:id=\"rcng-hookup-provide\"/>\n# REQUIRE: DAEMON cleanvar frotz<co xml:id=\"rcng-hookup-require\"/>\n# BEFORE:  LOGIN<co xml:id=\"rcng-hookup-before\"/>\n# KEYWORD: nojail shutdown<co xml:id=\"rcng-hookup-keyword\"/>\n\n. /etc/rc.subr\n\nname=mumbled\nrcvar=mumbled_enable\n\ncommand=\"/usr/sbin/${name}\"\nstart_precmd=\"${name}_prestart\"\n\nmumbled_prestart()\n{\n\tif ! checkyesno frotz_enable &amp;&amp; \\\n\t    ! /etc/rc.d/frotz forcestatus 1&gt;/dev/null 2&gt;&amp;1; then\n\t\tforce_depend frotz || return 1<co xml:id=\"rcng-hookup-force\"/>\n\tfi\n\treturn 0\n}\n\nload_rc_config $name\nrun_rc_command \"$1\""
            ],
            "previous_source": "",
            "target": [
                "#!/bin/sh\n\n# PROVIDE: mumbled oldmumble <co xml:id=\"rcng-hookup-provide\"/>\n# REQUIRE: DAEMON cleanvar frotz<co xml:id=\"rcng-hookup-require\"/>\n# BEFORE:  LOGIN<co xml:id=\"rcng-hookup-before\"/>\n# KEYWORD: nojail shutdown<co xml:id=\"rcng-hookup-keyword\"/>\n\n. /etc/rc.subr\n\nname=mumbled\nrcvar=mumbled_enable\n\ncommand=\"/usr/sbin/${name}\"\nstart_precmd=\"${name}_prestart\"\n\nmumbled_prestart()\n{\n\tif ! checkyesno frotz_enable &amp;&amp; \\\n\t    ! /etc/rc.d/frotz forcestatus 1&gt;/dev/null 2&gt;&amp;1; then\n\t\tforce_depend frotz || return 1<co xml:id=\"rcng-hookup-force\"/>\n\tfi\n\treturn 0\n}\n\nload_rc_config $name\nrun_rc_command \"$1\""
            ],
            "id_hash": 2282921525182711423,
            "content_hash": 2282921525182711423,
            "location": "article.translate.xml:994",
            "context": "",
            "note": "(itstool) path: informalexample/programlisting",
            "flags": "no-wrap",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 117,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 56,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100973/?format=api",
            "priority": 100,
            "id": 29547,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=9fae91081e9bc67f",
            "url": "https://translate-dev.freebsd.org/api/units/29547/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:13.985942Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "As before, detailed analysis follows:"
            ],
            "previous_source": "",
            "target": [
                "Como antes, a análise detalhada segue:"
            ],
            "id_hash": 8525195396861254775,
            "content_hash": 8525195396861254775,
            "location": "article.translate.xml:1022",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 118,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100974/?format=api",
            "priority": 100,
            "id": 29548,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=f64f940b86b5dc77",
            "url": "https://translate-dev.freebsd.org/api/units/29548/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.002015Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "That line declares the names of <quote>conditions</quote> our script provides. Now other scripts can record a dependency on our script by those names."
            ],
            "previous_source": "",
            "target": [
                "Esta linha declara os nomes das <quote>condições</quote> que nosso script fornece. Agora, outros scripts podem registrar uma dependência em nosso script por estes nomes."
            ],
            "id_hash": -8781003688802166130,
            "content_hash": -8781003688802166130,
            "location": "article.translate.xml:1026",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 119,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 23,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100975/?format=api",
            "priority": 100,
            "id": 29549,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=06239bab358d5a8e",
            "url": "https://translate-dev.freebsd.org/api/units/29549/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.015334Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "Usually a script specifies a single condition provided. However, nothing prevents us from listing several conditions there, e.g., for compatibility reasons."
            ],
            "previous_source": "",
            "target": [
                "Geralmente, um script especifica uma única condição fornecida. No entanto, nada nos impede de listar várias condições, por exemplo, por razões de compatibilidade."
            ],
            "id_hash": -6552726513136606903,
            "content_hash": -6552726513136606903,
            "location": "article.translate.xml:1031",
            "context": "",
            "note": "(itstool) path: note/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 120,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 21,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100976/?format=api",
            "priority": 100,
            "id": 29550,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=251009f442356149",
            "url": "https://translate-dev.freebsd.org/api/units/29550/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.024204Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "In any case, the name of the main, or the only, <literal>PROVIDE:</literal> condition should be the same as <envar>${name}</envar>."
            ],
            "previous_source": "",
            "target": [
                "Em qualquer caso, o nome da condição principal, ou a única, <literal>PROVIDE:</literal> deve ser o mesmo que <envar>${name}</envar>."
            ],
            "id_hash": -4881781123582035967,
            "content_hash": -4881781123582035967,
            "location": "article.translate.xml:1036",
            "context": "",
            "note": "(itstool) path: note/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 121,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 19,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100977/?format=api",
            "priority": 100,
            "id": 29551,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=3c406deed1af7801",
            "url": "https://translate-dev.freebsd.org/api/units/29551/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.037317Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "So our script indicates which <quote>conditions</quote> provided by other scripts it depends on. According to the lines, our script asks <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> to put it after the script(s) providing <filename>DAEMON</filename> and <filename>cleanvar</filename>, but before that providing <filename>LOGIN</filename>."
            ],
            "previous_source": "",
            "target": [
                "Portanto, nosso script indica quais condições <quote></quote> são fornecidas por outros scripts dos quais depende. De acordo com as linhas, nosso script pede ao <citerefentry><refentrytitle>rcorder</refentrytitle> <manvolnum>8</manvolnum></citerefentry> para colocá-lo após o(s) script(s) fornecendo <filename>DAEMON</filename> e <filename>cleanvar</filename>, mas antes disso prover <filename>LOGIN</filename>."
            ],
            "id_hash": 4728212831987673864,
            "content_hash": 4728212831987673864,
            "location": "article.translate.xml:1043",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 122,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 36,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100978/?format=api",
            "priority": 100,
            "id": 29552,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=c19dfc850111ab08",
            "url": "https://translate-dev.freebsd.org/api/units/29552/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.050476Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "The <literal>BEFORE:</literal> line should not be abused to work around an incomplete dependency list in the other script. The appropriate case for using <literal>BEFORE:</literal> is when the other script does not care about ours, but our script can do its task better if run before the other one. A typical real-life example is the network interfaces vs. the firewall: While the interfaces do not depend on the firewall in doing their job, the system security will benefit from the firewall being ready before there is any network traffic."
            ],
            "previous_source": "",
            "target": [
                "A linha <literal>BEFORE:</literal> não deve ser abusada para contornar uma lista de dependências incompleta no outro script. O caso apropriado para usar o <literal>BEFORE:</literal> é quando o outro script não se importa com o nosso, mas nosso script pode fazer sua tarefa melhor se for executado antes do outro. Um típico exemplo da vida real são as interfaces de rede versus o firewall: embora as interfaces não dependam do firewall em realizar seu trabalho, a segurança do sistema se beneficiará do firewall estar pronto antes que haja qualquer tráfego de rede."
            ],
            "id_hash": -8014907797919040548,
            "content_hash": -8014907797919040548,
            "location": "article.translate.xml:1051",
            "context": "",
            "note": "(itstool) path: note/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 123,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 88,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100979/?format=api",
            "priority": 100,
            "id": 29553,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=10c553d29586fbdc",
            "url": "https://translate-dev.freebsd.org/api/units/29553/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.068334Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "Besides conditions corresponding to a single service each, there are meta-conditions and their <quote>placeholder</quote> scripts used to ensure that certain groups of operations are performed before others. These are denoted by <filename><replaceable>UPPERCASE</replaceable></filename> names. Their list and purposes can be found in <citerefentry><refentrytitle>rc</refentrytitle><manvolnum>8</manvolnum></citerefentry>."
            ],
            "previous_source": "",
            "target": [
                "Além das condições correspondentes a um único serviço, existem meta-condições e seus scripts <quote>placeholder</quote> usados para garantir que determinados grupos de operações sejam executados antes dos outros. Estes são denotados pelos nomes <filename><replaceable>UPPERCASE</replaceable></filename>. Sua lista e finalidades podem ser encontradas em <citerefentry><refentrytitle>rc</refentrytitle><manvolnum>8</manvolnum></citerefentry>."
            ],
            "id_hash": 4075970319473436810,
            "content_hash": 4075970319473436810,
            "location": "article.translate.xml:1063",
            "context": "",
            "note": "(itstool) path: note/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 124,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 42,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100980/?format=api",
            "priority": 100,
            "id": 29554,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=b890c168ff3fe88a",
            "url": "https://translate-dev.freebsd.org/api/units/29554/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.076733Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "Keep in mind that putting a service name in the <literal>REQUIRE:</literal> line does not guarantee that the service will actually be running by the time our script starts. The required service may fail to start or just be disabled in <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>. Obviously, <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> cannot track such details, and <citerefentry><refentrytitle>rc</refentrytitle><manvolnum>8</manvolnum></citerefentry> will not do that either. Consequently, the application started by our script should be able to cope with any required services being unavailable. In certain cases, we can help it as discussed <link linkend=\"forcedep\">below.</link>"
            ],
            "previous_source": "",
            "target": [
                "Tenha em mente que colocar um nome de serviço na linha <literal>REQUIRE:</literal> não garante que o serviço estará realmente em execução no momento em que nosso script for iniciado. O serviço necessário pode falhar ao iniciar ou simplesmente ser desativado em <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum> </citerefentry>. Obviamente, o <citerefentry><refentrytitle>rcorder</refentrytitle> <manvolnum>8</manvolnum></citerefentry> não pode controlar tais detalhes, e o <citerefentry><refentrytitle>rc</refentrytitle><manvolnum>8</manvolnum></citerefentry> também não fará isso. Consequentemente, o aplicativo iniciado por nosso script deve ser capaz de lidar com quaisquer serviços necessários indisponíveis. Em certos casos, podemos ajudá-lo conforme discutido <link linkend=\"forcedep\">abaixo.</link>"
            ],
            "id_hash": 6067292923099189628,
            "content_hash": 6067292923099189628,
            "location": "article.translate.xml:1072",
            "context": "",
            "note": "(itstool) path: note/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 125,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 83,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100981/?format=api",
            "priority": 100,
            "id": 29555,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=d4335ac48591917c",
            "url": "https://translate-dev.freebsd.org/api/units/29555/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.091396Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "<anchor xml:id=\"keywords\"/>As we remember from the above text, <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> keywords can be used to select or leave out some scripts. Namely any <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> consumer can specify through <option>-k</option> and <option>-s</option> options which keywords are on the <quote>keep list</quote> and <quote>skip list</quote>, respectively. From all the files to be dependency sorted, <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> will pick only those having a keyword from the keep list (unless empty) and not having a keyword from the skip list."
            ],
            "previous_source": "",
            "target": [
                "<anchor xml:id=\"keywords\"/> Como lembramos do texto acima, as palavras-chave do <citerefentry><refentrytitle>rcorder</refentrytitle> <manvolnum>8</manvolnum> </citerefentry> podem ser usadas para selecionar ou deixar alguns scripts. Ou seja, qualquer consumidor <citerefentry><refentrytitle>rcorder</refentrytitle> <manvolnum>8</manvolnum></citerefentry> pode especificar através das opções <option>-k</option> e <option>-s</option> que as palavras-chave estão na <quote>keep list</quote> e na <quote>skip list</quote>, respectivamente. De todos os arquivos a serem classificados, o <citerefentry><refentrytitle>rcorder</refentrytitle> <manvolnum>8</manvolnum></citerefentry> selecionará apenas aqueles que tiverem uma palavra-chave da lista de manutenção (a menos que vazia) e não uma palavra-chave da lista de itens ignorados."
            ],
            "id_hash": 1633420940850633007,
            "content_hash": 1633420940850633007,
            "location": "article.translate.xml:1086",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 126,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 73,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100982/?format=api",
            "priority": 100,
            "id": 29556,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=96ab13b10416192f",
            "url": "https://translate-dev.freebsd.org/api/units/29556/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.100144Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "In FreeBSD, <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> is used by <filename>/etc/rc</filename> and <filename>/etc/rc.shutdown</filename>. These two scripts define the standard list of FreeBSD <filename>rc.d</filename> keywords and their meanings as follows:"
            ],
            "previous_source": "",
            "target": [
                "No FreeBSD, o <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> é usado por <filename>/etc/rc</filename> e <filename>/etc/rc.shutdown</filename>. Esses dois scripts definem a lista padrão de palavras-chave do <filename>rc.d</filename> do FreeBSD e seus significados da seguinte forma:"
            ],
            "id_hash": -6296908731314471861,
            "content_hash": -6296908731314471861,
            "location": "article.translate.xml:1096",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 127,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 25,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100983/?format=api",
            "priority": 100,
            "id": 29557,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=289ce2df0ef1fc4b",
            "url": "https://translate-dev.freebsd.org/api/units/29557/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.113924Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "<literal>nojail</literal>"
            ],
            "previous_source": "",
            "target": [
                "<literal>nojail</literal>"
            ],
            "id_hash": -2034473841305681470,
            "content_hash": -2034473841305681470,
            "location": "article.translate.xml:1104",
            "context": "",
            "note": "(itstool) path: varlistentry/term",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 128,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100984/?format=api",
            "priority": 100,
            "id": 29558,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=63c418d2082681c2",
            "url": "https://translate-dev.freebsd.org/api/units/29558/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.122669Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "The service is not for <citerefentry><refentrytitle>jail</refentrytitle><manvolnum>8</manvolnum></citerefentry> environment. The automatic startup and shutdown procedures will ignore the script if inside a jail."
            ],
            "previous_source": "",
            "target": [
                "O serviço não é para o ambiente <citerefentry><refentrytitle>jail</refentrytitle><manvolnum>8</manvolnum> </citerefentry>. Os procedimentos automáticos de inicialização e encerramento ignoram o script se estiverem executando dentro de uma jail."
            ],
            "id_hash": -4207599916604739503,
            "content_hash": -4207599916604739503,
            "location": "article.translate.xml:1107",
            "context": "",
            "note": "(itstool) path: listitem/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 129,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 21,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100985/?format=api",
            "priority": 100,
            "id": 29559,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=459b9a2b2dcfb051",
            "url": "https://translate-dev.freebsd.org/api/units/29559/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.132644Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "<literal>nostart</literal>"
            ],
            "previous_source": "",
            "target": [
                "<literal>nostart</literal>"
            ],
            "id_hash": 5510700410974668716,
            "content_hash": 5510700410974668716,
            "location": "article.translate.xml:1114",
            "context": "",
            "note": "(itstool) path: varlistentry/term",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 130,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100986/?format=api",
            "priority": 100,
            "id": 29560,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=cc79f0d3abbe87ac",
            "url": "https://translate-dev.freebsd.org/api/units/29560/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.142974Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "The service is to be started manually or not started at all. The automatic startup procedure will ignore the script. In conjunction with the <literal>shutdown</literal> keyword, this can be used to write scripts that do something only at system shutdown."
            ],
            "previous_source": "",
            "target": [
                "O serviço deve ser iniciado manualmente ou não iniciado. O procedimento de inicialização automática irá ignorar o script. Em conjunto com a palavra-chave <literal>shutdown</literal>, isso pode ser usado para escrever scripts que fazem algo apenas no desligamento do sistema."
            ],
            "id_hash": -2485404511038926626,
            "content_hash": -2485404511038926626,
            "location": "article.translate.xml:1117",
            "context": "",
            "note": "(itstool) path: listitem/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 131,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 40,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100987/?format=api",
            "priority": 100,
            "id": 29561,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=5d8211c3f45f10de",
            "url": "https://translate-dev.freebsd.org/api/units/29561/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.156167Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "<literal>shutdown</literal>"
            ],
            "previous_source": "",
            "target": [
                "<literal>shutdown</literal>"
            ],
            "id_hash": -6305970418501695765,
            "content_hash": -6305970418501695765,
            "location": "article.translate.xml:1127",
            "context": "",
            "note": "(itstool) path: varlistentry/term",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 132,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100988/?format=api",
            "priority": 100,
            "id": 29562,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=287cb1509915c6eb",
            "url": "https://translate-dev.freebsd.org/api/units/29562/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.163640Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "This keyword is to be listed <emphasis>explicitly</emphasis> if the service needs to be stopped before system shutdown."
            ],
            "previous_source": "",
            "target": [
                "Esta palavra-chave deve ser listada <emphasis>explicitamente</emphasis> se o serviço precisar ser interrompido antes do desligamento do sistema."
            ],
            "id_hash": 5760985844660864778,
            "content_hash": 5760985844660864778,
            "location": "article.translate.xml:1130",
            "context": "",
            "note": "(itstool) path: listitem/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 133,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 17,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100989/?format=api",
            "priority": 100,
            "id": 29563,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=cff3221a4b10870a",
            "url": "https://translate-dev.freebsd.org/api/units/29563/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.172696Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "When the system is going to shut down, <filename>/etc/rc.shutdown</filename> runs. It assumes that most <filename>rc.d</filename> scripts have nothing to do at that time. Therefore <filename>/etc/rc.shutdown</filename> selectively invokes <filename>rc.d</filename> scripts with the <literal>shutdown</literal> keyword, effectively ignoring the rest of the scripts. For even faster shutdown, <filename>/etc/rc.shutdown</filename> passes the <option>faststop</option> command to the scripts it runs so that they skip preliminary checks, e.g., the pidfile check. As dependent services should be stopped before their prerequisites, <filename>/etc/rc.shutdown</filename> runs the scripts in reverse dependency order."
            ],
            "previous_source": "",
            "target": [
                "Quando o sistema for desligado, o <filename>/etc/rc.shutdown</filename> será executado. Ele assume que a maioria dos scripts <filename>rc.d</filename> não tem nada a fazer naquele momento. Portanto, <filename>/etc/rc.shutdown</filename> invoca seletivamente os scripts <filename>rc.d</filename> com a palavra-chave <literal>shutdown</literal>, efetivamente ignorando o restante dos scripts. Para um desligamento ainda mais rápido, o <filename>/etc/rc.shutdown</filename> passa o comando <option>faststop</option> para os scripts que executa, para que eles ignorem as verificações preliminares, por exemplo, a verificação do pidfile. Como os serviços dependentes devem ser parados antes de seus pré-requisitos, <filename>/etc/rc.shutdown</filename> executa os scripts na ordem de dependência inversa."
            ],
            "id_hash": -8964946195161393010,
            "content_hash": -8964946195161393010,
            "location": "article.translate.xml:1135",
            "context": "",
            "note": "(itstool) path: note/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 134,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 81,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100990/?format=api",
            "priority": 100,
            "id": 29564,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=03961cef0eea588e",
            "url": "https://translate-dev.freebsd.org/api/units/29564/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.181523Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "If writing a real <filename>rc.d</filename> script, you should consider whether it is relevant at system shutdown time. E.g., if your script does its work in response to the <option>start</option> command only, then you need not include this keyword. However, if your script manages a service, it is probably a good idea to stop it before the system proceeds to the final stage of its shutdown sequence described in <citerefentry><refentrytitle>halt</refentrytitle><manvolnum>8</manvolnum></citerefentry>. In particular, a service should be stopped explicitly if it needs considerable time or special actions to shut down cleanly. A typical example of such a service is a database engine."
            ],
            "previous_source": "",
            "target": [
                "Se estiver escrevendo um script <filename>rc.d</filename> real, você deve considerar se é relevante no momento do desligamento do sistema. Por exemplo, se o seu script funcionar apenas em resposta ao comando <option>start</option>, não será necessário incluir essa palavra-chave. No entanto, se o seu script gerenciar um serviço, provavelmente será uma boa ideia pará-lo antes que o sistema prossiga para o estágio final de sua seqüência de desligamento descrita em <citerefentry><refentrytitle>halt</refentrytitle><manvolnum>8</manvolnum></citerefentry>. Em particular, um serviço deve ser interrompido explicitamente se precisar de tempo considerável ou ações especiais para encerrar de forma limpa. Um exemplo típico de tal serviço é um mecanismo de banco de dados."
            ],
            "id_hash": 3304668111386573832,
            "content_hash": 3304668111386573832,
            "location": "article.translate.xml:1152",
            "context": "",
            "note": "(itstool) path: note/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 135,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 100,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100991/?format=api",
            "priority": 100,
            "id": 29565,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=addc8a236fc1fc08",
            "url": "https://translate-dev.freebsd.org/api/units/29565/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.195087Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "<anchor xml:id=\"forcedep\"/>To begin with, <function>force_depend</function> should be used with much care. It is generally better to revise the hierarchy of configuration variables for your <filename>rc.d</filename> scripts if they are interdependent."
            ],
            "previous_source": "",
            "target": [
                "<anchor xml:id=\"forcedep\"/> Para começar, <function>force_depend</function> deve ser usado com muito cuidado. Geralmente é melhor revisar a hierarquia de variáveis de configuração para seus scripts <filename>rc.</filename> se eles forem interdependentes."
            ],
            "id_hash": 8505099843010589953,
            "content_hash": 8505099843010589953,
            "location": "article.translate.xml:1173",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 136,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 30,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100992/?format=api",
            "priority": 100,
            "id": 29566,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=f6082f3ec9e07501",
            "url": "https://translate-dev.freebsd.org/api/units/29566/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.208500Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "If you still cannot do without <function>force_depend</function>, the example offers an idiom of how to invoke it conditionally. In the example, our <command>mumbled</command> daemon requires that another one, <command>frotz</command>, be started in advance. However, <command>frotz</command> is optional, too; and <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> knows nothing about such details. Fortunately, our script has access to all <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> variables. If <envar>frotz_enable</envar> is true, we hope for the best and rely on <filename>rc.d</filename> to have started <command>frotz</command>. Otherwise we forcibly check the status of <command>frotz</command>. Finally, we enforce our dependency on <command>frotz</command> if it is found to be not running. A warning message will be emitted by <function>force_depend</function> because it should be invoked only if a misconfiguration has been detected."
            ],
            "previous_source": "",
            "target": [
                "Se você ainda não pode fazer sem <function>force_depend</function>, o exemplo oferece uma expressão de como invocá-lo condicionalmente. No exemplo, nosso daemon <command>mumbled</command> requer que outro, <command>frotz</command>, seja iniciado antecipadamente. No entanto, <command>frotz</command> é opcional também; e <citerefentry><refentrytitle>rcorder</refentrytitle><manvolnum>8</manvolnum></citerefentry> não sabe nada sobre esses detalhes. Felizmente, nosso script tem acesso a todas as variáveis <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>. Se <envar>frotz_enable</envar> estiver como true, esperamos pelo melhor e dependemos de <filename>rc.d</filename> para iniciar <command>frotz</command>. Caso contrário, nós forçadamente verificaremos o status de <command>frotz</command>. Finalmente, impomos nossa dependência ao <command>frotz</command> se ele não estiver sendo executado. Uma mensagem de aviso será emitida por <function>force_depend</function> porque ele deve ser chamado apenas se um erro de configuração for detectado."
            ],
            "id_hash": 6258329220729559964,
            "content_hash": 6258329220729559964,
            "location": "article.translate.xml:1179",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 137,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 114,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100993/?format=api",
            "priority": 100,
            "id": 29567,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=d6da0d44a9085b9c",
            "url": "https://translate-dev.freebsd.org/api/units/29567/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.220836Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "Giving more flexibility to an rc.d script"
            ],
            "previous_source": "",
            "target": [
                "Dando mais flexibilidade a um script rc.d"
            ],
            "id_hash": 5501303671320571151,
            "content_hash": 5501303671320571151,
            "location": "article.translate.xml:1201",
            "context": "",
            "note": "(itstool) path: sect1/title",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 138,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100994/?format=api",
            "priority": 100,
            "id": 29568,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=cc588e8aba9d6d0f",
            "url": "https://translate-dev.freebsd.org/api/units/29568/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.233343Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "When invoked during startup or shutdown, an <filename>rc.d</filename> script is supposed to act on the entire subsystem it is responsible for. E.g., <filename>/etc/rc.d/netif</filename> should start or stop all network interfaces described by <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>. Either task can be uniquely indicated by a single command argument such as <option>start</option> or <option>stop</option>. Between startup and shutdown, <filename>rc.d</filename> scripts help the admin to control the running system, and it is when the need for more flexibility and precision arises. For instance, the admin may want to add the settings of a new network interface to <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> and then to start it without interfering with the operation of the existing interfaces. Next time the admin may need to shut down a single network interface. In the spirit of the command line, the respective <filename>rc.d</filename> script calls for an extra argument, the interface name."
            ],
            "previous_source": "",
            "target": [
                "Quando chamado durante a inicialização ou desligamento, um script <filename> rc.d</filename> deve agir em todo o subsistema pelo qual é responsável. Por exemplo, <filename>/etc/rc.d/netif</filename> deve iniciar ou parar todas as interfaces de rede descritas por <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>. Qualquer tarefa pode ser indicada exclusivamente por um único argumento de comando, como <option>start</option> ou <option>stop</option>. Entre a inicialização e o desligamento, os scripts <filename>rc.d</filename> ajudam o administrador a controlar o sistema em execução, e é quando surge a necessidade de mais flexibilidade e precisão. Por exemplo, o administrador pode querer adicionar as configurações de uma nova interface de rede ao <citerefentry><refentrytitle>rc.conf</refentrytitle> <manvolnum>5</manvolnum></citerefentry> e então iniciá-lo sem interferir o funcionamento das interfaces existentes. Da próxima vez, o administrador pode precisar desligar uma única interface de rede. No espírito da linha de comando, o respectivo script <filename>rc.d</filename> solicita um argumento extra, o nome da interface."
            ],
            "id_hash": 1673172030049150508,
            "content_hash": 1673172030049150508,
            "location": "article.translate.xml:1203",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 139,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 138,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100995/?format=api",
            "priority": 100,
            "id": 29569,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=97384d18b332e62c",
            "url": "https://translate-dev.freebsd.org/api/units/29569/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.242395Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "Fortunately, <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> allows for passing any number of arguments to script's methods (within the system limits). Due to that, the changes in the script itself can be minimal."
            ],
            "previous_source": "",
            "target": [
                "Felizmente, <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> permite passar qualquer número de argumentos para os métodos do script (dentro dos limites do sistema). Devido a isso, as alterações no próprio script podem ser mínimas."
            ],
            "id_hash": 7875804198301065836,
            "content_hash": 7875804198301065836,
            "location": "article.translate.xml:1221",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 140,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 28,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100996/?format=api",
            "priority": 100,
            "id": 29570,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=ed4c7a30c843e26c",
            "url": "https://translate-dev.freebsd.org/api/units/29570/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.257635Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "How can <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> gain access to the extra command-line arguments. Should it just grab them directly? Not by any means. Firstly, an <citerefentry><refentrytitle>sh</refentrytitle><manvolnum>1</manvolnum></citerefentry> function has no access to the positional parameters of its caller, but <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> is just a sack of such functions. Secondly, the good manner of <filename>rc.d</filename> dictates that it is for the main script to decide which arguments are to be passed to its methods."
            ],
            "previous_source": "",
            "target": [
                "Como o <citerefentry><refentrytitle>rc.subr</refentrytitle> <manvolnum>8</manvolnum></citerefentry> pode obter acesso aos argumentos de linha de comando extra. Deveria pegá-los diretamente? Não por qualquer meio. Primeiro, uma função <citerefentry><refentrytitle>sh</refentrytitle><manvolnum>1</manvolnum></citerefentry> não tem acesso aos parâmetros posicionais de seu chamador, mas o <citerefentry><refentrytitle>rc.subr</refentrytitle> <manvolnum>8</manvolnum></citerefentry> é apenas uma despedida de tais funções. Em segundo lugar, a boa maneira de <filename>rc.d</filename> determina que é para o script principal decidir quais argumentos devem ser passados para seus métodos."
            ],
            "id_hash": -8239058580608122339,
            "content_hash": -8239058580608122339,
            "location": "article.translate.xml:1225",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 141,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 68,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100997/?format=api",
            "priority": 100,
            "id": 29571,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=0da8fbdf9338021d",
            "url": "https://translate-dev.freebsd.org/api/units/29571/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.269951Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "So the approach adopted by <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> is as follows: <function>run_rc_command</function> passes on all its arguments but the first one to the respective method verbatim. The first, omitted, argument is the name of the method itself: <option>start</option>, <option>stop</option>, etc. It will be shifted out by <function>run_rc_command</function>, so what is <envar>$2</envar> in the original command line will be presented as <envar>$1</envar> to the method, and so on."
            ],
            "previous_source": "",
            "target": [
                "Portanto, a abordagem adotada por <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> é a seguinte: <function>run_rc_command</function> transmite todos os seus argumentos, mas o primeiro um para o respectivo método na íntegra. O primeiro, omitido, argumento é o nome do próprio método: <option>start</option>,<option>stop</option>, etc. Ele será deslocado por <function>run_rc_command</function>, então o que é <envar>$2</envar> na linha de comando original será apresentado como <envar>$1</envar> ao método, e assim por diante."
            ],
            "id_hash": -9085742560490091489,
            "content_hash": -9085742560490091489,
            "location": "article.translate.xml:1235",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 142,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 65,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100998/?format=api",
            "priority": 100,
            "id": 29572,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=01e8f54791570c1f",
            "url": "https://translate-dev.freebsd.org/api/units/29572/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.287480Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "To illustrate this opportunity, let us modify the primitive dummy script so that its messages depend on the additional arguments supplied. Here we go:"
            ],
            "previous_source": "",
            "target": [
                "Para ilustrar essa oportunidade, vamos modificar o script fictício primitivo para que suas mensagens dependam dos argumentos adicionais fornecidos. Aqui vamos nós:"
            ],
            "id_hash": 2018941707528075858,
            "content_hash": 2018941707528075858,
            "location": "article.translate.xml:1244",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 143,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 24,
            "source_unit": "https://translate-dev.freebsd.org/api/units/100999/?format=api",
            "priority": 100,
            "id": 29573,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=9c04b8c9436e7a52",
            "url": "https://translate-dev.freebsd.org/api/units/29573/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.298815Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "#!/bin/sh\n\n. /etc/rc.subr\n\nname=\"dummy\"\nstart_cmd=\"${name}_start\"\nstop_cmd=\":\"\nkiss_cmd=\"${name}_kiss\"\nextra_commands=\"kiss\"\n\ndummy_start()\n{\n        if [ $# -gt 0 ]; then<co xml:id=\"rcng-args-start\"/>\n                echo \"Greeting message: $*\"\n        else\n                echo \"Nothing started.\"\n        fi\n}\n\ndummy_kiss()\n{\n        echo -n \"A ghost gives you a kiss\"\n        if [ $# -gt 0 ]; then<co xml:id=\"rcng-args-kiss\"/>\n                echo -n \" and whispers: $*\"\n        fi\n        case \"$*\" in\n        *[.!?])\n                echo\n                ;;\n        *)\n                echo .\n                ;;\n        esac\n}\n\nload_rc_config $name\nrun_rc_command \"$@\"<co xml:id=\"rcng-args-all\"/>"
            ],
            "previous_source": "",
            "target": [
                "#!/bin/sh\n\n. /etc/rc.subr\n\nname=\"dummy\"\nstart_cmd=\"${name}_start\"\nstop_cmd=\":\"\nkiss_cmd=\"${name}_kiss\"\nextra_commands=\"kiss\"\n\ndummy_start()\n{\n        if [ $# -gt 0 ]; then<co xml:id=\"rcng-args-start\"/>\n                echo \"Greeting message: $*\"\n        else\n                echo \"Nothing started.\"\n        fi\n}\n\ndummy_kiss()\n{\n        echo -n \"A ghost gives you a kiss\"\n        if [ $# -gt 0 ]; then<co xml:id=\"rcng-args-kiss\"/>\n                echo -n \" and whispers: $*\"\n        fi\n        case \"$*\" in\n        *[.!?])\n                echo\n                ;;\n        *)\n                echo .\n                ;;\n        esac\n}\n\nload_rc_config $name\nrun_rc_command \"$@\"<co xml:id=\"rcng-args-all\"/>"
            ],
            "id_hash": -7952718480758322461,
            "content_hash": -7952718480758322461,
            "location": "article.translate.xml:1249",
            "context": "",
            "note": "(itstool) path: informalexample/programlisting",
            "flags": "no-wrap",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 144,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 70,
            "source_unit": "https://translate-dev.freebsd.org/api/units/101000/?format=api",
            "priority": 100,
            "id": 29574,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=11a244ad53b74ae3",
            "url": "https://translate-dev.freebsd.org/api/units/29574/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.309046Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "What essential changes can we notice in the script?"
            ],
            "previous_source": "",
            "target": [
                "Quais mudanças essenciais podemos notar no script?"
            ],
            "id_hash": -7374832491025990193,
            "content_hash": -7374832491025990193,
            "location": "article.translate.xml:1288",
            "context": "",
            "note": "(itstool) path: sect1/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 145,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 9,
            "source_unit": "https://translate-dev.freebsd.org/api/units/101001/?format=api",
            "priority": 100,
            "id": 29575,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=19a754ec4662fdcf",
            "url": "https://translate-dev.freebsd.org/api/units/29575/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.325116Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "All arguments you type after <option>start</option> can end up as positional parameters to the respective method. We can use them in any way according to our task, skills, and fancy. In the current example, we just pass all of them to <citerefentry><refentrytitle>echo</refentrytitle><manvolnum>1</manvolnum></citerefentry> as one string in the next line — note <envar>$*</envar> within the double quotes. Here is how the script can be invoked now:"
            ],
            "previous_source": "",
            "target": [
                "Todos os argumentos digitados após <option>start</option> podem terminar como parâmetros posicionais para o respectivo método. Podemos usá-los de qualquer maneira de acordo com nossa tarefa, habilidades e fantasia. No exemplo atual, apenas passamos todos eles para <citerefentry><refentrytitle>echo</refentrytitle> <manvolnum>1</manvolnum></citerefentry> como uma cadeia na linha seguinte - note <envar>$*</envar> entre aspas duplas. Aqui está como o script pode ser chamado agora:"
            ],
            "id_hash": -8502472323657995574,
            "content_hash": -8502472323657995574,
            "location": "article.translate.xml:1292",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 146,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 65,
            "source_unit": "https://translate-dev.freebsd.org/api/units/101002/?format=api",
            "priority": 100,
            "id": 29576,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=0a0126783bc66aca",
            "url": "https://translate-dev.freebsd.org/api/units/29576/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.340928Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "<prompt>#</prompt> <userinput>/etc/rc.d/dummy start</userinput>\nNothing started.\n<prompt>#</prompt> <userinput>/etc/rc.d/dummy start Hello world!</userinput>\nGreeting message: Hello world!"
            ],
            "previous_source": "",
            "target": [
                "<prompt>#</prompt> <userinput>/etc/rc.d/dummy start</userinput>\nNothing started.\n<prompt>#</prompt> <userinput>/etc/rc.d/dummy start Hello world!</userinput>\nGreeting message: Hello world!"
            ],
            "id_hash": -9198748307883779914,
            "content_hash": -9198748307883779914,
            "location": "article.translate.xml:1300",
            "context": "",
            "note": "(itstool) path: callout/screen",
            "flags": "no-wrap",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 147,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 14,
            "source_unit": "https://translate-dev.freebsd.org/api/units/101003/?format=api",
            "priority": 100,
            "id": 29577,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=00577b26aa5c98b6",
            "url": "https://translate-dev.freebsd.org/api/units/29577/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.353383Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "The same applies to any method our script provides, not only to a standard one. We have added a custom method named <option>kiss</option>, and it can take advantage of the extra arguments not less than <option>start</option> does. E.g.:"
            ],
            "previous_source": "",
            "target": [
                "O mesmo se aplica a qualquer método que nosso script forneça, não apenas a um método padrão. Nós adicionamos um método customizado chamado <option>kiss</option>, e ele pode tirar proveito dos argumentos extras da mesma forma que o <option>start</option> tira. Por exemplo:"
            ],
            "id_hash": 314824047953188152,
            "content_hash": 314824047953188152,
            "location": "article.translate.xml:1307",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 148,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 38,
            "source_unit": "https://translate-dev.freebsd.org/api/units/101004/?format=api",
            "priority": 100,
            "id": 29578,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=845e7acdb9001538",
            "url": "https://translate-dev.freebsd.org/api/units/29578/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.366725Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "<prompt>#</prompt> <userinput>/etc/rc.d/dummy kiss</userinput>\nA ghost gives you a kiss.\n<prompt>#</prompt> <userinput>/etc/rc.d/dummy kiss Once I was Etaoin Shrdlu...</userinput>\nA ghost gives you a kiss and whispers: Once I was Etaoin Shrdlu..."
            ],
            "previous_source": "",
            "target": [
                "<prompt>#</prompt> <userinput>/etc/rc.d/dummy kiss</userinput>\nA ghost gives you a kiss.\n<prompt>#</prompt> <userinput>/etc/rc.d/dummy kiss Once I was Etaoin Shrdlu...</userinput>\nA ghost gives you a kiss and whispers: Once I was Etaoin Shrdlu..."
            ],
            "id_hash": 972163877816749238,
            "content_hash": 972163877816749238,
            "location": "article.translate.xml:1313",
            "context": "",
            "note": "(itstool) path: callout/screen",
            "flags": "no-wrap",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 149,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 30,
            "source_unit": "https://translate-dev.freebsd.org/api/units/101005/?format=api",
            "priority": 100,
            "id": 29579,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=8d7dd1e568bbccb6",
            "url": "https://translate-dev.freebsd.org/api/units/29579/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.375724Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_rc-scripting/pt_BR/?format=api",
            "source": [
                "If we want just to pass all extra arguments to any method, we can merely substitute <literal>\"$@\"</literal> for <literal>\"$1\"</literal> in the last line of our script, where we invoke <function>run_rc_command</function>."
            ],
            "previous_source": "",
            "target": [
                "Se quisermos apenas passar todos os argumentos extras para qualquer método, podemos simplesmente substituir <literal>\"$@\"</literal> por <literal>\"$ 1\"</literal> na última linha do nosso script, onde invocamos o <function>run_rc_command</function>."
            ],
            "id_hash": 4630993141634971104,
            "content_hash": 4630993141634971104,
            "location": "article.translate.xml:1320",
            "context": "",
            "note": "(itstool) path: callout/para",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 150,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 30,
            "source_unit": "https://translate-dev.freebsd.org/api/units/101006/?format=api",
            "priority": 100,
            "id": 29580,
            "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=c04497b9ec6c35e0",
            "url": "https://translate-dev.freebsd.org/api/units/29580/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2019-10-20T12:16:14.388972Z"
        }
    ]
}