Translation components API.

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

GET /api/translations/documentation/articlesrc-scripting_index/pt/units/?format=api&page=2
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 215,
    "next": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/units/?format=api&page=3",
    "previous": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/units/?format=api",
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "dummy_start()\n{\n\techo \"$dummy_msg\" <.>\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5368516192840741007,
            "content_hash": 5368516192840741007,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:260",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 53,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381749/?format=api",
            "priority": 100,
            "id": 1685692,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=ca80cd08a534708f",
            "url": "https://translate-dev.freebsd.org/api/units/1685692/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.178310Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "run_rc_command \"$1\"\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3567951377556941211,
            "content_hash": 3567951377556941211,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:262, documentation/content/en/articles/rc-scripting/_index.adoc:972",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 54,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381751/?format=api",
            "priority": 100,
            "id": 1685693,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=b183e8dfc325a99b",
            "url": "https://translate-dev.freebsd.org/api/units/1685693/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.178943Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "What changed in this example?"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2104992892649646798,
            "content_hash": -2104992892649646798,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:265",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 55,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381753/?format=api",
            "priority": 100,
            "id": 1685694,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=62c9901deae55532",
            "url": "https://translate-dev.freebsd.org/api/units/1685694/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.179547Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10122; The variable `rcvar` specifies the name of the ON/OFF knob variable."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 496651994295815603,
            "content_hash": 496651994295815603,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:267",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 56,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 12,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381755/?format=api",
            "priority": 100,
            "id": 1685695,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=86e4765b80fdcdb3",
            "url": "https://translate-dev.freebsd.org/api/units/1685695/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.180144Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10123; Now `load_rc_config` is invoked earlier in the script, before any man:rc.conf[5] variables are accessed."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8771880043263535440,
            "content_hash": -8771880043263535440,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:269",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 57,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 15,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381757/?format=api",
            "priority": 100,
            "id": 1685696,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=0644059378f056b0",
            "url": "https://translate-dev.freebsd.org/api/units/1685696/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.180771Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "While examining [.filename]#rc.d# scripts, keep in mind that man:sh[1] defers the evaluation of expressions in a function until the latter is called.  Therefore it is not an error to invoke `load_rc_config` as late as just before `run_rc_command` and still access man:rc.conf[5] variables from the method functions exported to `run_rc_command`.  This is because the method functions are to be called by `run_rc_command`, which is invoked _after_ `load_rc_config`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4233901618529474697,
            "content_hash": 4233901618529474697,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:275",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 58,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 66,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611654/?format=api",
            "priority": 100,
            "id": 1685697,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=bac1d71702669889",
            "url": "https://translate-dev.freebsd.org/api/units/1685697/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.181418Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10124; A warning will be emitted by `run_rc_command` if `rcvar` itself is set, but the indicated knob variable is unset.  If your [.filename]#rc.d# script is for the base system, you should add a default setting for the knob to [.filename]#/etc/defaults/rc.conf# and document it in man:rc.conf[5].  Otherwise it is your script that should provide a default setting for the knob.  The canonical approach to the latter case is shown in the example."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -856836263315381427,
            "content_hash": -856836263315381427,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:281",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 59,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 71,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611656/?format=api",
            "priority": 100,
            "id": 1685698,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=741be7f54e69e34d",
            "url": "https://translate-dev.freebsd.org/api/units/1685698/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.182090Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "You can make man:rc.subr[8] act as though the knob is set to `ON`, irrespective of its current setting, by prefixing the argument to the script with `one` or `force`, as in `onestart` or `forcestop`.  Keep in mind though that `force` has other dangerous effects we will touch upon below, while `one` just overrides the ON/OFF knob.  E.g., assume that `dummy_enable` is `OFF`.  The following command will run the `start` method in spite of the setting:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2137394567639081328,
            "content_hash": 2137394567639081328,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:288",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 60,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 75,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611658/?format=api",
            "priority": 100,
            "id": 1685699,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=9da98d08ecfa2170",
            "url": "https://translate-dev.freebsd.org/api/units/1685699/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.182791Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "# /etc/rc.d/dummy onestart\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 9101981481088273168,
            "content_hash": 9101981481088273168,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:292",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 61,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381765/?format=api",
            "priority": 100,
            "id": 1685700,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=fe50bbeec4734b10",
            "url": "https://translate-dev.freebsd.org/api/units/1685700/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.183471Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10125; Now the message to be shown at boot time is no longer hard-coded in the script.  It is specified by an man:rc.conf[5] variable named `dummy_msg`.  This is a trivial example of how man:rc.conf[5] variables can control an [.filename]#rc.d# script."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4114527790951083825,
            "content_hash": -4114527790951083825,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:299",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 62,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 40,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611660/?format=api",
            "priority": 100,
            "id": 1685701,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=46e642c619e350cf",
            "url": "https://translate-dev.freebsd.org/api/units/1685701/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.184119Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "The names of all man:rc.conf[5] variables used exclusively by our script _must_ have the same prefix: `${name}_`.  For example: `dummy_mode`, `dummy_state_file`, and so on."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6358360952876814111,
            "content_hash": -6358360952876814111,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:304",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 63,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 24,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611662/?format=api",
            "priority": 100,
            "id": 1685702,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=27c29066c21030e1",
            "url": "https://translate-dev.freebsd.org/api/units/1685702/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.184775Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "While it is possible to use a shorter name internally, e.g., just `msg`, adding the unique prefix `${name}_` to all global names introduced by our script will save us from possible collisions with the man:rc.subr[8] namespace."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4713024967582227797,
            "content_hash": -4713024967582227797,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:309",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 64,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 36,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381771/?format=api",
            "priority": 100,
            "id": 1685703,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=3e97f8c33db6e2ab",
            "url": "https://translate-dev.freebsd.org/api/units/1685703/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.185441Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "As a rule, [.filename]#rc.d# scripts of the base system need not provide defaults for their man:rc.conf[5] variables because the defaults should be set in [.filename]#/etc/defaults/rc.conf# instead.  On the other hand, [.filename]#rc.d# scripts for ports should provide the defaults as shown in the example."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6266388236322921747,
            "content_hash": -6266388236322921747,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:312",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 65,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 43,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611664/?format=api",
            "priority": 100,
            "id": 1685704,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=290951198d4922ed",
            "url": "https://translate-dev.freebsd.org/api/units/1685704/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.186090Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10126; Here we use `dummy_msg` to actually control our script, i.e., to emit a variable message.  Use of a shell function is overkill here, since it only runs a single command; an equally valid alternative is:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5092710331220643991,
            "content_hash": 5092710331220643991,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:316",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 66,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 36,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611666/?format=api",
            "priority": 100,
            "id": 1685705,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=c6acf1105c5e5097",
            "url": "https://translate-dev.freebsd.org/api/units/1685705/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.186753Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "start_cmd=\"echo \\\"$dummy_msg\\\"\"\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4879638794249510958,
            "content_hash": -4879638794249510958,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:320",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 67,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381777/?format=api",
            "priority": 100,
            "id": 1685706,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=3c480a5ebc8adfd2",
            "url": "https://translate-dev.freebsd.org/api/units/1685706/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.187425Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "Startup and shutdown of a simple daemon"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8444834757010602763,
            "content_hash": -8444834757010602763,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:323",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 68,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381779/?format=api",
            "priority": 100,
            "id": 1685707,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=0acdeb87f982c4f5",
            "url": "https://translate-dev.freebsd.org/api/units/1685707/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.188041Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "We said earlier that man:rc.subr[8] could provide default methods.  Obviously, such defaults cannot be too general.  They are suited for the common case of starting and shutting down a simple daemon program.  Let us assume now that we need to write an [.filename]#rc.d# script for such a daemon called `mumbled`.  Here it is:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -102297669182269444,
            "content_hash": -102297669182269444,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:330",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 69,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 53,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611668/?format=api",
            "priority": 100,
            "id": 1685708,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=7e9490cfd70a57fc",
            "url": "https://translate-dev.freebsd.org/api/units/1685708/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.188647Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "name=mumbled\nrcvar=mumbled_enable\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4515639132769989598,
            "content_hash": 4515639132769989598,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:339, documentation/content/en/articles/rc-scripting/_index.adoc:397, documentation/content/en/articles/rc-scripting/_index.adoc:634",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 70,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381783/?format=api",
            "priority": 100,
            "id": 1685709,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=beaac5ddca9bb3de",
            "url": "https://translate-dev.freebsd.org/api/units/1685709/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.189380Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "command=\"/usr/sbin/${name}\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3841581752012277924,
            "content_hash": -3841581752012277924,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:341",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 71,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381785/?format=api",
            "priority": 100,
            "id": 1685710,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=4aaff5c007af775c",
            "url": "https://translate-dev.freebsd.org/api/units/1685710/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.190029Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "load_rc_config $name\nrun_rc_command \"$1\"\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 6382436172851742169,
            "content_hash": 6382436172851742169,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:344, documentation/content/en/articles/rc-scripting/_index.adoc:443, documentation/content/en/articles/rc-scripting/_index.adoc:649, documentation/content/en/articles/rc-scripting/_index.adoc:876",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 72,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381787/?format=api",
            "priority": 100,
            "id": 1685711,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=d892f7e2346e85d9",
            "url": "https://translate-dev.freebsd.org/api/units/1685711/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.190652Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "Pleasingly simple, isn't it? Let us examine our little script.  The only new thing to note is as follows:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1974913651866216342,
            "content_hash": 1974913651866216342,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:348",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 73,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 19,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611670/?format=api",
            "priority": 100,
            "id": 1685712,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=9b684d80b98e2796",
            "url": "https://translate-dev.freebsd.org/api/units/1685712/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.191291Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10122; The `command` variable is meaningful to man:rc.subr[8].  If it is set, man:rc.subr[8] will act according to the scenario of serving a conventional daemon.  In particular, the default methods will be provided for such arguments: `start`, `stop`, `restart`, `poll`, and `status`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4016835583505088507,
            "content_hash": 4016835583505088507,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:352",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 74,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 41,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611672/?format=api",
            "priority": 100,
            "id": 1685713,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=b7beaaae5bf83ffb",
            "url": "https://translate-dev.freebsd.org/api/units/1685713/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.191921Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "The daemon will be started by running `$command` with command-line flags specified by `$mumbled_flags`.  Thus all the input data for the default `start` method are available in the variables set by our script.  Unlike `start`, other methods may require additional information about the process started.  For instance, `stop` must know the PID of the process to terminate it.  In the present case, man:rc.subr[8] will scan through the list of all processes, looking for a process with its name equal to `procname`.  The latter is another variable of meaning to man:rc.subr[8], and its value defaults to that of `command`.  In other words, when we set `command`, `procname` is effectively set to the same value.  This enables our script to kill the daemon and to check if it is running in the first place."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5724626787326806927,
            "content_hash": 5724626787326806927,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:361",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 75,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 132,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611674/?format=api",
            "priority": 100,
            "id": 1685714,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=cf71f5bb924ccb8f",
            "url": "https://translate-dev.freebsd.org/api/units/1685714/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.192577Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "Some programs are in fact executable scripts.  The system runs such a script by starting its interpreter and passing the name of the script to it as a command-line argument.  This is reflected in the list of processes, which can confuse man:rc.subr[8].  You should additionally set `command_interpreter` to let man:rc.subr[8] know the actual name of the process if `$command` is a script."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2935602006806855500,
            "content_hash": 2935602006806855500,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:368",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 76,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 62,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611676/?format=api",
            "priority": 100,
            "id": 1685715,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=a8bd5a78c1a57f4c",
            "url": "https://translate-dev.freebsd.org/api/units/1685715/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.193291Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "Of course, man:sh[1] will permit you to set `${name}_program` from man:rc.conf[5] or the script itself even if `command` is unset.  In that case, the special properties of `${name}_program` are lost, and it becomes an ordinary variable your script can use for its own purposes.  However, the sole use of `${name}_program` is discouraged because using it together with `command` became an idiom of [.filename]#rc.d# scripting."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7473704153715555564,
            "content_hash": -7473704153715555564,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:378",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 78,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 64,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611680/?format=api",
            "priority": 100,
            "id": 1685717,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=184811ab696c4314",
            "url": "https://translate-dev.freebsd.org/api/units/1685717/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.194659Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "For more detailed information on default methods, refer to man:rc.subr[8]."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2327000880037653551,
            "content_hash": 2327000880037653551,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:381",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 79,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 10,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381801/?format=api",
            "priority": 100,
            "id": 1685718,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=a04b2af8aeaa6c2f",
            "url": "https://translate-dev.freebsd.org/api/units/1685718/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.195350Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "Startup and shutdown of an advanced daemon"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3818684683030145373,
            "content_hash": 3818684683030145373,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:383",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 80,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381803/?format=api",
            "priority": 100,
            "id": 1685719,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=b4feb17ca93ca95d",
            "url": "https://translate-dev.freebsd.org/api/units/1685719/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.195970Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "Let us add some meat onto the bones of the previous script and make it more complex and featureful.  The default methods can do a good job for us, but we may need some of their aspects tweaked.  Now we will learn how to tune the default methods to our needs."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1130593541803541715,
            "content_hash": 1130593541803541715,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:388",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 81,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 51,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611682/?format=api",
            "priority": 100,
            "id": 1685720,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=8fb0acd60c8d04d3",
            "url": "https://translate-dev.freebsd.org/api/units/1685720/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.196592Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "command=\"/usr/sbin/${name}\"\ncommand_args=\"mock arguments > /dev/null 2>&1\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8598356115260950638,
            "content_hash": -8598356115260950638,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:400",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 82,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381807/?format=api",
            "priority": 100,
            "id": 1685721,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=08ac80ab51903792",
            "url": "https://translate-dev.freebsd.org/api/units/1685721/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.197260Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "pidfile=\"/var/run/${name}.pid\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 6094019581354149631,
            "content_hash": 6094019581354149631,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:402",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 83,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381809/?format=api",
            "priority": 100,
            "id": 1685722,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=d4924e8590e386ff",
            "url": "https://translate-dev.freebsd.org/api/units/1685722/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.197877Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "required_files=\"/etc/${name}.conf /usr/share/misc/${name}.rules\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -9123729460911910134,
            "content_hash": -9123729460911910134,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:404",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 84,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/426404/?format=api",
            "priority": 100,
            "id": 1685723,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=016200651794530a",
            "url": "https://translate-dev.freebsd.org/api/units/1685723/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.198500Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "sig_reload=\"USR1\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5377256183437142996,
            "content_hash": 5377256183437142996,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:406",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 85,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381813/?format=api",
            "priority": 100,
            "id": 1685724,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=ca9fda02480b2bd4",
            "url": "https://translate-dev.freebsd.org/api/units/1685724/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.199120Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "start_precmd=\"${name}_prestart\" <.>\nstop_postcmd=\"echo Bye-bye\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 162566234966995330,
            "content_hash": 162566234966995330,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:409",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 86,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381815/?format=api",
            "priority": 100,
            "id": 1685725,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=82418d211fae3182",
            "url": "https://translate-dev.freebsd.org/api/units/1685725/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.199741Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "extra_commands=\"reload plugh xyzzy\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3423542704392687662,
            "content_hash": 3423542704392687662,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:411",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 87,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381817/?format=api",
            "priority": 100,
            "id": 1685726,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=af82ddf370b4d02e",
            "url": "https://translate-dev.freebsd.org/api/units/1685726/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.200373Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "plugh_cmd=\"mumbled_plugh\" <.>\nxyzzy_cmd=\"echo 'Nothing happens.'\"\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3676198038201779156,
            "content_hash": -3676198038201779156,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:414",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 88,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381819/?format=api",
            "priority": 100,
            "id": 1685727,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=4cfb855c90febc2c",
            "url": "https://translate-dev.freebsd.org/api/units/1685727/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.201014Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "mumbled_prestart()\n{\n\tif checkyesno mumbled_smart; then <.>\n\t\trc_flags=\"-o smart ${rc_flags}\" <.>\n\tfi\n\tcase \"$mumbled_mode\" in\n\tfoo)\n\t\trc_flags=\"-frotz ${rc_flags}\"\n\t\t;;\n\tbar)\n\t\trc_flags=\"-baz ${rc_flags}\"\n\t\t;;\n\t*)\n\t\twarn \"Invalid value for mumbled_mode\" <.>\n\t\treturn 1 <.>\n\t\t;;\n\tesac\n\trun_rc_command xyzzy <.>\n\treturn 0\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6349807941781058009,
            "content_hash": -6349807941781058009,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:435",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 89,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 41,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381821/?format=api",
            "priority": 100,
            "id": 1685728,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=27e0f351d62f8e27",
            "url": "https://translate-dev.freebsd.org/api/units/1685728/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.201749Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "mumbled_plugh() <.>\n{\n\techo 'A hollow voice says \"plugh\".'\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4579986197697268865,
            "content_hash": 4579986197697268865,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:440",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 90,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 10,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381823/?format=api",
            "priority": 100,
            "id": 1685729,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=bf8f612e55f00c81",
            "url": "https://translate-dev.freebsd.org/api/units/1685729/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.202440Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10122; Additional arguments to `$command` can be passed in `command_args`.  They will be added to the command line after `$mumbled_flags`.  Since the final command line is passed to `eval` for its actual execution, input and output redirections can be specified in `command_args`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6925910391368904281,
            "content_hash": -6925910391368904281,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:448",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 91,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 42,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611684/?format=api",
            "priority": 100,
            "id": 1685730,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=1fe23931b04511a7",
            "url": "https://translate-dev.freebsd.org/api/units/1685730/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.203060Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10123; A good-mannered daemon should create a _pidfile_ so that its process can be found more easily and reliably.  The variable `pidfile`, if set, tells man:rc.subr[8] where it can find the pidfile for its default methods to use."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8616415718089284157,
            "content_hash": 8616415718089284157,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:459",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 93,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 38,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611688/?format=api",
            "priority": 100,
            "id": 1685732,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=f793a871a1cdda3d",
            "url": "https://translate-dev.freebsd.org/api/units/1685732/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.204391Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "In fact, man:rc.subr[8] will also use the pidfile to see if the daemon is already running before starting it.  This check can be skipped by using the `faststart` argument."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7259887125407860862,
            "content_hash": -7259887125407860862,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:464",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 94,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 29,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611690/?format=api",
            "priority": 100,
            "id": 1685733,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=1b3fb31fbca1f782",
            "url": "https://translate-dev.freebsd.org/api/units/1685733/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.205055Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10124; If the daemon cannot run unless certain files exist, just list them in `required_files`, and man:rc.subr[8] will check that those files do exist before starting the daemon.  There also are `required_dirs` and `required_vars` for directories and environment variables, respectively.  They all are described in detail in man:rc.subr[8]."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2139329414384356624,
            "content_hash": -2139329414384356624,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:469",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 95,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 48,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611692/?format=api",
            "priority": 100,
            "id": 1685734,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=624f933b761372f0",
            "url": "https://translate-dev.freebsd.org/api/units/1685734/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.205694Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "The default method from man:rc.subr[8] can be forced to skip the prerequisite checks by using `forcestart` as the argument to the script."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -947789817444566699,
            "content_hash": -947789817444566699,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:473",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 96,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 22,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381835/?format=api",
            "priority": 100,
            "id": 1685735,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=72d8c62ec17bf955",
            "url": "https://translate-dev.freebsd.org/api/units/1685735/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.206407Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10125; We can customize signals to send to the daemon in case they differ from the well-known ones.  In particular, `sig_reload` specifies the signal that makes the daemon reload its configuration; it is SIGHUP by default.  Another signal is sent to stop the daemon process; the default is SIGTERM, but this can be changed by setting `sig_stop` appropriately."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8171040012650328274,
            "content_hash": 8171040012650328274,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:479",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 97,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 58,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611694/?format=api",
            "priority": 100,
            "id": 1685736,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=f1655d997786b0d2",
            "url": "https://translate-dev.freebsd.org/api/units/1685736/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.207045Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "The signal names should be specified to man:rc.subr[8] without the `SIG` prefix, as it is shown in the example.  The FreeBSD version of man:kill[1] can recognize the `SIG` prefix, but the versions from other OS types may not."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4832131965543838077,
            "content_hash": 4832131965543838077,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:484",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 98,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 38,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611696/?format=api",
            "priority": 100,
            "id": 1685737,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=c30f2e6bc20cf17d",
            "url": "https://translate-dev.freebsd.org/api/units/1685737/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.207696Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10126;&#10127; Performing additional tasks before or after the default methods is easy.  For each command-argument supported by our script, we can define `argument_precmd` and `argument_postcmd`.  These man:sh[1] commands are invoked before and after the respective method, as it is evident from their names."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7450827251323861345,
            "content_hash": -7450827251323861345,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:489",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 99,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 43,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611698/?format=api",
            "priority": 100,
            "id": 1685738,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=18995817520a869f",
            "url": "https://translate-dev.freebsd.org/api/units/1685738/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.208358Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "Overriding a default method with a custom `argument_cmd` still does not prevent us from making use of `argument_precmd` or `argument_postcmd` if we need to.  In particular, the former is good for checking custom, sophisticated conditions that should be met before performing the command itself.  Using `argument_precmd` along with `argument_cmd` lets us logically separate the checks from the action."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1904391641481687103,
            "content_hash": 1904391641481687103,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:495",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 100,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 58,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611700/?format=api",
            "priority": 100,
            "id": 1685739,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=9a6dc21ba7bd303f",
            "url": "https://translate-dev.freebsd.org/api/units/1685739/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.209018Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "Do not forget that you can cram any valid man:sh[1] expressions into the methods, pre-, and post-commands you define.  Just invoking a function that makes the real job is a good style in most cases, but never let style limit your understanding of what is going on behind the curtain."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1729651640916647919,
            "content_hash": -1729651640916647919,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:498",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 101,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 50,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611702/?format=api",
            "priority": 100,
            "id": 1685740,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=67ff0aff25fde011",
            "url": "https://translate-dev.freebsd.org/api/units/1685740/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.209676Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "&#10128; If we would like to implement custom arguments, which can also be thought of as _commands_ to our script, we need to list them in `extra_commands` and provide methods to handle them."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7815018544659277433,
            "content_hash": 7815018544659277433,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:501",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 102,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 33,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381847/?format=api",
            "priority": 100,
            "id": 1685741,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=ec7485f5eb81a679",
            "url": "https://translate-dev.freebsd.org/api/units/1685741/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.210328Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "The `reload` command is special. On the one hand, it has a preset method in man:rc.subr[8].  On the other hand, `reload` is not offered by default.  The reason is that not all daemons use the same reload mechanism and some have nothing to reload at all.  So we need to ask explicitly that the builtin functionality be provided.  We can do so via `extra_commands`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1369455018728398926,
            "content_hash": 1369455018728398926,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:509",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 103,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 64,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611704/?format=api",
            "priority": 100,
            "id": 1685742,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=93014815772ea04e",
            "url": "https://translate-dev.freebsd.org/api/units/1685742/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.210978Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/pt/?format=api",
            "source": [
                "What do we get from the default method for `reload`? Quite often daemons reload their configuration upon reception of a signal - typically, SIGHUP.  Therefore man:rc.subr[8] attempts to reload the daemon by sending a signal to it.  The signal is preset to SIGHUP but can be customized via `sig_reload` if necessary."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2358757484686172100,
            "content_hash": 2358757484686172100,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:513",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 104,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 51,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611706/?format=api",
            "priority": 100,
            "id": 1685743,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/pt/?checksum=a0bbfd6f62035fc4",
            "url": "https://translate-dev.freebsd.org/api/units/1685743/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2024-07-03T15:47:00.211644Z"
        }
    ]
}