xmtop/dicts/zh_CN.toml

192 lines
6.2 KiB
TOML
Raw Normal View History

2020-06-20 14:07:32 +08:00
configfile="配置文件"
usage="使用方法: {0} [选项]\n\n选项:\n"
total="总计"
[help]
paths="按顺序从以下位置优先读取配色方案、布局方案和配置文件:"
log="日志文件位于 {0}"
written="配置文件已写入 {0}"
help="""
退: q or <C-c>
:
- k <Up>:
- j <Down>:
- <C-u>:
- <C-d>:
- <C-b> <PageUp>:
- <C-f> <PageDown>:
- gg <Home>:
- G <End>:
:
- <Tab>:
- dd: SIGTERM (15)
- d3: SIGTERM (3)
- d9: SIGTERM (9)
:
- c: CPU
- m:
- p:
:
- /:
- ():
- <Enter>:
- <C-c> <Escape>:
CPU :
- h:
- l:
:
- b: mbps
"""
2020-06-21 05:47:48 +08:00
# TRANSLATORS: Please don't translate the layout **names**
layouts = """:
2020-06-21 05:47:48 +08:00
default
minimal
battery
kitchensink"""
# TRANSLATORS: Please don't translate the colorcheme **names**
colorschemes = """:
2020-06-21 05:47:48 +08:00
default
default-dark ()
2020-06-21 05:47:48 +08:00
solarized
solarized16-dark
solarized16-light
monokai
vice
nord"""
2020-06-21 05:47:48 +08:00
# TRANSLATORS: Please don't translate the widget **names**
widgets = """:
cpu - CPU
mem - 使
temp -
disk - 使
power -
net -
procs - """
[args]
help="显示当前内容。"
color="配色方案。"
scale="图形比例尺度,>0"
version="显示版本并退出。"
percpu="在 CPU 组件中显示每个 CPU。"
no-percpu="在 CPU 组件中不显示每个 CPU。"
cpuavg="在 CPU 组件中显示平均 CPU。"
no-cpuavg="在 CPU 组件中不显示平均 CPU。"
temp="显示华氏温度。"
tempc="Show temperatures in celsius."
statusbar="显示时间状态栏。"
no-statusbar="不显示状态栏。"
rate="刷新频率。常见的时间单位皆可用。\"1m\" = 每分钟刷新。\"100ms\" = 每100毫秒刷新。"
layout="布局描述文件名。使用 \"-\" 连接。"
net="选择网卡。多个网卡用逗号分隔。使用 \"!\" 忽略指定网卡。"
export="在指定端口上启用指标输出。"
mbps="显示网速为 mbps。"
2022-02-18 18:09:12 +08:00
bytes="显示网速为 字节."
test="执行测试并返回成功或失败码。"
no-test="不执行测试。"
conffile="用于替代缺省参数的配置文件(必须是第一个参数)"
nvidia="启用NVidia GPU指标"
2022-02-18 18:09:12 +08:00
no-nvidia="不显示NVidia GPU指标"
nvidiarefresh="刷新频率。常见的时间单位皆可用。"
list="""
<devices|layouts|colorschemes|paths|keys|langs>
devices:
layouts:
colorschemes:
paths:
widgets:
keys:
langs: ."""
2020-06-22 22:49:03 +08:00
write="将当前配置写入缺省配置文件。"
2020-06-19 08:51:01 +08:00
2020-06-21 05:47:48 +08:00
[config.err]
configsyntax="0| bad config file syntax; should be KEY=VALUE, was {0}"
deprecation="1| line {0}: '{1}' is deprecated. Ignored {1}={2}"
line="2| line #{0}: {1}"
tempscale="3| invalid TempScale value {0}"
2020-06-19 08:51:01 +08:00
2020-06-21 05:47:48 +08:00
[error]
configparse="4| failed to parse config file: {0}"
cliparse="5| parsing CLI args: {0}"
logsetup="6| failed to setup log file: {0}"
unknownopt="7| Unknown option \"{0}\"; try layouts, colorschemes, keys, paths, or devices\n"
writefail="8| Failed to write configuration file: {0}"
checklog="9| errors encountered; from {0}:"
metricsetup="10| error setting up {0} metrics: {1}"
nometrics="11| no metrics for {0} {1}"
fatalfetch="12| fatal error fetching {0} info: {1}"
recovfetch="13| recoverable error fetching {0} info; skipping {0}: {1}"
nodevfound="14| no usable {0} found"
setuperr="15| error setting up {0}: {1}"
colorschemefile="16| failed to find colorscheme file {0} in {1}"
colorschemeread="17| failed to read colorscheme file {0}: {1}"
colorschemeparse="18| failed to parse colorscheme file: {0}"
findlayout="19| failed to find layout file {0}: {1}"
2020-06-21 05:47:48 +08:00
logopen="20| failed to open log file {0}: {1}"
table="21| table widget TopRow value less than 0. TopRow: {0}"
nohostname="22| could not get hostname: {0}"
[layout.error]
widget="23| Invalid widget name {0}. Must be one of {1}"
format="24| Layout error on line {0}: format must be {1}. Error parsing {2} as a int. Word was {3}. Using a row height of 1."
slashes="25| Layout warning on line {0}: too many '/' in word {1}; ignoring extra junk."
2020-06-19 08:51:01 +08:00
[widget.label]
disk=" 磁盘使用率 "
cpu=" CPU 使用率 "
2020-07-09 22:16:28 +08:00
gauge=" 电量 "
battery=" 电池状态 "
batt=" 电池 "
temp=" 温度 "
net=" 网络使用率 "
netint=" 网络使用率: {0} "
mem=" 内存使用率 "
2020-06-19 08:51:01 +08:00
[widget.net.err]
2020-06-21 05:47:48 +08:00
netactivity="26| failed to get network activity from gopsutil: {0}"
negvalrecv="27| error: negative value for recently received network data from gopsutil. recentBytesRecv: {0}"
negvalsent="28| error: negative value for recently sent network data from gopsutil. recentBytesSent: {0}"
2020-06-19 08:51:01 +08:00
[widget.disk]
disk="磁盘"
mount="文件系统"
used="已使用"
free="空闲"
2020-06-22 22:49:03 +08:00
rs="读/秒"
ws="写/秒"
2020-06-19 08:51:01 +08:00
[widget.proc]
filter=" 过滤器: "
label=" 进程 "
2020-06-19 08:51:01 +08:00
[widget.proc.header]
count="个数"
command="命令"
2020-06-19 08:51:01 +08:00
cpu="CPU%"
mem="内存%"
pid="进程标识"
2020-06-19 08:51:01 +08:00
[widget.proc.err]
2020-06-21 05:47:48 +08:00
count="29| failed to get CPU count from gopsutil: {0}"
retrieve="30| failed to retrieve processes: {0}"
ps="31| failed to execute 'ps' command: {0}"
gopsutil="32| failed to get processes from gopsutil: {0}"
pidconv="33| failed to convert PID to int: {0}. line: {1}"
cpuconv="34| failed to convert CPU usage to float: {0}. line: {1}"
memconv="35| failed to convert Mem usage to float: {0}. line: {1}"
getcmd="36| failed to get process command from gopsutil: {0}. psProc: {1}. i: {2}. pid: {3}"
cpupercent="37| failed to get process cpu usage from gopsutil: {0}. psProc: {1}. i: {2}. pid: {3}"
2021-07-21 02:06:39 +08:00
mempercent="38| failed to get process memory usage from gopsutil: {0}. psProc: {1}. i: {2}. pid: {3}"
2020-06-21 05:47:48 +08:00
parse="39| failed to parse output: {0}"