Browsing Chinese (Simplified) translation

Don't show this notice anymore
Before translating, be sure to go through Ubuntu Translators instructions and Chinese (Simplified) guidelines.

These translations are shared with snapd trunk series template snappy.

2635 of 925 results
26.

The enable command enables a snap that was previously disabled.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

“启用”命令可启用以前禁用的 snap。
Translated by Luke Na
Located in cmd/snap/cmd_snap_op.go:115
27.

The export-key command exports a public key assertion body that may be
imported by other systems.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

export-key 命令导出公钥 声明 主体,该主体可能由其他系统导入。
Translated by Luke Na
Located in cmd/snap/cmd_export_key.go:43
28.

The fde-setup-request command is used inside the fde-setup hook. It will
return information about what operation for full-disk encryption is
requested and auxiliary data to complete this operation.

The fde-setup hook should do what is requested and then call
"snapctl fde-setup-result" and pass the result data to stdin.

Here is an example for how the fde-setup hook is called initially:
$ snapctl fde-setup-request
{"op":"features"}
$ echo '{"features": []}' | snapctl fde-setup-result

Alternatively the hook could reply with:
$ echo '{"error":"hardware-unsupported"}' | snapctl fde-setup-result

And then it is called again with a request to do the initial key setup:
$ snapctl fde-setup-request
{"op":"initial-setup", "key": "key-to-seal"}
$ echo "{"sealed-key":"$base64_encoded_sealed_key"}" | snapctl fde-setup-result
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
(no translation yet)
Located in overlord/hookstate/ctlcmd/fde_setup.go:36
29.

The fde-setup-result command sets the result data for a fde-setup hook
reading it from stdin.

For example:
When the fde-setup hook is called with "op":"features:
$ echo '{"features": []}' | snapctl fde-setup-result

When the fde-setup hook is called with "op":"initial-setup":
$ echo "{"sealed-key":"$base64_encoded_sealed_key"}" | snapctl fde-setup-result
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
(no translation yet)
Located in overlord/hookstate/ctlcmd/fde_setup.go:101
30.

The file-access command returns information about a snap's file system access.

This command is used by the xdg-document-portal service to identify
files that do not need to be proxied to provide access within
confinement.

File paths are interpreted as host file system paths. The tool may
return false negatives (e.g. report that a file path is unreadable,
despite being readable under a different path). It also does not
check if file system permissions would render a file unreadable.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

file-access 命令返回有关 snap 的文件系统访问的信息。

xdg-document-portal 服务使用此命令来识别不需要代理以提供限制内访问的文件。

文件路径被解释为主机文件系统路径。本工具可能会返回错误的信息(比如,报告文
件的路径不可读,尽管在不同路径下是可读的)。本工具也不检查文件系统权限是否
会使文件不可读。
Translated by Luke Na
Located in cmd/snap/cmd_routine_file_access.go:43
31.

The find command queries the store for available packages.

With the --private flag, which requires the user to be logged-in to the store
(see 'snap help login'), it instead searches for private snaps that the user
has developer access to, either directly or through the store's collaboration
feature.

A green check mark (given color and unicode support) after a publisher name
indicates that the publisher has been verified.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

find 命令在存储中查询可用包。

使用 --private 标志(要求用户登录到应用商店(请参阅“snap help login”)),
它会直接或通过商店的协作功能搜索用户具有开发人员访问权限的专用快照。

发布者名称后面的绿色复选标记(给定颜色和 unicode 支持)
表示发布者已经过验证。
Translated by Yulin Yang
Reviewed by Luke Na
Located in cmd/snap/cmd_find.go:40
32.

The forget command deletes a snapshot. This operation can not be
undone.

A snapshot contains archives for the user, system and configuration
data of each snap included in the snapshot.

By default, this command forgets all the data in a snapshot.
Alternatively, you can specify the data of which snaps to forget.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

forget 命令删除快照。此操作无法撤消。

快照包含快照中包含的每个 snap 的用户、系统和配置数据的存档。

默认情况下,此命令会忘记快照中的所有数据。
或者,您可以指定要忘记哪些 snap 的数据。
Translated by Luke Na
Located in cmd/snap/cmd_snapshot.go:66
33.

The get command prints configuration options for the current snap.

$ snapctl get username
frank

If multiple option names are provided, a document is returned:

$ snapctl get username password
{
"username": "frank",
"password": "..."
}

Nested values may be retrieved via a dotted path:

$ snapctl get author.name
frank

Values of interface connection settings may be printed with:

$ snapctl get :myplug usb-vendor
$ snapctl get :myslot path

This will return the named setting from the local interface endpoint,
regardless whether it's a plug or a slot. Returning the setting from the
connected snap's endpoint is also possible by requesting the setting explicitly
with optional --plug and --slot command options:

$ snapctl get :myplug --slot usb-vendor

This requests the "usb-vendor" setting from the slot that is connected to
"myplug".
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
(no translation yet)
Located in overlord/hookstate/ctlcmd/get.go:52
34.

The get command prints configuration options for the provided snap.

$ snap get snap-name username
frank

If multiple option names are provided, the corresponding values are returned:

$ snap get snap-name username password
Key Value
username frank
password ...

Nested values may be retrieved via a dotted path:

$ snap get snap-name author.name
frank
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
(no translation yet)
Located in cmd/snap/cmd_get.go:34
35.

The help command displays information about snap commands.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

help 命令将会输出有关一个 snap 命令的信息
Translated by Harry Chen
Reviewed by Harry Chen
Located in cmd/snap/cmd_help.go:36
2635 of 925 results

This translation is managed by Ubuntu Simplified Chinese Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: Dong Cansheng, Harry Chen, Kakurady Drakenar, Larry Wei, Luis Lee, Luke Na, Nick Zheng, Yulin Yang, handsome_feng, yuzhe, 小菜鸟儿.