Units API

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

GET /api/units/222599/?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/de/?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>Ein zweidimensionales, berührungsempfindliches, rechteckiges Feld, auf dem gezeichnet und Sprites bewegt werden können.</p> <p>Die <code>Hintergrundfarbe</code>, die <code>Zeichenfarbe</code>, das <code>Hintergrundbild</code>, die <code>Breite</code> und die <code>Höhe</code> der Leinwand können sowohl im Designer, als auch im Codeblock-Editor gesetzt werden. Die <code>Breite</code> und <code>Höhe</code> sind in Pixeln anzugeben und müssen positiv sein.</p> <p>Jede Position auf der Leinwand kann als Koordinatenpaar (X, Y) angegeben werden, wobei <ul> <li>X die Anzahl der Pixel vom linken Rand der Leinwand und</li> und <li>Y die Anzahl der Pixels vom oberen Rand der Leinwand</li></ul> definiert.</p> <p>Es stehen Ereignisse zur Verfügung, die mitteilen, wenn und wo eine Leinwand berührt oder ein <code>Sprite</code> (<code>BildSprite</code> oder <code>Ball</code>) gezogen wurden.  Darüber hinaus stehen Methoden zur Zeichnung von Punkten, Linien und Kreisen zur Verfügung.</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": 222599,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-info/de/?checksum=9058a181acd34b6a",
    "url": "https://weblate.appinventor.mit.edu/api/units/222599/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/10733/?format=api"
}