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.

3948 of 815 results
39.

The interfaces command lists interfaces available in the system.

By default all slots and plugs, used and offered by all snaps, are displayed.

$ snap interfaces <snap>:<slot or plug>

Lists only the specified slot or plug.

$ snap interfaces <snap>

Lists the slots offered and plugs used by the specified snap.

$ snap interfaces -i=<interface> [<snap>]

Filters the complete output so only plugs and/or slots matching the provided
details are listed.

NOTE this command is deprecated and has been replaced with the 'connections'
command.
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.

interfaces 命令列出系统中可用的接口。

默认情况下,显示所有快照使用和提供的插槽和插口。

$snap interfaces <快照>:<插槽或插口>

仅列出指定的插槽或插口。

$snap interfaces <snap>

列出指定快照提供的插槽和使用的插口。

$snap interfaces -i=<接口> [<snap>]

筛选完整的输出,仅列出与提供的详细信息匹配的插槽和/或插口。

注意:此命令已弃用,已被“connections”命令替代。
Translated by Luke Na
Located in cmd/snap/cmd_interfaces.go:40
40.

The is-connected command returns success if the given plug or slot of the
calling snap is connected, and failure otherwise.

$ snapctl is-connected plug
$ echo $?
1

Snaps can only query their own plugs and slots - snap name is implicit and
implied by the snapctl execution context.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

is-connected命令在给定插槽或插口已连接到调用的快照时返回成功,否则返回失败。

$ snapctl is-connected plug
$ echo $?
1

快照只能查询自己的插槽和插口 - 快照名称是隐式的,并且由 snapctl 执行上下文暗示。
Translated by Luke Na
Located in overlord/hookstate/ctlcmd/is_connected.go:40
41.

The keys command lists cryptographic keys that can be used for signing
assertions.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

keys 命令列出可用于签署声明 的加密密钥。
Translated by Luke Na
Located in cmd/snap/cmd_keys.go:39
42.

The known command shows known assertions of the provided type.
If header=value pairs are provided after the assertion type, the assertions
shown must also have the specified headers matching the provided values.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

known 命令显示所提供类型的已知声明 。
如果在声明 类型之后提供了 header=value 对,则显示的声明 还必须具有与提供的值匹配的指定标头。
Translated by Luke Na
Located in cmd/snap/cmd_known.go:49
43.

The list command displays a summary of snaps installed in the current system.

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.

list 命令显示当前系统中已经安装 snap 的摘要。

发布者名称后的绿色复选标记(给定颜色和 unicode 支持)表示发布者已通过验证。
Translated and reviewed by Luke Na
Located in cmd/snap/cmd_list.go:36
44.

The login command authenticates the user to snapd and the snap store, and saves
credentials into the ~/.snap/auth.json file. Further communication with snapd
will then be made using those credentials.

It's not necessary to log in to interact with snapd. Doing so, however, enables
purchasing of snaps using 'snap buy', as well as some some developer-oriented
features as detailed in the help for the find, install and refresh commands.

An account can be set up at https://login.ubuntu.com
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

login 命令用于对用户进行身份验证,以便与 snapd 和 snap store 进行通信,并将凭据保存到 ~/.snap/auth.json 文件中。随后与 snapd 的进一步通信将使用这些凭据进行。

与 snapd 进行交互时不需要登录。但是,这样做可以使用 "snap buy" 购买 snap,以及一些开发人员定向的功能,这些功能在 find、install 和 refresh 命令的帮助中有详细说明。

可以在 https://login.ubuntu.com 上设置账户。
Translated by Luke Na
Located in cmd/snap/cmd_login.go:42
45.

The logout command logs the current user out of snapd and the store.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

logout 命令将当前用户从 snapd 和存储中注销。
Translated by Luke Na
Located in cmd/snap/cmd_logout.go:34
46.

The logs command fetches logs of the given services and displays them in
chronological order.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

logs 命令获取给定服务的日志并按时间顺序显示它们。
Translated and reviewed by Luke Na
Located in cmd/snap/cmd_services.go:58
47.

The managed command will print true or false informing whether
snapd has registered users.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

managed 命令将打印 true 或 false 以告知 snapd 是否存在已注册用户。
Translated and reviewed by Luke Na
Located in cmd/snap/cmd_managed.go:31
48.

The model command returns the active model assertion information for this
device.

By default, only the essential model identification information is
included in the output, but this can be expanded to include all of an
assertion's non-meta headers.

The verbose output is presented in a structured, yaml-like format.

Similarly, the active serial assertion can be used for the output instead of the
model assertion.
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 cmd/snap/cmd_model.go:35
3948 of 815 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, 小菜鸟儿.