Translation components API.

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

GET /api/translations/documentation/booksarch-handbookscsi_index/fr_FR/units/?format=api&page=8
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 358,
    "next": null,
    "previous": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/fr_FR/units/?format=api&page=7",
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/fr_FR/?format=api",
            "source": [
                "        for (h = softc->first_queued_hcb; h != NULL; h = hh) {\n            hh = h->next;\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3155317582408806633,
            "content_hash": 3155317582408806633,
            "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:1443",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 331,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 14,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1246896/?format=api",
            "priority": 100,
            "id": 1247282,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/fr_FR/?checksum=abc9f09fa50570e9",
            "url": "https://translate-dev.freebsd.org/api/units/1247282/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-07-24T14:56:58.649224Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/fr_FR/?format=api",
            "source": [
                "            if (targ == h->targ\n            && (lun_to_freeze == CAM_LUN_WILDCARD || lun_to_freeze == h->lun))\n                free_hcb_and_ccb_done(h, h->ccb, CAM_REQUEUE_REQ);\n        }\n    }\n    free_hcb_and_ccb_done(hcb, hcb->ccb, ccb_status);\n    schedule_next_hcb(softc);\n    return;\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4035169492333316826,
            "content_hash": 4035169492333316826,
            "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:1452",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 332,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 22,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1246898/?format=api",
            "priority": 100,
            "id": 1247283,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/fr_FR/?checksum=b7ffcd4627054ada",
            "url": "https://translate-dev.freebsd.org/api/units/1247283/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-07-24T14:56:58.660630Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/fr_FR/?format=api",
            "source": [
                "When executing an I/O request many things may go wrong.  The reason of error can be reported in the CCB status with great detail.  Examples of use are spread throughout this document.  For completeness here is the summary of recommended responses for the typical error conditions:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -524903043278077869,
            "content_hash": -524903043278077869,
            "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:1463",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 335,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 46,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1246900/?format=api",
            "priority": 100,
            "id": 1247284,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/fr_FR/?checksum=78b72b7693e38053",
            "url": "https://translate-dev.freebsd.org/api/units/1247284/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-07-24T14:56:58.759602Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/fr_FR/?format=api",
            "source": [
                "_CAM_RESRC_UNAVAIL_ - some resource is temporarily unavailable and the SIM driver cannot generate an event when it will become available.  An example of this resource would be some intra-controller hardware resource for which the controller does not generate an interrupt when it becomes available."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4097765710058610451,
            "content_hash": 4097765710058610451,
            "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:1466",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 336,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 44,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1246902/?format=api",
            "priority": 100,
            "id": 1247285,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/fr_FR/?checksum=b8de3033d0d1df13",
            "url": "https://translate-dev.freebsd.org/api/units/1247285/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-07-24T14:56:58.861894Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/fr_FR/?format=api",
            "source": [
                "_CAM_REQUEUE_REQ_ - this request should be re-queued to preserve transaction ordering.  This typically occurs when the SIM recognizes an error that should freeze the queue and must place other queued requests for the target at the sim level back into the XPT queue.  Typical cases of such errors are selection timeouts, command timeouts and other like conditions.  In such cases the troublesome command returns the status indicating the error, the and the other commands which have not be sent to the bus yet get re-queued."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 895214175978377942,
            "content_hash": 895214175978377942,
            "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:1483",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 350,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 85,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1246904/?format=api",
            "priority": 100,
            "id": 1247286,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/fr_FR/?checksum=8c6c708ccd15d2d6",
            "url": "https://translate-dev.freebsd.org/api/units/1247286/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-07-24T14:56:59.366534Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/fr_FR/?format=api",
            "source": [
                "When the timeout for an HCB expires that request should be aborted, just like with an XPT_ABORT request.  The only difference is that the returned status of aborted request should be CAM_CMD_TIMEOUT instead of CAM_REQ_ABORTED (that is why implementation of the abort better be done as a function).  But there is one more possible problem: what if the abort request itself will get stuck? In this case the SCSI bus should be reset, just like with an XPT_RESET_BUS request (and the idea about implementing it as a function called from both places applies here too).  Also we should reset the whole SCSI bus if a device reset request got stuck.  So after all the timeout function would look like:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7114882462359256991,
            "content_hash": -7114882462359256991,
            "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:1495",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 354,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 119,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1246906/?format=api",
            "priority": 100,
            "id": 1247287,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/fr_FR/?checksum=1d42dc18c46b8061",
            "url": "https://translate-dev.freebsd.org/api/units/1247287/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-07-24T14:56:59.479419Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/fr_FR/?format=api",
            "source": [
                "    if (hcb->flags & HCB_BEING_ABORTED || ccb_h->func_code == XPT_RESET_DEV) {\n        xxx_reset_bus(softc);\n    } else {\n        xxx_abort_ccb(hcb->ccb, CAM_CMD_TIMEOUT);\n    }\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5468610347554815590,
            "content_hash": 5468610347554815590,
            "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:1514",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 357,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 17,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1246908/?format=api",
            "priority": 100,
            "id": 1247288,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/fr_FR/?checksum=cbe468231d07be66",
            "url": "https://translate-dev.freebsd.org/api/units/1247288/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-07-24T14:56:59.579360Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/fr_FR/?format=api",
            "source": [
                "When we abort a request all the other disconnected requests to the same target/LUN get aborted too.  So there appears a question, should we return them with status CAM_REQ_ABORTED or CAM_CMD_TIMEOUT? The current drivers use CAM_CMD_TIMEOUT.  This seems logical because if one request got timed out then probably something really bad is happening to the device, so if they would not be disturbed they would time out by themselves."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1745055406423220031,
            "content_hash": 1745055406423220031,
            "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:1519",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 358,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 69,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1246910/?format=api",
            "priority": 100,
            "id": 1247289,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/fr_FR/?checksum=9837aea57d3b1f3f",
            "url": "https://translate-dev.freebsd.org/api/units/1247289/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-07-24T14:56:59.664777Z"
        }
    ]
}