Units API.

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

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

{
    "translation": "https://translations.documentfoundation.org/api/translations/libo_help-master/textsbasicshared/de/?format=api",
    "source": [
        "In $[officename] Basic, a <emph>method parameter</emph> or a <emph>property</emph> expecting unit information can be specified either as integer or long integer expression without a unit, or as a character string containing a unit. If no unit is passed to the method the default unit defined for the active document type will be used. If the parameter is passed as a character string containing a measurement unit, the default setting will be ignored. The default measurement unit for a document type can be set under <switchinline select=\"sys\"><caseinline select=\"MAC\"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - (Document Type) - General</emph>."
    ],
    "previous_source": "",
    "target": [
        "In $[officename] Basic kann ein <emph>Methodenparameter</emph> oder eine <emph>Eigenschaft</emph>, der/die eine Maßeinheit erwartet, entweder als Ausdruck vom Typ Integer beziehungsweise Longinteger ohne Maßeinheit oder als eine Zeichenfolge, die eine Maßeinheit enthält, festgelegt werden. Falls einer Methode keine Maßeinheit mitgegeben wird, wird die für die aktive Dokumentart definierte standardmäßige Maßeinheit verwendet. Falls dem Parameter eine Zeichenfolge mitgegeben wird, die eine Maßeinheit enthält, wird die standardmäßige Einstellung ignoriert. Die standardmäßige Maßeinheit für eine Dokumentart kann unter <switchinline select=\"sys\"><caseinline select=\"MAC\"><emph>%PRODUCTNAME – Einstellungen</emph></caseinline><defaultinline><emph>Extras – Optionen…</emph></defaultinline></switchinline><emph> – (Dokumenttyp) – Allgemein</emph> eingestellt werden."
    ],
    "id_hash": -7945628587143347088,
    "content_hash": -7945628587143347088,
    "location": "00000002.xhp",
    "context": "00000002.xhp\npar_id3154013\nhelp.text",
    "note": "KmQui",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 10,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 96,
    "source_unit": "https://translations.documentfoundation.org/api/units/24913750/?format=api",
    "priority": 100,
    "id": 33670,
    "web_url": "https://translations.documentfoundation.org/translate/libo_help-master/textsbasicshared/de/?checksum=11bb74e5d221c470",
    "url": "https://translations.documentfoundation.org/api/units/33670/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-07-11T17:49:51.892200Z"
}