Units API

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

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

{
    "translation": "https://weblate.appinventor.mit.edu/api/translations/appinventor/component-info/pt/?format=api",
    "source": "<p>Non-visible component that provides the instant in time using the internal clock on the phone. It can fire a timer at regularly set intervals and perform time calculations, manipulations, and conversions.</p> <p>Methods to convert an instant to text are also available. Acceptable patterns are empty string, MM/DD/YYYY HH:mm:ss a, or MMM d, yyyyHH:mm. The empty string will provide the default format, which is \"MMM d, yyyy HH:mm:ss a\" for FormatDateTime \"MMM d, yyyy\" for FormatDate. To see all possible format, please see <a href=\"https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html\" _target=\"_blank\">here</a>. </p>",
    "previous_source": "",
    "target": "Componente invisível que fornece a data/hora atual usando o relógio interno do telefone. O componente pode disparar um evento em intervalos regulares, e executar cálculos, manipulações, e conversões de tempo. </p> <p>Há também métodos para converter entre instantes de tempo e cadeias de texto: padrões aceitáveis são cadeia vazia, MM/DD/AAAA HH:mm:ss a ou MMM d, aaaa hh:mm. A cadeia vazia irá fornecer o formato padrão, que é \"MMM d, aaaa hh:mm:ss a\" para FormatarDataHora \"MMM d, aaaa\" para FormatarData. Para ver todos os formatos possíveis, veja <a href=\"https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html\" target=\"_blank\">aqui</a> .",
    "id_hash": -4868466836496991434,
    "content_hash": -3555294182401965358,
    "location": "",
    "context": "ClockHelpStringComponentPallette",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 19,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 86,
    "priority": 100,
    "id": 226041,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-info/pt/?checksum=3c6fbb34d9d3bb36",
    "url": "https://weblate.appinventor.mit.edu/api/units/226041/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/10740/?format=api"
}