Translation components API.

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

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

{
    "count": 177,
    "next": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/units/?format=api&page=2",
    "previous": null,
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Practical rc.d scripting in BSD"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4308962579167084514,
            "content_hash": 4308962579167084514,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:1, documentation/content/en/articles/rc-scripting/_index.adoc:12",
            "context": "",
            "note": "type: Title =",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 2,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381647/?format=api",
            "priority": 100,
            "id": 771559,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=bbcc82a2c9b47fe2",
            "url": "https://translate-dev.freebsd.org/api/units/771559/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.448264Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Abstract"
            ],
            "previous_source": "",
            "target": [
                "چکیده"
            ],
            "id_hash": 2824600030541811663,
            "content_hash": 2824600030541811663,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:45",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 3,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381649/?format=api",
            "priority": 100,
            "id": 771562,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=a732fec32d008fcf",
            "url": "https://translate-dev.freebsd.org/api/units/771562/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.457096Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Beginners may find it difficult to relate the facts from the formal documentation on the BSD [.filename]#rc.d# framework with the practical tasks of [.filename]#rc.d# scripting.  In this article, we consider a few typical cases of increasing complexity, show [.filename]#rc.d# features suited for each case, and discuss how they work.  Such an examination should provide reference points for further study of the design and efficient application of [.filename]#rc.d#."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2484398045251451613,
            "content_hash": 2484398045251451613,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:49",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 4,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 67,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611606/?format=api",
            "priority": 100,
            "id": 771564,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=a27a5adbf7e33add",
            "url": "https://translate-dev.freebsd.org/api/units/771564/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.465695Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "'''"
            ],
            "previous_source": "",
            "target": [
                "'''"
            ],
            "id_hash": -2596281593872070506,
            "content_hash": -2596281593872070506,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:51",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 5,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381653/?format=api",
            "priority": 100,
            "id": 771568,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=5bf827a5645ec896",
            "url": "https://translate-dev.freebsd.org/api/units/771568/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.499572Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Introduction"
            ],
            "previous_source": "",
            "target": [
                "پیش درآمد"
            ],
            "id_hash": 5330140601372690748,
            "content_hash": 5330140601372690748,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:55",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 6,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381655/?format=api",
            "priority": 100,
            "id": 771571,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=c9f876a2fbb4c93c",
            "url": "https://translate-dev.freebsd.org/api/units/771571/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.509605Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "The historical BSD had a monolithic startup script, [.filename]#/etc/rc#.  It was invoked by man:init[8] at system boot time and performed all userland tasks required for multi-user operation: checking and mounting file systems, setting up the network, starting daemons, and so on.  The precise list of tasks was not the same in every system; admins needed to customize it.  With few exceptions, [.filename]#/etc/rc# had to be modified, and true hackers liked it."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 6001241108754610433,
            "content_hash": 6001241108754610433,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:61",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 7,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 71,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611608/?format=api",
            "priority": 100,
            "id": 771576,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=d348b0fe12ca3901",
            "url": "https://translate-dev.freebsd.org/api/units/771576/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.532493Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "The real problem with the monolithic approach was that it provided no control over the individual components started from [.filename]#/etc/rc#.  For instance, [.filename]#/etc/rc# could not restart a single daemon.  The system admin had to find the daemon process by hand, kill it, wait until it actually exited, then browse through [.filename]#/etc/rc# for the flags, and finally type the full command line to start the daemon again.  The task would become even more difficult and prone to errors if the service to restart consisted of more than one daemon or demanded additional actions.  In a few words, the single script failed to fulfil what scripts are for: to make the system admin's life easier."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -715287295665107141,
            "content_hash": -715287295665107141,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:67",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 8,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 113,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611610/?format=api",
            "priority": 100,
            "id": 771579,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=7612c9fe8d880f3b",
            "url": "https://translate-dev.freebsd.org/api/units/771579/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.542555Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Later there was an attempt to split out some parts of [.filename]#/etc/rc# for the sake of starting the most important subsystems separately.  The notorious example was [.filename]#/etc/netstart# to bring up networking.  It did allow for accessing the network from single-user mode, but it did not integrate well into the automatic startup process because parts of its code needed to interleave with actions essentially unrelated to networking.  That was why [.filename]#/etc/netstart# mutated into [.filename]#/etc/rc.network#.  The latter was no longer an ordinary script; it comprised of large, tangled man:sh[1] functions called from [.filename]#/etc/rc# at different stages of system startup.  However, as the startup tasks grew diverse and sophisticated, the \"quasi-modular\" approach became even more of a drag than the monolithic [.filename]#/etc/rc# had been."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8337569473656032723,
            "content_hash": -8337569473656032723,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:74",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 9,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 121,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611612/?format=api",
            "priority": 100,
            "id": 771582,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=0c4b00bcf097722d",
            "url": "https://translate-dev.freebsd.org/api/units/771582/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.554752Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Without a clean and well-designed framework, the startup scripts had to bend over backwards to satisfy the needs of rapidly developing BSD-based operating systems.  It became obvious at last that more steps are necessary on the way to a fine-grained and extensible [.filename]#rc# system.  Thus BSD [.filename]#rc.d# was born.  Its acknowledged fathers were Luke Mewburn and the NetBSD community.  Later it was imported into FreeBSD.  Its name refers to the location of system scripts for individual services, which is in [.filename]#/etc/rc.d#.  Soon we will learn about more components of the [.filename]#rc.d# system and see how the individual scripts are invoked."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -305299142861874576,
            "content_hash": -305299142861874576,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:82",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 10,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 100,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611614/?format=api",
            "priority": 100,
            "id": 771585,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=7bc35c0c0f7c9a70",
            "url": "https://translate-dev.freebsd.org/api/units/771585/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.565053Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "The basic ideas behind BSD [.filename]#rc.d# are _fine modularity_ and __code reuse__.  _Fine modularity_ means that each basic \"service\" such as a system daemon or primitive startup task gets its own man:sh[1] script able to start the service, stop it, reload it, check its status.  A particular action is chosen by the command-line argument to the script.  The [.filename]#/etc/rc# script still drives system startup, but now it merely invokes the smaller scripts one by one with the `start` argument.  It is easy to perform shutdown tasks as well by running the same set of scripts with the `stop` argument, which is done by [.filename]#/etc/rc.shutdown#.  Note how closely this follows the Unix way of having a set of small specialized tools, each fulfilling its task as well as possible.  _Code reuse_ means that common operations are implemented as man:sh[1] functions and collected in [.filename]#/etc/rc.subr#.  Now a typical script can be just a few lines' worth of man:sh[1] code.  Finally, an important part of the [.filename]#rc.d# framework is man:rcorder[8], which helps [.filename]#/etc/rc# to run the small scripts orderly with respect to dependencies between them.  It can help [.filename]#/etc/rc.shutdown#, too, because the proper order for the shutdown sequence is opposite to that of startup."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -452334730242224036,
            "content_hash": -452334730242224036,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:93",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 11,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 201,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611616/?format=api",
            "priority": 100,
            "id": 771588,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=79b8fbf59c57105c",
            "url": "https://translate-dev.freebsd.org/api/units/771588/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.578795Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "This article focuses on the FreeBSD branch of [.filename]#rc.d#.  Nevertheless, it may be useful to NetBSD developers, too, because the two branches of BSD [.filename]#rc.d# not only share the same design but also stay similar in their aspects visible to script authors."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4364676547035450184,
            "content_hash": -4364676547035450184,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:108",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 14,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 42,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611622/?format=api",
            "priority": 100,
            "id": 771605,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=436d8dce367934b8",
            "url": "https://translate-dev.freebsd.org/api/units/771605/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.647204Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Outlining the task"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7854773082566506694,
            "content_hash": -7854773082566506694,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:110",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 15,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381673/?format=api",
            "priority": 100,
            "id": 771607,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=12fe3d7f6e52c73a",
            "url": "https://translate-dev.freebsd.org/api/units/771607/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.656193Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Is the service mandatory or optional?"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7143912726037968234,
            "content_hash": -7143912726037968234,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:116",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 17,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381677/?format=api",
            "priority": 100,
            "id": 771614,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=1cdbb939ca1d4a96",
            "url": "https://translate-dev.freebsd.org/api/units/771614/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.693375Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Will the script serve a single program, e.g., a daemon, or perform more complex actions?"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1549301144398822447,
            "content_hash": -1549301144398822447,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:117",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 18,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 15,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381679/?format=api",
            "priority": 100,
            "id": 771615,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=6a7fc6d1560083d1",
            "url": "https://translate-dev.freebsd.org/api/units/771615/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.702501Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Which other services will our service depend on, and vice versa?"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -5596488584400973279,
            "content_hash": -5596488584400973279,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:118",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 19,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 11,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381681/?format=api",
            "priority": 100,
            "id": 771623,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=32554748b1405221",
            "url": "https://translate-dev.freebsd.org/api/units/771623/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.737372Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "From the examples that follow we will see why it is important to know the answers to these questions."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4397685017869204433,
            "content_hash": -4397685017869204433,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:120",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 20,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 19,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381683/?format=api",
            "priority": 100,
            "id": 771627,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=42f848c6b3d9442f",
            "url": "https://translate-dev.freebsd.org/api/units/771627/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.763759Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "A dummy script"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4705878851467755347,
            "content_hash": -4705878851467755347,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:122",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 21,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381685/?format=api",
            "priority": 100,
            "id": 771630,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=3eb15c1e0e3dc0ad",
            "url": "https://translate-dev.freebsd.org/api/units/771630/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.779728Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "The following script just emits a message each time the system boots up:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7944528142296027489,
            "content_hash": -7944528142296027489,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:125",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 22,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 13,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381687/?format=api",
            "priority": 100,
            "id": 771640,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=11bf5dbf1a59ee9f",
            "url": "https://translate-dev.freebsd.org/api/units/771640/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.789910Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "#!/bin/sh <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4564572858756473420,
            "content_hash": 4564572858756473420,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:129",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 23,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381689/?format=api",
            "priority": 100,
            "id": 771641,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=bf589ed4b591a24c",
            "url": "https://translate-dev.freebsd.org/api/units/771641/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.822617Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                ". /etc/rc.subr <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4885399350845679406,
            "content_hash": 4885399350845679406,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:131",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 24,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381691/?format=api",
            "priority": 100,
            "id": 771646,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=c3cc6cd35d14a72e",
            "url": "https://translate-dev.freebsd.org/api/units/771646/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.847301Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "name=\"dummy\" <.>\nstart_cmd=\"${name}_start\" <.>\nstop_cmd=\":\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8629999954231886670,
            "content_hash": -8629999954231886670,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:135",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 25,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381693/?format=api",
            "priority": 100,
            "id": 771650,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=083c14c3ec5efcb2",
            "url": "https://translate-dev.freebsd.org/api/units/771650/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.865071Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "dummy_start() <.>\n{\n\techo \"Nothing started.\"\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3960665523624379185,
            "content_hash": 3960665523624379185,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:140",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 26,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381695/?format=api",
            "priority": 100,
            "id": 771655,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=b6f71c4f29c48331",
            "url": "https://translate-dev.freebsd.org/api/units/771655/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.876904Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "load_rc_config $name <.>\nrun_rc_command \"$1\" <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6762046943250342578,
            "content_hash": -6762046943250342578,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:143",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 27,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381697/?format=api",
            "priority": 100,
            "id": 771658,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=22286221c90c1d4e",
            "url": "https://translate-dev.freebsd.org/api/units/771658/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.885453Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Things to note are:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8052900233953797384,
            "content_hash": -8052900233953797384,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:146",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 28,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381699/?format=api",
            "priority": 100,
            "id": 771661,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=103e59e73f861af8",
            "url": "https://translate-dev.freebsd.org/api/units/771661/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.896605Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "&#10122; An interpreted script should begin with the magic \"shebang\" line.  That line specifies the interpreter program for the script.  Due to the shebang line, the script can be invoked exactly like a binary program provided that it has the execute bit set.  (See man:chmod[1].)  For example, a system admin can run our script manually, from the command line:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5638818219699338255,
            "content_hash": 5638818219699338255,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:152",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 29,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 59,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611626/?format=api",
            "priority": 100,
            "id": 771667,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=ce411b4b8a2dfc0f",
            "url": "https://translate-dev.freebsd.org/api/units/771667/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.923869Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "# /etc/rc.d/dummy start\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 9050147536868315802,
            "content_hash": 9050147536868315802,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:156",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 30,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381703/?format=api",
            "priority": 100,
            "id": 771675,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=fd98953c2be9929a",
            "url": "https://translate-dev.freebsd.org/api/units/771675/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.942805Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "If you would like to learn the details of why [.filename]#rc.d# scripts must be written in the man:sh[1] language, see how [.filename]#/etc/rc# invokes them by means of `run_rc_script`, then study the implementation of `run_rc_script` in [.filename]#/etc/rc.subr#."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3861051683944870034,
            "content_hash": -3861051683944870034,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:167",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 32,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 36,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381707/?format=api",
            "priority": 100,
            "id": 771685,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=4a6ac9f33f0acf6e",
            "url": "https://translate-dev.freebsd.org/api/units/771685/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:34.991218Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "&#10123; In [.filename]#/etc/rc.subr#, a number of man:sh[1] functions are defined for an [.filename]#rc.d# script to use.  The functions are documented in man:rc.subr[8].  While it is theoretically possible to write an [.filename]#rc.d# script without ever using man:rc.subr[8], its functions prove extremely handy and make the job an order of magnitude easier. So it is no surprise that everybody resorts to man:rc.subr[8] in [.filename]#rc.d# scripts.  We are not going to be an exception."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7505738480043111062,
            "content_hash": -7505738480043111062,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:173",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 33,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 71,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611630/?format=api",
            "priority": 100,
            "id": 771688,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=17d6429e980ccd6a",
            "url": "https://translate-dev.freebsd.org/api/units/771688/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.012286Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "An [.filename]#rc.d# script must \"source\"[.filename]#/etc/rc.subr# (include it using \"`.`\") _before_ it calls man:rc.subr[8] functions so that man:sh[1] has an opportunity to learn the functions.  The preferred style is to source [.filename]#/etc/rc.subr# first of all."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7070451600331723061,
            "content_hash": 7070451600331723061,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:176",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 34,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 34,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611632/?format=api",
            "priority": 100,
            "id": 771692,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=e21f4a45075d5135",
            "url": "https://translate-dev.freebsd.org/api/units/771692/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.020342Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Some useful functions related to networking are provided by another include file, [.filename]#/etc/network.subr#."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3744328976209615587,
            "content_hash": -3744328976209615587,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:180",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 35,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 13,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381713/?format=api",
            "priority": 100,
            "id": 771694,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=4c0978a26ad2e51d",
            "url": "https://translate-dev.freebsd.org/api/units/771694/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.027736Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "&#10124; [[name-var]]The mandatory variable `name` specifies the name of our script.  It is required by man:rc.subr[8].  That is, each [.filename]#rc.d# script _must_ set `name` before it calls man:rc.subr[8] functions."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5776377834002062277,
            "content_hash": 5776377834002062277,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:185",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 36,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 29,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611634/?format=api",
            "priority": 100,
            "id": 771696,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=d029d10914221bc5",
            "url": "https://translate-dev.freebsd.org/api/units/771696/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.035788Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Now it is the right time to choose a unique name for our script once and for all.  We will use it in a number of places while developing the script.  For a start, let us give the same name to the script file, too."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7742622154008674567,
            "content_hash": -7742622154008674567,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:189",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 37,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 45,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611636/?format=api",
            "priority": 100,
            "id": 771702,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=148cae2c503e3ef9",
            "url": "https://translate-dev.freebsd.org/api/units/771702/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.071770Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "The current style of [.filename]#rc.d# scripting is to enclose values assigned to variables in double quotes.  Keep in mind that it is just a style issue that may not always be applicable.  You can safely omit quotes from around simple words without man:sh[1] metacharacters in them, while in certain cases you will need single quotes to prevent any interpretation of the value by man:sh[1].  A programmer should be able to tell the language syntax from style conventions and use both of them wisely."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1952181513264585626,
            "content_hash": -1952181513264585626,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:196",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 38,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 83,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611638/?format=api",
            "priority": 100,
            "id": 771705,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=64e87541bcc7a466",
            "url": "https://translate-dev.freebsd.org/api/units/771705/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.082137Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "&#10125; The main idea behind man:rc.subr[8] is that an [.filename]#rc.d# script provides handlers, or methods, for man:rc.subr[8] to invoke.  In particular, `start`, `stop`, and other arguments to an [.filename]#rc.d# script are handled this way.  A method is a man:sh[1] expression stored in a variable named `argument_cmd`, where _argument_ corresponds to what can be specified on the script's command line.  We will see later how man:rc.subr[8] provides default methods for the standard arguments."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7834367579013291411,
            "content_hash": 7834367579013291411,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:202",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 39,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 72,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611640/?format=api",
            "priority": 100,
            "id": 771708,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=ecb943ce0aec9d93",
            "url": "https://translate-dev.freebsd.org/api/units/771708/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.097843Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "To make the code in [.filename]#rc.d# more uniform, it is common to use `${name}` wherever appropriate.  Thus a number of lines can be just copied from one script to another."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7764584173148173911,
            "content_hash": 7764584173148173911,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:207",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 40,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 30,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611642/?format=api",
            "priority": 100,
            "id": 771712,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=ebc1582abd1df657",
            "url": "https://translate-dev.freebsd.org/api/units/771712/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.117850Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "&#10126; We should keep in mind that man:rc.subr[8] provides default methods for the standard arguments.  Consequently, we must override a standard method with a no-op man:sh[1] expression if we want it to do nothing."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2212426254741398458,
            "content_hash": 2212426254741398458,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:211",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 41,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 34,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611644/?format=api",
            "priority": 100,
            "id": 771714,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=9eb41df4ed9be3ba",
            "url": "https://translate-dev.freebsd.org/api/units/771714/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.138882Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "&#10127; The body of a sophisticated method can be implemented as a function.  It is a good idea to make the function name meaningful."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1785398418620174419,
            "content_hash": -1785398418620174419,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:214",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 42,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 24,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611646/?format=api",
            "priority": 100,
            "id": 771715,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=6738fd990399afad",
            "url": "https://translate-dev.freebsd.org/api/units/771715/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.168825Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "It is strongly recommended to add the prefix `${name}` to the names of all functions defined in our script so they never clash with the functions from man:rc.subr[8] or another common include file."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 9011447863040636609,
            "content_hash": 9011447863040636609,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:218",
            "context": "",
            "note": "type: delimited block = 4",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 43,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 33,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381729/?format=api",
            "priority": 100,
            "id": 771719,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=fd0f1816347d76c1",
            "url": "https://translate-dev.freebsd.org/api/units/771719/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.182963Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "&#10128; This call to man:rc.subr[8] loads man:rc.conf[5] variables.  Our script makes no use of them yet, but it still is recommended to load man:rc.conf[5] because there can be man:rc.conf[5] variables controlling man:rc.subr[8] itself."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4531718717323109598,
            "content_hash": 4531718717323109598,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:222",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 44,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 33,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611648/?format=api",
            "priority": 100,
            "id": 771724,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=bee3e629d00864de",
            "url": "https://translate-dev.freebsd.org/api/units/771724/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.196839Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "&#10129; Usually this is the last command in an [.filename]#rc.d# script.  It invokes the man:rc.subr[8] machinery to perform the requested action using the variables and methods our script has provided."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8093999123728751667,
            "content_hash": -8093999123728751667,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:225",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 45,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 30,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611650/?format=api",
            "priority": 100,
            "id": 771730,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=0fac56ae49d323cd",
            "url": "https://translate-dev.freebsd.org/api/units/771730/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.226728Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "A configurable dummy script"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8902630473627295718,
            "content_hash": 8902630473627295718,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:227",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 46,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381735/?format=api",
            "priority": 100,
            "id": 771735,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=fb8c7f3f631f5fe6",
            "url": "https://translate-dev.freebsd.org/api/units/771735/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.251716Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "Now let us add some controls to our dummy script.  As you may know, [.filename]#rc.d# scripts are controlled with man:rc.conf[5].  Fortunately, man:rc.subr[8] hides all the complications from us.  The following script uses man:rc.conf[5] via man:rc.subr[8] to see whether it is enabled in the first place, and to fetch a message to show at boot time.  These two tasks in fact are independent.  On the one hand, an [.filename]#rc.d# script can just support enabling and disabling its service.  On the other hand, a mandatory [.filename]#rc.d# script can have configuration variables.  We will do both things in the same script though:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3727961728750205714,
            "content_hash": 3727961728750205714,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:237",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 47,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 99,
            "source_unit": "https://translate-dev.freebsd.org/api/units/611652/?format=api",
            "priority": 100,
            "id": 771744,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=b3bc6170d2683b12",
            "url": "https://translate-dev.freebsd.org/api/units/771744/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.316220Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "#!/bin/sh\n"
            ],
            "previous_source": "",
            "target": [
                "#!/bin/sh\n"
            ],
            "id_hash": 8169268476184826843,
            "content_hash": 8169268476184826843,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:241, documentation/content/en/articles/rc-scripting/_index.adoc:332, documentation/content/en/articles/rc-scripting/_index.adoc:389, documentation/content/en/articles/rc-scripting/_index.adoc:621, documentation/content/en/articles/rc-scripting/_index.adoc:752",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 10,
            "fuzzy": true,
            "translated": false,
            "approved": false,
            "position": 48,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381739/?format=api",
            "priority": 100,
            "id": 771751,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=f15f12657dcb13db",
            "url": "https://translate-dev.freebsd.org/api/units/771751/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.339724Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                ". /etc/rc.subr\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3911017702743448970,
            "content_hash": 3911017702743448970,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:243, documentation/content/en/articles/rc-scripting/_index.adoc:334, documentation/content/en/articles/rc-scripting/_index.adoc:391, documentation/content/en/articles/rc-scripting/_index.adoc:628, documentation/content/en/articles/rc-scripting/_index.adoc:754",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 49,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381741/?format=api",
            "priority": 100,
            "id": 771753,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=b646b9e112499d8a",
            "url": "https://translate-dev.freebsd.org/api/units/771753/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.391699Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "name=dummy\nrcvar=dummy_enable <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8921627670325561334,
            "content_hash": 8921627670325561334,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:246",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 50,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381743/?format=api",
            "priority": 100,
            "id": 771757,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=fbcffd18ec0d07f6",
            "url": "https://translate-dev.freebsd.org/api/units/771757/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.418234Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "start_cmd=\"${name}_start\"\nstop_cmd=\":\"\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2955683217456919631,
            "content_hash": 2955683217456919631,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:249",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 51,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381745/?format=api",
            "priority": 100,
            "id": 771758,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=a904b239f51a744f",
            "url": "https://translate-dev.freebsd.org/api/units/771758/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.447238Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?format=api",
            "source": [
                "load_rc_config $name <.>\n: ${dummy_enable:=no} <.>\n: ${dummy_msg=\"Nothing started.\"} <.>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7212635356219469608,
            "content_hash": -7212635356219469608,
            "location": "documentation/content/en/articles/rc-scripting/_index.adoc:253",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 52,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 10,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381747/?format=api",
            "priority": 100,
            "id": 771761,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=1be7925b921d90d8",
            "url": "https://translate-dev.freebsd.org/api/units/771761/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.459841Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?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:258",
            "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": 771768,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=ca80cd08a534708f",
            "url": "https://translate-dev.freebsd.org/api/units/771768/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.506055Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?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:260",
            "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": 771773,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=b183e8dfc325a99b",
            "url": "https://translate-dev.freebsd.org/api/units/771773/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.530577Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/fa/?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:263",
            "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": 771777,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/fa/?checksum=62c9901deae55532",
            "url": "https://translate-dev.freebsd.org/api/units/771777/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T22:22:35.550973Z"
        }
    ]
}