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/masterpagescustomize-nic/cs/units/?format=api
https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "How to Customize a NIC Name" ], "previous_source": "", "target": [ "" ], "id_hash": 1722184174445466547, "content_hash": 1722184174445466547, "location": "./pages/customize-nic.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": 6, "source_unit": "https://translate.fedoraproject.org/api/units/4891740/?format=api", "priority": 100, "id": 17277497, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=97e66d61d39f13b3", "url": "https://translate.fedoraproject.org/api/units/17277497/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.623925Z", "last_updated": "2024-02-20T16:46:20.623963Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "Using a systemd Link File" ], "previous_source": "", "target": [ "" ], "id_hash": -7161953705989479408, "content_hash": -7161953705989479408, "location": "./pages/customize-nic.adoc:3", "context": "", "note": "type: Title ==", "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": 5, "source_unit": "https://translate.fedoraproject.org/api/units/4891743/?format=api", "priority": 100, "id": 17277498, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=1c9ba10cd0b46410", "url": "https://translate.fedoraproject.org/api/units/17277498/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.631123Z", "last_updated": "2024-02-20T16:46:20.631158Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "You can create a systemd https://www.freedesktop.org/software/systemd/man/systemd.link.html[link file] with Ignition configs." ], "previous_source": "", "target": [ "" ], "id_hash": 5663416685851369610, "content_hash": 5663416685851369610, "location": "./pages/customize-nic.adoc:5", "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": 10, "source_unit": "https://translate.fedoraproject.org/api/units/6053349/?format=api", "priority": 100, "id": 17277499, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=ce987f783f30e08a", "url": "https://translate.fedoraproject.org/api/units/17277499/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.639096Z", "last_updated": "2024-02-20T16:46:20.639134Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "For example, to name NIC with the MAC address `12:34:56:78:9a:bc` to \"infra\", place a systemd link file at `/etc/systemd/network/25-infra.link` using the xref:producing-ign.adoc[Butane] config snippet shown below:" ], "previous_source": "", "target": [ "" ], "id_hash": -7212471814474950207, "content_hash": -7212471814474950207, "location": "./pages/customize-nic.adoc:7", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 26, "source_unit": "https://translate.fedoraproject.org/api/units/7757567/?format=api", "priority": 100, "id": 17277500, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=1be8271919b419c1", "url": "https://translate.fedoraproject.org/api/units/17277500/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.647113Z", "last_updated": "2024-02-20T16:46:20.647144Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "Example: Customize NIC via systemd Link File" ], "previous_source": "", "target": [ "" ], "id_hash": 3260150257625446687, "content_hash": 3260150257625446687, "location": "./pages/customize-nic.adoc:8", "context": "", "note": "type: Block title", "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/4891752/?format=api", "priority": 100, "id": 17277501, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=ad3e6162e429b91f", "url": "https://translate.fedoraproject.org/api/units/17277501/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.654755Z", "last_updated": "2024-02-20T16:46:20.654777Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "variant: fcos\nversion: {butane-latest-stable-spec}\nstorage:\n files:\n - path: /etc/systemd/network/25-infra.link\n mode: 0644\n contents:\n inline: |\n [Match]\n MACAddress=12:34:56:78:9a:bc\n [Link]\n Name=infra\n" ], "previous_source": "", "target": [ "" ], "id_hash": -6629100947354284522, "content_hash": -6629100947354284522, "location": "./pages/customize-nic.adoc:23", "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": 18, "source_unit": "https://translate.fedoraproject.org/api/units/16788341/?format=api", "priority": 100, "id": 17277502, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=2400b3cf94be0e16", "url": "https://translate.fedoraproject.org/api/units/17277502/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.663986Z", "last_updated": "2024-02-20T16:46:20.664027Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "Using Udev Rules" ], "previous_source": "", "target": [ "" ], "id_hash": 6379034211835479685, "content_hash": 6379034211835479685, "location": "./pages/customize-nic.adoc:25", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/4891758/?format=api", "priority": 100, "id": 17277503, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=d886e1d16e848685", "url": "https://translate.fedoraproject.org/api/units/17277503/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.672810Z", "last_updated": "2024-02-20T16:46:20.672834Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "Similarly, also through Ignition configs, to name NIC with the MAC address `12:34:56:78:9a:bc` to \"infra\", create a https://man7.org/linux/man-pages/man7/udev.7.html[udev rule] at `/etc/udev/rules.d/80-ifname.rules` using the xref:producing-ign.adoc[Butane] config snippet shown below:" ], "previous_source": "", "target": [ "" ], "id_hash": 4830491586457894970, "content_hash": 4830491586457894970, "location": "./pages/customize-nic.adoc:27", "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": 28, "source_unit": "https://translate.fedoraproject.org/api/units/7757568/?format=api", "priority": 100, "id": 17277504, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=c3095a813d56003a", "url": "https://translate.fedoraproject.org/api/units/17277504/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.681352Z", "last_updated": "2024-02-20T16:46:20.681377Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "Example: Customize NIC via Udev Rules" ], "previous_source": "", "target": [ "" ], "id_hash": 8161545899518671388, "content_hash": 8161545899518671388, "location": "./pages/customize-nic.adoc:28", "context": "", "note": "type: Block title", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate.fedoraproject.org/api/units/4891762/?format=api", "priority": 100, "id": 17277505, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=f143a2c0fedb3a1c", "url": "https://translate.fedoraproject.org/api/units/17277505/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.690380Z", "last_updated": "2024-02-20T16:46:20.690408Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "variant: fcos\nversion: {butane-latest-stable-spec}\nstorage:\n files:\n - path: /etc/udev/rules.d/80-ifname.rules\n mode: 0644\n contents:\n inline: |\n SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"12:34:56:78:9a:bc\", ATTR{type}==\"1\", NAME=\"infra\"\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8180478067134479280, "content_hash": -8180478067134479280, "location": "./pages/customize-nic.adoc:40", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://translate.fedoraproject.org/api/units/16788342/?format=api", "priority": 100, "id": 17277506, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=0e791a8a3b934450", "url": "https://translate.fedoraproject.org/api/units/17277506/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.700393Z", "last_updated": "2024-02-20T16:46:20.700421Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "Networking in the Initramfs via Kernel Arguments" ], "previous_source": "", "target": [ "" ], "id_hash": 543548367044367028, "content_hash": 543548367044367028, "location": "./pages/customize-nic.adoc:42", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/4891766/?format=api", "priority": 100, "id": 17277507, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=878b125c27ec52b4", "url": "https://translate.fedoraproject.org/api/units/17277507/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.708882Z", "last_updated": "2024-02-20T16:46:20.708914Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "If networking in the initramfs is required, the kernel argument `ifname=` will dynamically create a udev rule to change the name of a NIC." ], "previous_source": "", "target": [ "" ], "id_hash": -1460292114028733523, "content_hash": -1460292114028733523, "location": "./pages/customize-nic.adoc:44", "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": 24, "source_unit": "https://translate.fedoraproject.org/api/units/4891768/?format=api", "priority": 100, "id": 17277508, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=6bbc000f2b035bad", "url": "https://translate.fedoraproject.org/api/units/17277508/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.716940Z", "last_updated": "2024-02-20T16:46:20.716983Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "Currently, unlike other parts of the networking config from the initramfs (e.g. static IPs, hostnames, etc.), these udev rules are not persisted into the real root. If the custom name needs to be applied to the real root, either a link file or udev rule must be created, as shown above. See xref:https://github.com/coreos/fedora-coreos-tracker/issues/553[this issue] for more details." ], "previous_source": "", "target": [ "" ], "id_hash": -395319189914167510, "content_hash": -395319189914167510, "location": "./pages/customize-nic.adoc:46", "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": 57, "source_unit": "https://translate.fedoraproject.org/api/units/4891771/?format=api", "priority": 100, "id": 17277509, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=7a838b4a9045572a", "url": "https://translate.fedoraproject.org/api/units/17277509/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.726124Z", "last_updated": "2024-02-20T16:46:20.726154Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "For example, to give the NIC with the MAC address `12:34:56:78:9a:bc` a name of \"infra\", provide a `ifname=infra:12:34:56:78:9a:bc` kernel argument. A udev rule would be created in the initramfs like:" ], "previous_source": "", "target": [ "" ], "id_hash": 6944544615486674130, "content_hash": 6944544615486674130, "location": "./pages/customize-nic.adoc:48", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://translate.fedoraproject.org/api/units/4891774/?format=api", "priority": 100, "id": 17277510, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=e05ffa88b4ef54d2", "url": "https://translate.fedoraproject.org/api/units/17277510/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.736694Z", "last_updated": "2024-02-20T16:46:20.736723Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?format=api", "source": [ "# cat /etc/udev/rules.d/80-ifname.rules\nSUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"12:34:56:78:9a:bc\", ATTR{type}==\"1\", NAME=\"infra\"\n" ], "previous_source": "", "target": [ "" ], "id_hash": 3822928050834238688, "content_hash": 3822928050834238688, "location": "./pages/customize-nic.adoc:52", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate.fedoraproject.org/api/units/4891777/?format=api", "priority": 100, "id": 17277511, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagescustomize-nic/cs/?checksum=b50dc4ceb7d9ece0", "url": "https://translate.fedoraproject.org/api/units/17277511/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-20T16:46:20.747212Z", "last_updated": "2024-02-20T16:46:20.747239Z" } ] }{ "count": 15, "next": null, "previous": null, "results": [ { "translation": "