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/masterpagesgetting-started-libvirt/zh_CN/units/?format=api
https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "Launch a new machine via `virt-install`, using the Ignition file with your customizations." ], "previous_source": "", "target": [ "" ], "id_hash": 3289627200130312480, "content_hash": 3289627200130312480, "location": "pages/getting-started-libvirt.adoc:17", "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": 13, "source_unit": "https://translate.fedoraproject.org/api/units/4498573/?format=api", "priority": 100, "id": 4851345, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=ada71a82633ae920", "url": "https://translate.fedoraproject.org/api/units/4851345/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-07T15:02:41.418307Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "`virt-install` requires both the OS image and Ignition file to be specified as absolute paths." ], "previous_source": "", "target": [ "" ], "id_hash": -6422899595284995760, "content_hash": -6422899595284995760, "location": "pages/getting-started-libvirt.adoc:43", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate.fedoraproject.org/api/units/4498585/?format=api", "priority": 100, "id": 4851348, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=26dd46d91b09a150", "url": "https://translate.fedoraproject.org/api/units/4851348/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-07T15:02:41.514368Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "Depending on your version of `virt-install`, you may not be able to use `--os-variant=fedora-coreos-*` and will get an error. In this case, you should pick an older Fedora variant (`--os-variant=fedora31` for example). You can find the variants that are supported by you current version of `virt-install` with `osinfo-query os | grep '^\\s*fedora'`." ], "previous_source": "", "target": [ "" ], "id_hash": 5112416424755118884, "content_hash": 5112416424755118884, "location": "pages/getting-started-libvirt.adoc:45", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 52, "source_unit": "https://translate.fedoraproject.org/api/units/6622398/?format=api", "priority": 100, "id": 6622416, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=c6f2f3a6cd66c324", "url": "https://translate.fedoraproject.org/api/units/6622416/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-18T21:48:41.453087Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "Make sure that your user has access to `/dev/kvm`. The default is to allow access for everyone, but on some distributions you may need to add yourself to the `kvm` group." ], "previous_source": "", "target": [ "" ], "id_hash": 6496451630019164596, "content_hash": 6496451630019164596, "location": "pages/getting-started-libvirt.adoc:49", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate.fedoraproject.org/api/units/6622399/?format=api", "priority": 100, "id": 6622417, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=da2808567bccb9b4", "url": "https://translate.fedoraproject.org/api/units/6622417/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-12-18T21:48:41.477333Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "You can escape out of the serial console by pressing `CTRL + ]`." ], "previous_source": "", "target": [ "" ], "id_hash": -787213492928329766, "content_hash": -787213492928329766, "location": "pages/getting-started-libvirt.adoc:51", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate.fedoraproject.org/api/units/9834956/?format=api", "priority": 100, "id": 10407183, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=7513417fbf9cc7da", "url": "https://translate.fedoraproject.org/api/units/10407183/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-17T22:14:39.711755Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "If you set up an xref:authentication.adoc[SSH key] for the default `core` user, you can SSH into the VM and explore the OS:" ], "previous_source": "", "target": [ "" ], "id_hash": 4444752546133765459, "content_hash": 4444752546133765459, "location": "pages/getting-started-libvirt.adoc:53", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate.fedoraproject.org/api/units/10810951/?format=api", "priority": 100, "id": 10811049, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=bdaeeee432d0ed53", "url": "https://translate.fedoraproject.org/api/units/10811049/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-08-03T22:05:26.977181Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "ssh core@<ip address>\n" ], "previous_source": "", "target": [ "" ], "id_hash": 2714521080062926415, "content_hash": 2714521080062926415, "location": "pages/getting-started-libvirt.adoc:57", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/10810952/?format=api", "priority": 100, "id": 10811050, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=a5abea8a4875de4f", "url": "https://translate.fedoraproject.org/api/units/10811050/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-08-03T22:05:26.981085Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "# Setup the correct SELinux label to allow access to the config\nchcon --verbose --type svirt_home_t ${IGNITION_CONFIG}\n" ], "previous_source": "", "target": [ "" ], "id_hash": 5997602997354555494, "content_hash": 5997602997354555494, "location": "pages/getting-started-libvirt.adoc:35", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate.fedoraproject.org/api/units/12090363/?format=api", "priority": 100, "id": 12090395, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=d33bc4264122e866", "url": "https://translate.fedoraproject.org/api/units/12090395/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-11-07T22:01:28.686633Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "IGNITION_CONFIG=\"/path/to/example.ign\"\nIMAGE=\"/path/to/image.qcow2\"\nVM_NAME=\"fcos-test-01\"\nVCPUS=\"2\"\nRAM_MB=\"2048\"\nSTREAM=\"stable\"\nDISK_GB=\"10\"\n# For x86 / aarch64,\nIGNITION_DEVICE_ARG=(--qemu-commandline=\"-fw_cfg name=opt/com.coreos/config,file=${IGNITION_CONFIG}\")\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1571854240790936574, "content_hash": 1571854240790936574, "location": "pages/getting-started-libvirt.adoc:29", "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": 14, "source_unit": "https://translate.fedoraproject.org/api/units/12271228/?format=api", "priority": 100, "id": 12271252, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=95d0591a9d08fbfe", "url": "https://translate.fedoraproject.org/api/units/12271252/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-11-25T22:09:01.786600Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "# For s390x / ppc64le,\nIGNITION_DEVICE_ARG=(--disk path=\"${IGNITION_CONFIG}\",format=raw,readonly=on,serial=ignition,startup_policy=optional)\n" ], "previous_source": "", "target": [ "" ], "id_hash": 8430874757374568846, "content_hash": 8430874757374568846, "location": "pages/getting-started-libvirt.adoc:32", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/12271229/?format=api", "priority": 100, "id": 12271253, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=f5007bec531e698e", "url": "https://translate.fedoraproject.org/api/units/12271253/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-11-25T22:09:01.791617Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "virt-install --connect=\"qemu:///system\" --name=\"${VM_NAME}\" --vcpus=\"${VCPUS}\" --memory=\"${RAM_MB}\" \\\n --os-variant=\"fedora-coreos-$STREAM\" --import --graphics=none \\\n --disk=\"size=${DISK_GB},backing_store=${IMAGE}\" \\\n --network bridge=virbr0 \"${IGNITION_DEVICE_ARG[@]}\"\n" ], "previous_source": "", "target": [ "" ], "id_hash": -3118071347480066358, "content_hash": -3118071347480066358, "location": "pages/getting-started-libvirt.adoc:40", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate.fedoraproject.org/api/units/12271230/?format=api", "priority": 100, "id": 12271254, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=54ba62a1352086ca", "url": "https://translate.fedoraproject.org/api/units/12271254/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-11-25T22:09:01.796439Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "`DISK_GB` should be at least as big as the default size of the image. For Fedora CoreOS, this is currently 10 GB." ], "previous_source": "", "target": [ "" ], "id_hash": -2044807733767714384, "content_hash": -2044807733767714384, "location": "pages/getting-started-libvirt.adoc:47", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate.fedoraproject.org/api/units/12613636/?format=api", "priority": 100, "id": 12613644, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=639f623332cdc9b0", "url": "https://translate.fedoraproject.org/api/units/12613644/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-13T22:24:23.539308Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "Fetch the latest image suitable for the `qemu` platform using `coreos-installer` (or https://fedoraproject.org/coreos/download/[download and verify] it from the web). You can use `coreos-installer` https://quay.io/repository/coreos/coreos-installer[as a container], or on Fedora install it from the repos." ], "previous_source": "", "target": [ "" ], "id_hash": -2866506980287410918, "content_hash": -2866506980287410918, "location": "pages/getting-started-libvirt.adoc:4", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate.fedoraproject.org/api/units/14620422/?format=api", "priority": 100, "id": 14620663, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=58381f16bdca8d1a", "url": "https://translate.fedoraproject.org/api/units/14620663/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-05-09T22:28:10.353423Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?format=api", "source": [ "STREAM=\"stable\"\n# as an installed binary:\ncoreos-installer download -s $STREAM -p qemu -f qcow2.xz --decompress -C ~/.local/share/libvirt/images/\n# or as a container:\npodman run --pull=always --rm -v \"${HOME}/.local/share/libvirt/images/:/data\" -w /data \\\n quay.io/coreos/coreos-installer:release download -s $STREAM -p qemu -f qcow2.xz --decompress\n" ], "previous_source": "", "target": [ "" ], "id_hash": 8847709161766033734, "content_hash": 8847709161766033734, "location": "pages/getting-started-libvirt.adoc:13", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 40, "source_unit": "https://translate.fedoraproject.org/api/units/18693624/?format=api", "priority": 100, "id": 18693633, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-libvirt/zh_CN/?checksum=fac9609aff089946", "url": "https://translate.fedoraproject.org/api/units/18693633/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-13T22:28:05.765248Z", "last_updated": "2025-01-13T22:28:05.765291Z" } ] }{ "count": 14, "next": null, "previous": null, "results": [ { "translation": "