Units API.

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

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

{
    "translation": "https://weblate.foundryvtt-hub.com/api/translations/simple-calendar/main/en/?format=api",
    "source": [
        "If the year for the reference moon should reset and if so when it does."
    ],
    "previous_source": "",
    "target": [
        "If the year for the reference moon should reset and if so when it does."
    ],
    "id_hash": -239067182987399396,
    "content_hash": 1326553181572453309,
    "location": "",
    "context": "FSC.Configuration.Moon.YearResetHelp",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 487,
    "has_suggestion": false,
    "has_comment": true,
    "has_failing_check": false,
    "num_words": 15,
    "source_unit": "https://weblate.foundryvtt-hub.com/api/units/3754/?format=api",
    "priority": 100,
    "id": 3754,
    "web_url": "https://weblate.foundryvtt-hub.com/translate/simple-calendar/main/en/?checksum=7caea9a9e8952f1c",
    "url": "https://weblate.foundryvtt-hub.com/api/units/3754/?format=api",
    "explanation": "If and how the reference moons year should be updated. This is relevant on certain calendars (namely the Forgotten Realms Harptos calendar).\r\n\r\nIf a reference moon has a year of 2000 the options of this setting tell SC how to use that year.\r\n\r\n\"Do Not Reset\": Means always use the year 2000 as the year for the reference moon.\r\n\r\n\"Reset Every Leap Year\": Means that when calculating the moons position on a day use the most recent leap year. Example: for January 12th 2005 the year 2004 would be used for the reference moon instead of the year 2000 as was originally set.\r\n\r\n\"Reset Every X Years\": The same as \"Reset Every Leap Year\" but allows a user to choose exactly how many years need to pass before the reference year is updated.",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-09-03T09:46:00.813024Z",
    "last_updated": "2023-07-08T10:58:03.878080Z"
}