Translation components API.

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

GET /api/translations/documentation/articlesrc-scripting_index/zh_TW/units/?format=api
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/zh_TW/units/?format=api&page=2",
    "previous": null,
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692247,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=bbcc82a2c9b47fe2",
            "url": "https://translate-dev.freebsd.org/api/units/692247/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.784309Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692248,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=a732fec32d008fcf",
            "url": "https://translate-dev.freebsd.org/api/units/692248/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.804147Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692249,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=a27a5adbf7e33add",
            "url": "https://translate-dev.freebsd.org/api/units/692249/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.813099Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692250,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=5bf827a5645ec896",
            "url": "https://translate-dev.freebsd.org/api/units/692250/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.822295Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692251,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=c9f876a2fbb4c93c",
            "url": "https://translate-dev.freebsd.org/api/units/692251/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.831509Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692252,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=d348b0fe12ca3901",
            "url": "https://translate-dev.freebsd.org/api/units/692252/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.845517Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692253,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=7612c9fe8d880f3b",
            "url": "https://translate-dev.freebsd.org/api/units/692253/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.870217Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692254,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=0c4b00bcf097722d",
            "url": "https://translate-dev.freebsd.org/api/units/692254/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.882199Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692255,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=7bc35c0c0f7c9a70",
            "url": "https://translate-dev.freebsd.org/api/units/692255/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.892778Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692256,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=79b8fbf59c57105c",
            "url": "https://translate-dev.freebsd.org/api/units/692256/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.903778Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692259,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=436d8dce367934b8",
            "url": "https://translate-dev.freebsd.org/api/units/692259/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.934041Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692260,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=12fe3d7f6e52c73a",
            "url": "https://translate-dev.freebsd.org/api/units/692260/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.947670Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692262,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=1cdbb939ca1d4a96",
            "url": "https://translate-dev.freebsd.org/api/units/692262/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.972408Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692263,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=6a7fc6d1560083d1",
            "url": "https://translate-dev.freebsd.org/api/units/692263/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.986529Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692264,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=32554748b1405221",
            "url": "https://translate-dev.freebsd.org/api/units/692264/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:15.994381Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692265,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=42f848c6b3d9442f",
            "url": "https://translate-dev.freebsd.org/api/units/692265/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.009691Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692266,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=3eb15c1e0e3dc0ad",
            "url": "https://translate-dev.freebsd.org/api/units/692266/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.022098Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692267,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=11bf5dbf1a59ee9f",
            "url": "https://translate-dev.freebsd.org/api/units/692267/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.040660Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692268,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=bf589ed4b591a24c",
            "url": "https://translate-dev.freebsd.org/api/units/692268/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.055455Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692269,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=c3cc6cd35d14a72e",
            "url": "https://translate-dev.freebsd.org/api/units/692269/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.066755Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692270,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=083c14c3ec5efcb2",
            "url": "https://translate-dev.freebsd.org/api/units/692270/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.078406Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692271,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=b6f71c4f29c48331",
            "url": "https://translate-dev.freebsd.org/api/units/692271/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.107898Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692272,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=22286221c90c1d4e",
            "url": "https://translate-dev.freebsd.org/api/units/692272/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.117016Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692273,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=103e59e73f861af8",
            "url": "https://translate-dev.freebsd.org/api/units/692273/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.126699Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692274,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=ce411b4b8a2dfc0f",
            "url": "https://translate-dev.freebsd.org/api/units/692274/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.141526Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692275,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=fd98953c2be9929a",
            "url": "https://translate-dev.freebsd.org/api/units/692275/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.161519Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692277,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=4a6ac9f33f0acf6e",
            "url": "https://translate-dev.freebsd.org/api/units/692277/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.204484Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692278,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=17d6429e980ccd6a",
            "url": "https://translate-dev.freebsd.org/api/units/692278/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.221404Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692279,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=e21f4a45075d5135",
            "url": "https://translate-dev.freebsd.org/api/units/692279/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.265877Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692280,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=4c0978a26ad2e51d",
            "url": "https://translate-dev.freebsd.org/api/units/692280/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.285424Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692281,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=d029d10914221bc5",
            "url": "https://translate-dev.freebsd.org/api/units/692281/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.293131Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:198",
            "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": 692283,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=64e87541bcc7a466",
            "url": "https://translate-dev.freebsd.org/api/units/692283/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.317386Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:204",
            "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": 692284,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=ecb943ce0aec9d93",
            "url": "https://translate-dev.freebsd.org/api/units/692284/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.336252Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:209",
            "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": 692285,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=ebc1582abd1df657",
            "url": "https://translate-dev.freebsd.org/api/units/692285/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.349447Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:213",
            "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": 692286,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=9eb41df4ed9be3ba",
            "url": "https://translate-dev.freebsd.org/api/units/692286/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.365588Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:216",
            "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": 692287,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=6738fd990399afad",
            "url": "https://translate-dev.freebsd.org/api/units/692287/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.376444Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:220",
            "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": 692288,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=fd0f1816347d76c1",
            "url": "https://translate-dev.freebsd.org/api/units/692288/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.470813Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:224",
            "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": 692289,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=bee3e629d00864de",
            "url": "https://translate-dev.freebsd.org/api/units/692289/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.500717Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:227",
            "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": 692290,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=0fac56ae49d323cd",
            "url": "https://translate-dev.freebsd.org/api/units/692290/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.537630Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:229",
            "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": 692291,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=fb8c7f3f631f5fe6",
            "url": "https://translate-dev.freebsd.org/api/units/692291/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.548528Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:239",
            "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": 692292,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=b3bc6170d2683b12",
            "url": "https://translate-dev.freebsd.org/api/units/692292/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.584751Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?format=api",
            "source": [
                "#!/bin/sh\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8169268476184826843,
            "content_hash": 8169268476184826843,
            "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:392, documentation/content/en/articles/rc-scripting/_index.adoc:624, documentation/content/en/articles/rc-scripting/_index.adoc:755, documentation/content/en/articles/rc-scripting/_index.adoc:860, documentation/content/en/articles/rc-scripting/_index.adoc:893, documentation/content/en/articles/rc-scripting/_index.adoc:927",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 48,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/381739/?format=api",
            "priority": 100,
            "id": 692293,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=f15f12657dcb13db",
            "url": "https://translate-dev.freebsd.org/api/units/692293/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.609743Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:245, documentation/content/en/articles/rc-scripting/_index.adoc:336, documentation/content/en/articles/rc-scripting/_index.adoc:394, documentation/content/en/articles/rc-scripting/_index.adoc:631, documentation/content/en/articles/rc-scripting/_index.adoc:757, documentation/content/en/articles/rc-scripting/_index.adoc:862, documentation/content/en/articles/rc-scripting/_index.adoc:895, documentation/content/en/articles/rc-scripting/_index.adoc:943",
            "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": 692294,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=b646b9e112499d8a",
            "url": "https://translate-dev.freebsd.org/api/units/692294/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.713782Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:248",
            "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": 692295,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=fbcffd18ec0d07f6",
            "url": "https://translate-dev.freebsd.org/api/units/692295/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.748799Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:251",
            "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": 692296,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=a904b239f51a744f",
            "url": "https://translate-dev.freebsd.org/api/units/692296/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.794209Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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:255",
            "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": 692297,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=1be7925b921d90d8",
            "url": "https://translate-dev.freebsd.org/api/units/692297/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.815788Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692298,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=ca80cd08a534708f",
            "url": "https://translate-dev.freebsd.org/api/units/692298/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.851444Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692299,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=b183e8dfc325a99b",
            "url": "https://translate-dev.freebsd.org/api/units/692299/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.864563Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692300,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=62c9901deae55532",
            "url": "https://translate-dev.freebsd.org/api/units/692300/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.885402Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesrc-scripting_index/zh_TW/?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": 692301,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesrc-scripting_index/zh_TW/?checksum=86e4765b80fdcdb3",
            "url": "https://translate-dev.freebsd.org/api/units/692301/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:50:16.907719Z"
        }
    ]
}