Units API

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

GET /api/units/225795/?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/pl/?format=api",
    "source": "A component that can launch an activity using the <code>StartActivity</code> method. <p>Activities that can be launched include:<ul> <li> Starting another App Inventor for Android app. To do so, first find out the <em>class</em> of the other application by downloading the source code and using a file explorer or unzip utility to find a file named \"youngandroidproject/project.properties\". The first line of the file will start with \"main=\" and be followed by the class name; for example, <code>main=com.gmail.Bitdiddle.Ben.HelloPurr.Screen1</code>. (The first components indicate that it was created by Ben.Bitdiddle",
    "previous_source": "",
    "target": "Komponent, który może uruchomić działanie za pomocą metody <code>StartActivity</code>. <p>Działania, które można uruchomić, obejmują: <ul><li> Uruchamianie innej aplikacji App Inventor dla Androida. Aby to zrobić, najpierw znajdź <em>klasę</em> innej aplikacji, pobierając kod źródłowy i używając eksploratora plików lub narzędzia unzip, aby znaleźć plik o nazwie „youngandroidproject/project.properties”. Pierwszy wiersz pliku rozpocznie się od „main=” i nastąpi po nim nazwa klasy; na przykład <code>main=com.gmail.Bitdiddle.Ben.HelloPurr.Screen1</code>. (Pierwsze komponenty wskazują, że to zostało stworzone przez Ben.Bitdiddle@gmail.com.) Aby ustawić <code>ActivityStarter</code> na uruchomienie tej aplikacji, ustaw następujące właściwości: <ul><li><code>ActivityPackage</code> do nazwy klasy, upuszczając ostatni komponent (na przykład <code>com.gmail.Bitdiddle.Ben.HelloPurr</code>) </li><li><code>ActivityClass</code> do całej nazwy klasy (na przykład <code>com.gmail.Bitdiddle.Ben.HelloPurr.Screen1</code>) </li></ul></li><li> Uruchamianie aplikacji kamery przez ustawienie następujących właściwości: <ul><li><code>Akcja: android.intent.action.MAIN</code></li><li><code>ActivityPackage: com.android.camera</code></li><li><code>ActivityClass: com.android.camera.Camera</code></li></ul></li><li> Przeprowadzanie wyszukiwania w sieci. Zakładając, że termin, który chcesz wyszukać, to „wampir” (nie wahaj się użyć innego terminu), ustaw właściwości na: <ul><code><li> Akcja: android.intent.action.WEB_SEARCH </li><li> ExtraKey: zapytanie </li><li> Dodatkowa wartość: wampir </li><li>ActivityPackage: com.google.android.providers.enhancedgooglesearch </li><li> ActivityClass: com.google.android.providers. enhancedgooglesearch.Launcher </li></code></ul></li><li> Otwieranie przeglądarki na określonej stronie internetowej. Zakładając, że strona, do której chcesz przejść, to „www.facebook.com” (możesz użyć własnego wyboru), ustaw właściwości na: <ul><code><li> Akcja: android.intent.action.VIEW </li><li> DataUri: http://www.facebook.com </li></code></ul></li></ul></p>",
    "id_hash": -6655185969608387764,
    "content_hash": -7918337812925819732,
    "location": "",
    "context": "ActivityStarterHelpStringComponentPallette",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 2,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 86,
    "priority": 100,
    "id": 225795,
    "web_url": "https://weblate.appinventor.mit.edu/translate/appinventor/component-info/pl/?checksum=23a4079f0f54134c",
    "url": "https://weblate.appinventor.mit.edu/api/units/225795/?format=api",
    "source_info": "https://weblate.appinventor.mit.edu/api/sources/10723/?format=api"
}