Units API

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

GET /api/units/226263/?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_BR/?format=api",
    "source": "<p>A two-dimensional touch-sensitive rectangular panel on which drawing can be done and sprites can be moved.</p> <p>The <code>BackgroundColor</code>, <code>PaintColor</code>, <code>BackgroundImage</code>, <code>Width</code>, and <code>Height</code> of the Canvas can be set in either the Designer or in the Blocks Editor. The <code>Width</code> and <code>Height</code> are measured in pixels and must be positive.</p><p>Any location on the Canvas can be specified as a pair of (X, Y) values, where <ul> <li>X is the number of pixels away from the left edge of the Canvas</li><li>Y is the number of pixels away from the top edge of the Canvas</li></ul>.</p> <p>There are events to tell when and where a Canvas has been touched or a <code>Sprite</code> (<code>ImageSprite</code> or <code>Ball</code>) has been dragged. There are also methods for drawing points, lines, and circles.</p>",
    "previous_source": "",
    "target": "<p>Um painel retangular sensível ao toque onde se pode desenhar e animar sprites.</p> <p>As propriedades <code>CorDeFundo</code>, <code>CorDePintura</code>, <code>ImagemDeFundo</code>, <code>Largura</code> e <code>Altura</code> da Pintura podem ser ajustadas no Designer ou no Editor de Blocos. <code>Largura</code> e <code>Altura</code> são medidas em pixels e devem ser positivas.</p> <p>Qualquer local na Pintura pode ser especificado como um par de valores (X, Y), onde <ul> <li>X é o número de pixels de distância da borda esquerda da Pintura</li> <li>Y é o número de pixels de distância da borda superior da Pintura</li> </ul>. </p> <p>Quando a pintura é tocada, ou um <code>Sprite</code> (<code>SpriteImagem</code> ou <code>Bola</code>) é arrastado, eventos são disparados. Existem também métodos para desenhar pontos, linhas e círculos.</p>",
    "id_hash": 1177868880879766378,
    "content_hash": 1721160815748715850,
    "location": "",
    "context": "CanvasHelpStringComponentPallette",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 12,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 125,
    "priority": 100,
    "id": 226263,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-info/pt_BR/?checksum=9058a181acd34b6a",
    "url": "https://weblate.appinventor.mit.edu/api/units/226263/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/10733/?format=api"
}