Units API.

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

GET /api/units/2142580/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-printer/master/zh_TW/?format=api",
    "source": [
        "Cannot run hp-setup because no graphical display can be opened.\nThis happens in particular when YaST runs in text-only mode,\nor when the user who runs YaST has no DISPLAY environment variable set,\nor when the YaST process is not allowed to access the graphical display.\nIn this case you should run hp-setup manually directly as user 'root'.\n"
    ],
    "previous_source": "",
    "target": [
        "無法執行 hp-setup,因為沒有可開啟的圖形顯示。\n導致此情況的原因通常是︰以文字模式執行 YaST,\n或者執行 YaST 的使用者沒有設定 DISPLAY 環境變數,\n或者未允許 YaST 程序存取圖形顯示。\n在這種情況下,您應該以「root」使用者身分手動執行 hp-setup。\n"
    ],
    "id_hash": 4356985133062025491,
    "content_hash": 4356985133062025491,
    "location": "src/modules/Printer.rb:2309",
    "context": "",
    "note": "Message of a Popup::Error when hp-setup should be run.\nDo not change or translate \"hp-setup\", it is a program name.\nDo not change or translate \"DISPLAY\", it is an environment variable name.",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 435,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 58,
    "source_unit": "https://l10n.opensuse.org/api/units/12580270/?format=api",
    "priority": 100,
    "id": 2142580,
    "web_url": "https://l10n.opensuse.org/translate/yast-printer/master/zh_TW/?checksum=bc771ee4ebd1f113",
    "url": "https://l10n.opensuse.org/api/units/2142580/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-16T12:16:10Z"
}