Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/units/?format=api
https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/?format=api", "language_code": "cs", "source": [ "Configuring Swap on ZRAM" ], "previous_source": "", "target": [ "" ], "id_hash": -2896477975743783174, "content_hash": -2896477975743783174, "location": "./pages/sysconfig-configure-swaponzram.adoc:1", "context": "", "note": "type: Title =", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate.fedoraproject.org/api/units/6049352/?format=api", "priority": 100, "id": 17277789, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/?checksum=57cda4a0940c9efa", "url": "https://translate.fedoraproject.org/api/units/17277789/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:53:16.664433Z", "last_updated": "2024-02-20T16:53:16.664456Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/?format=api", "language_code": "cs", "source": [ "In Fedora 33 some editions https://www.fedoraproject.org/wiki/Releases/33/ChangeSet#swap_on_zram[enabled swap on ZRAM by default]. Fedora CoreOS currently has the `zram-generator` included but no configuration in place to enable swap on ZRAM by default. In order to configure swap on ZRAM you can lay down a configuration file via Ignition that will tell the zram generator to set up swap on top of a zram device." ], "previous_source": "", "target": [ "" ], "id_hash": 2596365650311193000, "content_hash": 2596365650311193000, "location": "./pages/sysconfig-configure-swaponzram.adoc:4", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 62, "source_unit": "https://translate.fedoraproject.org/api/units/6049354/?format=api", "priority": 100, "id": 17277790, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/?checksum=a40824cd85d321a8", "url": "https://translate.fedoraproject.org/api/units/17277790/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:53:16.670724Z", "last_updated": "2024-02-20T16:53:16.670744Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/?format=api", "language_code": "cs", "source": [ "The documentation for the config file format lives in the https://github.com/systemd/zram-generator/blob/main/man/zram-generator.conf.md[upstream documentation] along with a comprehensive https://github.com/systemd/zram-generator/blob/main/zram-generator.conf.example[example]. The most basic form of a configuration file that will set up a `zram0` device for swap is:" ], "previous_source": "", "target": [ "" ], "id_hash": -9156933492272335713, "content_hash": -9156933492272335713, "location": "./pages/sysconfig-configure-swaponzram.adoc:6", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://translate.fedoraproject.org/api/units/7923695/?format=api", "priority": 100, "id": 17277791, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/?checksum=00ec0981193af49f", "url": "https://translate.fedoraproject.org/api/units/17277791/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:53:16.676738Z", "last_updated": "2024-02-20T16:53:16.676758Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/?format=api", "language_code": "cs", "source": [ "variant: fcos\nversion: {butane-latest-stable-spec}\nstorage:\n files:\n - path: /etc/systemd/zram-generator.conf\n mode: 0644\n contents:\n inline: |\n # This config file enables a /dev/zram0 device with the default settings\n [zram0]\n" ], "previous_source": "", "target": [ "" ], "id_hash": -4633695054868176039, "content_hash": -4633695054868176039, "location": "./pages/sysconfig-configure-swaponzram.adoc:19", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate.fedoraproject.org/api/units/16788431/?format=api", "priority": 100, "id": 17277792, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/?checksum=3fb1cee5e1192359", "url": "https://translate.fedoraproject.org/api/units/17277792/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:53:16.682466Z", "last_updated": "2024-02-20T16:53:16.682486Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/?format=api", "language_code": "cs", "source": [ "Once booted, you can verify the swap device is set up by viewing the `swapon --show` output. You can also view the true compression ratio of the currently configured zram devices by running `zramctl`." ], "previous_source": "", "target": [ "" ], "id_hash": 6530842314491061374, "content_hash": 6530842314491061374, "location": "./pages/sysconfig-configure-swaponzram.adoc:21", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate.fedoraproject.org/api/units/6049360/?format=api", "priority": 100, "id": 17277793, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagessysconfig-configure-swaponzram/cs/?checksum=daa2367baf54647e", "url": "https://translate.fedoraproject.org/api/units/17277793/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:53:16.687670Z", "last_updated": "2024-02-20T16:53:16.687688Z" } ] }{ "count": 5, "next": null, "previous": null, "results": [ { "translation": "