Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/units/?format=api
{ "count": 66, "next": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/units/?format=api&page=2", "previous": null, "results": [ { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Tips and Tricks" ], "previous_source": "", "target": [ "提示和技巧" ], "id_hash": 2361738527395290030, "content_hash": 2361738527395290030, "location": "pages/tips-and-tricks.adoc:1", "context": "", "note": "type: Title =", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/9836264/?format=api", "priority": 100, "id": 9837474, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=a0c694ad79c01bae", "url": "https://translate.fedoraproject.org/api/units/9837474/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.803248Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Working with Toolbx" ], "previous_source": "", "target": [ "使用 Toolbx" ], "id_hash": 5618398735846476120, "content_hash": 5618398735846476120, "location": "pages/tips-and-tricks.adoc:61", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 19, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/9836265/?format=api", "priority": 100, "id": 9837475, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=cdf88fe1f8a20958", "url": "https://translate.fedoraproject.org/api/units/9837475/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.807814Z", "last_updated": "2024-10-14T22:30:55.208925Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Finding out if you are currently in a Toolbx container" ], "previous_source": "", "target": [ "检查你是否位于一个 Toolbx 容器中" ], "id_hash": 5321185507494547960, "content_hash": 5321185507494547960, "location": "pages/tips-and-tricks.adoc:63", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 20, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate.fedoraproject.org/api/units/9836266/?format=api", "priority": 100, "id": 9837476, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=c9d8a606b62b51f8", "url": "https://translate.fedoraproject.org/api/units/9837476/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.811404Z", "last_updated": "2024-10-14T22:30:55.212278Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "To alleviate this, you can add the following shell alias at the end of your `~/.bashrc`:" ], "previous_source": "", "target": [ "为了缓解这种情况,你可以在 `~/.bashrc` 末尾添加下面的 shell 别名:" ], "id_hash": -281449793224964758, "content_hash": -281449793224964758, "location": "pages/tips-and-tricks.adoc:69", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 22, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate.fedoraproject.org/api/units/9836268/?format=api", "priority": 100, "id": 9837478, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=7c1816e77cb8056a", "url": "https://translate.fedoraproject.org/api/units/9837478/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.818137Z", "last_updated": "2024-10-14T22:30:55.220000Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ " alias istoolbx='[ -f \"/run/.toolboxenv\" ] && grep -oP \"(?<=name=\\\")[^\\\";]+\" /run/.containerenv'\n" ], "previous_source": "", "target": [ " alias istoolbx='[ -f \"/run/.toolboxenv\" ] && grep -oP \"(?<=name=\\\")[^\\\";]+\" /run/.containerenv'\n" ], "id_hash": 4436134759635324194, "content_hash": 4436134759635324194, "location": "pages/tips-and-tricks.adoc:71", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 23, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate.fedoraproject.org/api/units/9836269/?format=api", "priority": 100, "id": 9837479, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=bd90510f6bd38d22", "url": "https://translate.fedoraproject.org/api/units/9837479/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.821307Z", "last_updated": "2024-10-14T22:30:55.225108Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "When run from the host, returns an exit code of 1" ], "previous_source": "", "target": [ "当你在主机执行这个命令,它会以返回值 1 退出" ], "id_hash": -5020439753022768625, "content_hash": -5020439753022768625, "location": "pages/tips-and-tricks.adoc:76", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 25, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate.fedoraproject.org/api/units/9836271/?format=api", "priority": 100, "id": 9837481, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=3a53d0a4e0d3fa0f", "url": "https://translate.fedoraproject.org/api/units/9837481/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.828415Z", "last_updated": "2024-10-14T22:30:55.233587Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "When run from a Toolbx container, returns an exit code of 0 and prints the current Toolbx containers name to the console" ], "previous_source": "", "target": [ "当你在 Toolbx 容器执行这个命令,它会以返回值 0 退出同时打印当前 Toolbx 的容器名称" ], "id_hash": 9155065237534370689, "content_hash": 9155065237534370689, "location": "pages/tips-and-tricks.adoc:77", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 26, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate.fedoraproject.org/api/units/9836272/?format=api", "priority": 100, "id": 9837482, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=ff0d5353f2c36b81", "url": "https://translate.fedoraproject.org/api/units/9837482/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.834709Z", "last_updated": "2024-10-14T22:30:55.238253Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Running applications from inside Toolbx on the host" ], "previous_source": "", "target": [ "在 Toolbx 里运行 Host 上的应用程序" ], "id_hash": -7901321739128623083, "content_hash": -7901321739128623083, "location": "pages/tips-and-tricks.adoc:101", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 33, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/9836273/?format=api", "priority": 100, "id": 9837483, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=1258ddbdc32ab015", "url": "https://translate.fedoraproject.org/api/units/9837483/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.840171Z", "last_updated": "2024-10-14T22:30:55.275281Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ " $ flatpak-spawn --host podman --help\n" ], "previous_source": "", "target": [ " $ flatpak-spawn --host podman --help\n" ], "id_hash": -7185967439382609572, "content_hash": -7185967439382609572, "location": "pages/tips-and-tricks.adoc:107", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 35, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 5, "source_unit": "https://translate.fedoraproject.org/api/units/9836275/?format=api", "priority": 100, "id": 9837485, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=1c4650afd013815c", "url": "https://translate.fedoraproject.org/api/units/9837485/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.849667Z", "last_updated": "2024-10-14T22:30:55.284710Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "If the application you want to call requires `sudo` access, the `-S` option must be supplied to `sudo` like below:" ], "previous_source": "", "target": [ "如果你运行某个应用需要到 `sudo` 权限,你必须为 `sudo` 添加 `-S` 选项:" ], "id_hash": 6044996014709044574, "content_hash": 6044996014709044574, "location": "pages/tips-and-tricks.adoc:109", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 36, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://translate.fedoraproject.org/api/units/9836276/?format=api", "priority": 100, "id": 9837486, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=d3e423d8fd62755e", "url": "https://translate.fedoraproject.org/api/units/9837486/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.853580Z", "last_updated": "2024-10-14T22:30:55.288762Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ " $ flatpak-spawn --host sudo -S rpm-ostree status\n" ], "previous_source": "", "target": [ " $ flatpak-spawn --host sudo -S rpm-ostree status\n" ], "id_hash": 8721793563482599059, "content_hash": 8721793563482599059, "location": "pages/tips-and-tricks.adoc:111", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 37, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/9836277/?format=api", "priority": 100, "id": 9837487, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=f90a090933ab2e93", "url": "https://translate.fedoraproject.org/api/units/9837487/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.857356Z", "last_updated": "2024-10-14T22:30:55.293225Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Define the `istoolbx` alias (for convenience) by executing the command mentioned above in your terminal" ], "previous_source": "", "target": [ "在终端中执行上面的命令以定义 `istoolbx` 别称" ], "id_hash": 3248643607706839886, "content_hash": 3248643607706839886, "location": "pages/tips-and-tricks.adoc:116", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 39, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate.fedoraproject.org/api/units/9836279/?format=api", "priority": 100, "id": 9837489, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=ad1580262f35ab4e", "url": "https://translate.fedoraproject.org/api/units/9837489/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.864898Z", "last_updated": "2024-10-14T22:30:55.301311Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "[toolbx]$ istoolbx\n<Toolbx container name here>\n" ], "previous_source": "", "target": [ "[toolbx]$ istoolbx\n<Toolbx container name here>\n" ], "id_hash": -7085262526718246860, "content_hash": -7085262526718246860, "location": "pages/tips-and-tricks.adoc:122", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 41, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 6, "source_unit": "https://translate.fedoraproject.org/api/units/9836281/?format=api", "priority": 100, "id": 9837491, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=1dac174572928034", "url": "https://translate.fedoraproject.org/api/units/9837491/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.871671Z", "last_updated": "2024-10-14T22:30:55.309231Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Once you have made sure you're in a Toolbx container, execute the following command:" ], "previous_source": "", "target": [ "当你确定你在一个 Toolbx 容器时, 执行:" ], "id_hash": -3654786958281455542, "content_hash": -3654786958281455542, "location": "pages/tips-and-tricks.adoc:124", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 42, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate.fedoraproject.org/api/units/9836282/?format=api", "priority": 100, "id": 9837492, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=4d4796a015e7484a", "url": "https://translate.fedoraproject.org/api/units/9837492/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.874880Z", "last_updated": "2024-10-14T22:30:55.312947Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "[toolbx]$ echo -e '#!/bin/sh\\nexec /usr/bin/flatpak-spawn --host flatpak \"$@\"' | sudo tee /usr/local/bin/flatpak 1>/dev/null && sudo chmod +x /usr/local/bin/flatpak\n" ], "previous_source": "", "target": [ "[toolbx]$ echo -e '#!/bin/sh\\nexec /usr/bin/flatpak-spawn --host flatpak \"$@\"' | sudo tee /usr/local/bin/flatpak 1>/dev/null && sudo chmod +x /usr/local/bin/flatpak\n" ], "id_hash": 1434349268010278572, "content_hash": 1434349268010278572, "location": "pages/tips-and-tricks.adoc:126", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 43, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 18, "source_unit": "https://translate.fedoraproject.org/api/units/9836283/?format=api", "priority": 100, "id": 9837493, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=93e7d50f4b981eac", "url": "https://translate.fedoraproject.org/api/units/9837493/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.878103Z", "last_updated": "2024-10-14T22:30:55.317456Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "You now have a `flatpak` command available that allows you to interact with `flatpak` as if you were running the command on the host." ], "previous_source": "", "target": [ "你现在有一个可用的 `flatpak` 命令,它允许你与 `flatpak` 交互,就好像您在主机上运行该命令一样。" ], "id_hash": -1927731472126160727, "content_hash": -1927731472126160727, "location": "pages/tips-and-tricks.adoc:128", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 44, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate.fedoraproject.org/api/units/9836284/?format=api", "priority": 100, "id": 9837494, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=653f52708d9450a9", "url": "https://translate.fedoraproject.org/api/units/9837494/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.880634Z", "last_updated": "2024-10-14T22:30:55.321275Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Working with `ostree`/`rpm-ostree`" ], "previous_source": "", "target": [ "使用 `ostree`/`rpm-ostree`" ], "id_hash": 6608384864470980181, "content_hash": 6608384864470980181, "location": "pages/tips-and-tricks.adoc:129", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 45, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/9836285/?format=api", "priority": 100, "id": 9837495, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=dbb5b30581dc5655", "url": "https://translate.fedoraproject.org/api/units/9837495/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.883350Z", "last_updated": "2024-10-14T22:30:55.325888Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Tracking changes to the base OS" ], "previous_source": "", "target": [ "追踪基本系统上的变动" ], "id_hash": 664377716079539401, "content_hash": 664377716079539401, "location": "pages/tips-and-tricks.adoc:131", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 46, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate.fedoraproject.org/api/units/9836286/?format=api", "priority": 100, "id": 9837496, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=89385803439b34c9", "url": "https://translate.fedoraproject.org/api/units/9837496/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.888517Z", "last_updated": "2024-10-14T22:30:55.331478Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ " $ sudo ostree admin config-diff\n" ], "previous_source": "", "target": [ " $ sudo ostree admin config-diff\n" ], "id_hash": -3861499107398588110, "content_hash": -3861499107398588110, "location": "pages/tips-and-tricks.adoc:137", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 48, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 5, "source_unit": "https://translate.fedoraproject.org/api/units/9836288/?format=api", "priority": 100, "id": 9837498, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=4a6933055b04e932", "url": "https://translate.fedoraproject.org/api/units/9837498/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.898215Z", "last_updated": "2024-10-14T22:30:55.340464Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "To get a more elaborate diff, you can use something like this:" ], "previous_source": "", "target": [ "要获得更详细的差异,你可以使用:" ], "id_hash": -412585941435412451, "content_hash": -412585941435412451, "location": "pages/tips-and-tricks.adoc:139", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 49, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate.fedoraproject.org/api/units/9836289/?format=api", "priority": 100, "id": 9837499, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=7a463345b16c101d", "url": "https://translate.fedoraproject.org/api/units/9837499/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.902899Z", "last_updated": "2024-10-14T22:30:55.344604Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ " $ sudo diff -yrW200 --suppress-common-lines --color=always /usr/etc /etc 2>/dev/null\n" ], "previous_source": "", "target": [ " $ sudo diff -yrW200 --suppress-common-lines --color=always /usr/etc /etc 2>/dev/null\n" ], "id_hash": 6233699428761621450, "content_hash": 6233699428761621450, "location": "pages/tips-and-tricks.adoc:141", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 50, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 9, "source_unit": "https://translate.fedoraproject.org/api/units/9836290/?format=api", "priority": 100, "id": 9837500, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=d6828c9a57e453ca", "url": "https://translate.fedoraproject.org/api/units/9837500/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.907289Z", "last_updated": "2024-10-14T22:30:55.349610Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Working with Flatpak applications" ], "previous_source": "", "target": [ "使用 Flatpak 应用" ], "id_hash": 2213954884432010563, "content_hash": 2213954884432010563, "location": "pages/tips-and-tricks.adoc:145", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 52, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate.fedoraproject.org/api/units/9836292/?format=api", "priority": 100, "id": 9837502, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=9eb98c3cc34f9d43", "url": "https://translate.fedoraproject.org/api/units/9837502/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.916194Z", "last_updated": "2024-10-14T22:30:55.357871Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Directly accessing Flatpak applications from the CLI" ], "previous_source": "", "target": [ "从 CLI 直接访问 Flatpak 应用程序" ], "id_hash": -8885742418413038435, "content_hash": -8885742418413038435, "location": "pages/tips-and-tricks.adoc:147", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 53, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/9836293/?format=api", "priority": 100, "id": 9837503, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=04af805960ded49d", "url": "https://translate.fedoraproject.org/api/units/9837503/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.920284Z", "last_updated": "2024-10-14T22:30:55.362155Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "The most noticable change when using Flatpak applications instead of conventional installations is that the applications cannot be directly called from the CLI any more, like so:" ], "previous_source": "", "target": [ "使用 Flatpak 应用程序而非传统方式安装的应用程序最显着的变化是不能再直接从 CLI 调用应用程序:" ], "id_hash": 1923151468753181182, "content_hash": 1923151468753181182, "location": "pages/tips-and-tricks.adoc:150", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 54, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate.fedoraproject.org/api/units/9836294/?format=api", "priority": 100, "id": 9837504, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=9ab06812504dd9fe", "url": "https://translate.fedoraproject.org/api/units/9837504/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.924345Z", "last_updated": "2024-10-14T22:30:55.366698Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ " $ evince\n bash: command not found: evince\n" ], "previous_source": "", "target": [ " $ evince\n bash: command not found: evince\n" ], "id_hash": 5718910970408415045, "content_hash": 5718910970408415045, "location": "pages/tips-and-tricks.adoc:153", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 55, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/9836295/?format=api", "priority": 100, "id": 9837505, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=cf5da73a3d472f45", "url": "https://translate.fedoraproject.org/api/units/9837505/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.928347Z", "last_updated": "2024-10-14T22:30:55.371019Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Instead, one can call them like this:" ], "previous_source": "", "target": [ "你需要这样子调用它们:" ], "id_hash": 8091510383949617285, "content_hash": 8091510383949617285, "location": "pages/tips-and-tricks.adoc:155", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 56, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/9836296/?format=api", "priority": 100, "id": 9837506, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=f04ad1d2d3b39885", "url": "https://translate.fedoraproject.org/api/units/9837506/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.932041Z", "last_updated": "2024-10-14T22:30:55.375003Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ " $ flatpak run org.gnome.Evince\n" ], "previous_source": "", "target": [ " $ flatpak run org.gnome.Evince\n" ], "id_hash": 8303507928267429126, "content_hash": 8303507928267429126, "location": "pages/tips-and-tricks.adoc:157", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 57, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 4, "source_unit": "https://translate.fedoraproject.org/api/units/9836297/?format=api", "priority": 100, "id": 9837507, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=f33bfc7786051506", "url": "https://translate.fedoraproject.org/api/units/9837507/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.935699Z", "last_updated": "2024-10-14T22:30:55.378975Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "In addition, most Flatpak applications export their internal binaries under an installation-dependent location:" ], "previous_source": "", "target": [ "此外,大多数 Flatpak 应用程序将其内部二进制文件导出到一个与安装方式相关的位置:" ], "id_hash": -8261096842230007120, "content_hash": -8261096842230007120, "location": "pages/tips-and-tricks.adoc:159", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 58, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate.fedoraproject.org/api/units/9836298/?format=api", "priority": 100, "id": 9837508, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=0d5ab030efc77ab0", "url": "https://translate.fedoraproject.org/api/units/9837508/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.939287Z", "last_updated": "2024-10-14T22:30:55.383104Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "For Flatpak applications installed from `system` remotes, these can be found under `/var/lib/flatpak/exports/bin/`" ], "previous_source": "", "target": [ "如果你的 Flatpak 应用是系统级别安装的,你可以在 `/var/lib/flatpak/exports/bin/` 找到它们" ], "id_hash": -7287535686710743188, "content_hash": -7287535686710743188, "location": "pages/tips-and-tricks.adoc:161", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 59, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate.fedoraproject.org/api/units/9836299/?format=api", "priority": 100, "id": 9837509, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=1add78e7699faf6c", "url": "https://translate.fedoraproject.org/api/units/9837509/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.943059Z", "last_updated": "2024-10-14T22:30:55.386944Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "For Flatpak applications installed from `user` remotes, these can be found under `$HOME/.local/share/flatpak/exports/bin/`" ], "previous_source": "", "target": [ "如果你的 Flatpak 应用是用户级别安装的,你可以在 `$HOME/.local/share/flatpak/exports/bin/` 找到它们" ], "id_hash": 4019847280926575534, "content_hash": 4019847280926575534, "location": "pages/tips-and-tricks.adoc:162", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 60, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate.fedoraproject.org/api/units/9836300/?format=api", "priority": 100, "id": 9837510, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=b7c95dcdcef2cbae", "url": "https://translate.fedoraproject.org/api/units/9837510/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.947043Z", "last_updated": "2024-10-14T22:30:55.391334Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "If you're unsure to which installation a Flatpak application belongs, you can use this command to print it out:" ], "previous_source": "", "target": [ "如果你不确定某个 Flatpak 应用是怎么安装的,你可以使用这个命令:" ], "id_hash": 8946453926225405342, "content_hash": 8946453926225405342, "location": "pages/tips-and-tricks.adoc:166", "context": "", "note": "type: delimited block =", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 61, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate.fedoraproject.org/api/units/9836301/?format=api", "priority": 100, "id": 9837511, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=fc2830721010659e", "url": "https://translate.fedoraproject.org/api/units/9837511/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.950828Z", "last_updated": "2024-10-14T22:30:55.395560Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ " $ flatpak list --app --columns=name,installation\n" ], "previous_source": "", "target": [ " $ flatpak list --app --columns=name,installation\n" ], "id_hash": -2128026334863466526, "content_hash": -2128026334863466526, "location": "pages/tips-and-tricks.adoc:168", "context": "", "note": "type: delimited block =", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 62, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 5, "source_unit": "https://translate.fedoraproject.org/api/units/9836302/?format=api", "priority": 100, "id": 9837512, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=6277bb52bdc95fe2", "url": "https://translate.fedoraproject.org/api/units/9837512/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.954405Z", "last_updated": "2024-10-14T22:30:55.399882Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "You can then either add these directories to your `$PATH`:" ], "previous_source": "", "target": [ "你可以将这些目录添加到 `$PATH`:" ], "id_hash": 7207506909947129602, "content_hash": 7207506909947129602, "location": "pages/tips-and-tricks.adoc:171", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 63, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate.fedoraproject.org/api/units/9836303/?format=api", "priority": 100, "id": 9837513, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=e4063558fb926f02", "url": "https://translate.fedoraproject.org/api/units/9837513/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.957984Z", "last_updated": "2024-10-14T22:30:55.404045Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ " $ org.gnome.Evince\n" ], "previous_source": "", "target": [ " $ org.gnome.Evince\n" ], "id_hash": -4554520876494081619, "content_hash": -4554520876494081619, "location": "pages/tips-and-tricks.adoc:173", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 64, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate.fedoraproject.org/api/units/9836304/?format=api", "priority": 100, "id": 9837514, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=40cb1764ca7831ad", "url": "https://translate.fedoraproject.org/api/units/9837514/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.961469Z", "last_updated": "2024-10-14T22:30:55.408917Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "or setup shell `alias`es as needed to make them available to the CLI like so:" ], "previous_source": "", "target": [ "或者为你的 shell 设置别称是它们在 CLI 中可用:" ], "id_hash": 5830150954298973021, "content_hash": 5830150954298973021, "location": "pages/tips-and-tricks.adoc:175", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 65, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate.fedoraproject.org/api/units/9836305/?format=api", "priority": 100, "id": 9837515, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=d0e8db6749e51b5d", "url": "https://translate.fedoraproject.org/api/units/9837515/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.964656Z", "last_updated": "2024-10-14T22:30:55.412864Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ " $ alias evince=\"flatpak run org.gnome.Evince\"\n # or alias evince=\"org.gnome.Evince\"\n $ evince\n" ], "previous_source": "", "target": [ " $ alias evince=\"flatpak run org.gnome.Evince\"\n # or alias evince=\"org.gnome.Evince\"\n $ evince\n" ], "id_hash": -5068087972357343723, "content_hash": -5068087972357343723, "location": "pages/tips-and-tricks.adoc:178", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 66, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 11, "source_unit": "https://translate.fedoraproject.org/api/units/9836306/?format=api", "priority": 100, "id": 9837516, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=39aa88d74d35f615", "url": "https://translate.fedoraproject.org/api/units/9837516/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-22T18:01:35.968745Z", "last_updated": "2024-10-14T22:30:55.416977Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "If you frequently make use of Toolbx to perform various tasks and use multiple Toolbx containers it can be hard to keep track of whether you are currently executing commands on the host or in a Toolbx container. Furthermore, there is currently no command to tell you in which Toolbx container you are working." ], "previous_source": "", "target": [ "如果你经常使用 Toolbx 执行各种任务并使用多个 Toolbx 容器,有时可能会搞不清楚自己是在主机上还是在 Toolbx 容器中执行命令。毕竟目前没有任何命令告诉你正在哪个 Toolbx 容器中工作。" ], "id_hash": -730965439225663520, "content_hash": -730965439225663520, "location": "pages/tips-and-tricks.adoc:67", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 21, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 54, "source_unit": "https://translate.fedoraproject.org/api/units/10404152/?format=api", "priority": 100, "id": 10404385, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=75db16ce4bddefe0", "url": "https://translate.fedoraproject.org/api/units/10404385/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.163928Z", "last_updated": "2024-10-14T22:30:55.215890Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "When you open a new shell, you now have access to the new command `istoolbx`. This will behave as follows:" ], "previous_source": "", "target": [ "当你打开一个新的 Shell 的时候,你就能使用一个新的命令 `istoolbx`:" ], "id_hash": -6861399429504190200, "content_hash": -6861399429504190200, "location": "pages/tips-and-tricks.adoc:74", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 24, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://translate.fedoraproject.org/api/units/10404153/?format=api", "priority": 100, "id": 10404386, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=20c769927655b908", "url": "https://translate.fedoraproject.org/api/units/10404386/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.169192Z", "last_updated": "2024-10-14T22:30:55.229365Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "If a more automated solution is your preference the following added to your `~/.bashrc` will change your bash prompt to include \"[toolbox <name>]\":" ], "previous_source": "", "target": [ "当然你也可以在 `~/.bashrc` 添加下面的内容,这样子你的 Bash 提示符中就能直接包含 \"[toolbox <name>]\" 了:" ], "id_hash": -666128439649362459, "content_hash": -666128439649362459, "location": "pages/tips-and-tricks.adoc:79", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 27, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate.fedoraproject.org/api/units/10404154/?format=api", "priority": 100, "id": 10404387, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=76c16fb6a3ea1de5", "url": "https://translate.fedoraproject.org/api/units/10404387/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.174981Z", "last_updated": "2024-10-14T22:30:55.242424Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "```\nfunction is_toolbox() {\n if [ -f \"/run/.toolboxenv\" ]\n then\n TOOLBOX_NAME=$(cat /run/.containerenv | grep -oP \"(?<=name=\\\")[^\\\";]+\")\n echo \"[${HOSTNAME} ${TOOLBOX_NAME}]\"\n fi\n}\n```\n" ], "previous_source": "", "target": [ "```\nfunction is_toolbox() {\n if [ -f \"/run/.toolboxenv\" ]\n then\n TOOLBOX_NAME=$(cat /run/.containerenv | grep -oP \"(?<=name=\\\")[^\\\";]+\")\n echo \"[${HOSTNAME} ${TOOLBOX_NAME}]\"\n fi\n}\n```\n" ], "id_hash": 7817980068625203366, "content_hash": 7817980068625203366, "location": "pages/tips-and-tricks.adoc:89", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 28, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 22, "source_unit": "https://translate.fedoraproject.org/api/units/10404155/?format=api", "priority": 100, "id": 10404388, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=ec7f0b73737d40a6", "url": "https://translate.fedoraproject.org/api/units/10404388/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.177312Z", "last_updated": "2024-10-14T22:30:55.248039Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Now you can include `is_toolbox` in your `PS1` variable and not need to execute any extra commands in order to know whether or not your are in a toolbox or host shell." ], "previous_source": "", "target": [ "现在你就可以将 `is_toolbox` 包含在 `PS1` 变量中而无需再手动执行别的命令来确认你是否在 toolbox 中了。" ], "id_hash": -1149719696179741965, "content_hash": -1149719696179741965, "location": "pages/tips-and-tricks.adoc:91", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 29, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 32, "source_unit": "https://translate.fedoraproject.org/api/units/10404156/?format=api", "priority": 100, "id": 10404389, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=700b60071defbaf3", "url": "https://translate.fedoraproject.org/api/units/10404389/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.179533Z", "last_updated": "2024-10-14T22:30:55.253795Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Example: ``` export PS1=\"\\[\\e[31m\\]\\`is_toolbox\\`\\]\\e[m\\]\\[\\e[32m\\]\\\\$ \\[\\e[m\\]\\[\\e[37m\\]❱\\[\\e[m\\] \" ```" ], "previous_source": "", "target": [ "例如:``` export PS1=\"\\[\\e[31m\\]\\`is_toolbox\\`\\]\\e[m\\]\\[\\e[32m\\]\\\\$ \\[\\e[m\\]\\[\\e[37m\\]❱\\[\\e[m\\] \" ```" ], "id_hash": 5157776700050936522, "content_hash": 5157776700050936522, "location": "pages/tips-and-tricks.adoc:96", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 30, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/10404157/?format=api", "priority": 100, "id": 10404390, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=c7941a94e55292ca", "url": "https://translate.fedoraproject.org/api/units/10404390/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.181673Z", "last_updated": "2024-10-14T22:30:55.259076Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "This results in a prompt which appears as such when not in a toolbox: `$ ❱`" ], "previous_source": "", "target": [ "如果你不在 toolbox 中,它就会显示为 `$ ❱`" ], "id_hash": -6224280027010297913, "content_hash": -6224280027010297913, "location": "pages/tips-and-tricks.adoc:98", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 31, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate.fedoraproject.org/api/units/10404158/?format=api", "priority": 100, "id": 10404391, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=299eea4b077e0fc7", "url": "https://translate.fedoraproject.org/api/units/10404391/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.183887Z", "last_updated": "2024-10-14T22:30:55.264169Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "However, when running in a toolbox named \"default\" looks like: `[toolbox default]$ ❱`" ], "previous_source": "", "target": [ "如果你在一个名为 \"default\" 的 toolbox 它则会显示为 `[toolbox default]$ ❱`" ], "id_hash": -299736956233093965, "content_hash": -299736956233093965, "location": "pages/tips-and-tricks.adoc:100", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 32, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate.fedoraproject.org/api/units/10404159/?format=api", "priority": 100, "id": 10404392, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=7bd71ed38dab6cb3", "url": "https://translate.fedoraproject.org/api/units/10404392/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.185791Z", "last_updated": "2024-10-14T22:30:55.269429Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "This can be necessary if you want to interact with tools available from the host, for example `podman`, `nmcli` or `rpm-ostree` without leaving the Toolbx container in between. You can use `flatpak-spawn`, included in the base installation for this:" ], "previous_source": "", "target": [ "当你希望在 Toolbx 中使用一些 host 上的工具如 `podman`, `nmcli` or `rpm-ostree`,你可以使用预置的 `flatpak-spawn` 命令:" ], "id_hash": 7611235338641084842, "content_hash": 7611235338641084842, "location": "pages/tips-and-tricks.adoc:105", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 34, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translate.fedoraproject.org/api/units/10404160/?format=api", "priority": 100, "id": 10404393, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=e9a08a36e59a11aa", "url": "https://translate.fedoraproject.org/api/units/10404393/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.192721Z", "last_updated": "2024-10-14T22:30:55.279874Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "If you find yourself using commands like these frequently to access e.g. the flatpak command from inside the Toolbx container, you can create yourself a short custom wrapper script (*inside the Toolbx container*). To do this, perform the following steps:" ], "previous_source": "", "target": [ "如果你发现自己经常遇到在 Toolbx 容器中运行 host 上工具的场景,你可以自己创建一个简短的预置脚本(*在 Toolbx 容器内*):" ], "id_hash": -4273362855932753854, "content_hash": -4273362855932753854, "location": "pages/tips-and-tricks.adoc:114", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 38, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 40, "source_unit": "https://translate.fedoraproject.org/api/units/10404161/?format=api", "priority": 100, "id": 10404394, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=44b1f71fafc78842", "url": "https://translate.fedoraproject.org/api/units/10404394/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.205615Z", "last_updated": "2024-10-14T22:30:55.297313Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Make sure you are in a Toolbx container. If the following command doesn't produce any output, you are likely still working on the host!" ], "previous_source": "", "target": [ "请确保你在一个 Toolbx 容器内,如果你在 host 上使用这个命令你可能得不到任何输出!" ], "id_hash": -3869600333073047929, "content_hash": -3869600333073047929, "location": "pages/tips-and-tricks.adoc:119", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 40, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate.fedoraproject.org/api/units/10404162/?format=api", "priority": 100, "id": 10404395, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=4a4c6affc4729e87", "url": "https://translate.fedoraproject.org/api/units/10404395/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.211031Z", "last_updated": "2024-10-14T22:30:55.304919Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "Some directories in `ostree`-based operating systems are writable by the user, like `/etc`. You can get a quick overview of the files changed under `/etc` using the following command:" ], "previous_source": "", "target": [ "基于 `ostree` 的操作系统中的某些目录是用户可写的,例如 `/etc`。 您可以使用以下命令快速了解在 `/etc` 下更改的文件:" ], "id_hash": 5351753399065590436, "content_hash": 5351753399065590436, "location": "pages/tips-and-tricks.adoc:135", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 47, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate.fedoraproject.org/api/units/10404163/?format=api", "priority": 100, "id": 10404396, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=ca453f5c94cb3aa4", "url": "https://translate.fedoraproject.org/api/units/10404396/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.226063Z", "last_updated": "2024-10-14T22:30:55.335893Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "This works because ostree keeps an unmodified copy of the `/etc` directory under `/usr/etc`.\n All of your changes go to `/etc` directly.\n" ], "previous_source": "", "target": [ "这是因为 ostree 在 `/usr/etc` 下保留了 `/etc` 目录未经修改的副本。\n 您的所有更改都直接应用于 `/etc`。\n" ], "id_hash": 7920689834727739950, "content_hash": 7920689834727739950, "location": "pages/tips-and-tricks.adoc:144", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 51, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate.fedoraproject.org/api/units/10404164/?format=api", "priority": 100, "id": 10404397, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=edebf17066fe922e", "url": "https://translate.fedoraproject.org/api/units/10404397/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-05-16T22:09:27.235112Z", "last_updated": "2024-10-14T22:30:55.353697Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?format=api", "source": [ "If you're using another browser than the one installed by default (Firefox) then you can hide the default one from the interface via the following commands:" ], "previous_source": "", "target": [ "" ], "id_hash": -7992434741420951287, "content_hash": -7992434741420951287, "location": "pages/tips-and-tricks.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": 26, "source_unit": "https://translate.fedoraproject.org/api/units/12196359/?format=api", "priority": 100, "id": 12196414, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagestips-and-tricks/zh_Hans/?checksum=11152af2cb1cf909", "url": "https://translate.fedoraproject.org/api/units/12196414/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-11-22T22:06:41.299162Z", "last_updated": "2023-06-16T11:46:33.795393Z" } ] }