Units API

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

GET /api/units/222591/?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 round ''sprite'' that can be placed on a <code>Canvas</code>, where it can react to touches and drags, interact with other sprites (<code>ImageSprite</code>s and other <code>Ball</code>s) and the edge of the Canvas, and move according to its property values.</p><p>For example, to have a <code>Ball</code> move 4 pixels toward the top of a <code>Canvas</code> every 500 milliseconds (half second), you would set the <code>Speed</code> property to 4 [pixels], the <code>Interval</code> property to 500 [milliseconds], the <code>Heading</code> property to 90 [degrees], and the <code>Enabled</code> property to <code>True</code>.</p><p>The difference between a <code>Ball</code> and an <code>ImageSprite</code> is that the latter can get its appearance from an image file, while a <code>Ball</code>''s appearance can be changed only by varying its <code>PaintColor</code> and <code>Radius</code> properties.</p>",
    "previous_source": "",
    "target": "<p>Ein rundes \"Sprite\", das auf einer <code>Leinwand</code> plaziert werden kann, auf der es auf Berührungen und Zug, mit anderen Sprites (<code>BildSprite</code>s und andere <code>Bälle</code>) und den Rändern der Leinwand interagieren sowie sich entsprechend seiner Eigenschaftswerte bewegen kann.</p><p>Um zum Beispiel einen <code>Ball</code> alle 500 Millisekunden (jede halbe Sekunde) auf einer <code>Leinwand</code> 4 Pixel nach oben zu bewegen, würden Sie die Eigenschaft <code>Geschwindigkeit</code> auf 4 [Pixel] setzen, die Eigenschaft <code>Intervall</code> auf 500 [Millisekunden], die Eigenschaft <code>Richtung</code> auf 90 [Grad Degree] und die Eigenschaft <code>Aktiv</code> auf <code>Wahr</code>.  Diese und andere Eigenschaften können jederzeit geändert werden.</p><p>Der Unterschied zwischen einem Ball und einem <code>BildSprite</code> ist, dass Letzteres sein Aussehen aus einer Bilddatei bezieht, während das Aussehen des Balls nur durch Änderung seiner <code>Zeichenfarbe</code> und seines <code>Radius</code> möglich ist.</p>",
    "id_hash": 7449823071733847299,
    "content_hash": -6909237758358581611,
    "location": "",
    "context": "BallHelpStringComponentPallette",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 4,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 119,
    "priority": 100,
    "id": 222591,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-info/de/?checksum=e763169ce6349503",
    "url": "https://weblate.appinventor.mit.edu/api/units/222591/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/10725/?format=api"
}