mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Massive changes to the Chinese interface translation. (#16009)
* Chinese translation fixes Chinese translation fixes * Update settings.php Chinese translation fixes * [Chinese Translation] Massive changes to the Chinese interface translation. * [Chinese Translation] Massive changes to the Chinese interface translation. * Update validation.php Fix syntax errors * Update validation.php Fix syntax errors * Chinese Massive changes to the Chinese interface translation. * Update auth.php * Update bgp.php * Update commands.php * Update commands.php * Update components.php * Update components.php * Update device.php * Update exceptions.php * Update install.php * Update inventory.php * Update map.php * Update modules.php * Update pagination.php * Update passwords.php * Update plugins.php * Update poller.php * Update port.php * Update preferences.php * Update sensors.php * Update settings.php * Update syslog.php * Update validation.php * Update widgets.php * Update settings.php * Update settings.php * Update settings.php
This commit is contained in:
@@ -13,7 +13,9 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => '这些凭证与我们的记录不符。',
|
||||
'throttle' => '尝试登入次数过多。请稍候 :seconds 秒再试。',
|
||||
|
||||
'title' => '授权',
|
||||
'failed' => '这些凭据与我们的记录不符。',
|
||||
'password' => '提供的密码不正确。',
|
||||
'throttle' => '登录尝试过多。请在 :seconds 秒后重试。',
|
||||
'disabled' => '您的账户已禁用,请联系管理员',
|
||||
];
|
||||
|
65
lang/zh-CN/bgp.php
Normal file
65
lang/zh-CN/bgp.php
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
|
||||
// https://www.iana.org/assignments/bgp-parameters/bgp-parameters.xhtml#bgp-parameters-3
|
||||
return [
|
||||
'error_codes' => [
|
||||
0 => '保留',
|
||||
1 => '消息头错误',
|
||||
2 => '打开消息错误',
|
||||
3 => '更新消息错误',
|
||||
4 => '保持计时器过期',
|
||||
5 => '有限状态机错误',
|
||||
6 => '终止',
|
||||
7 => '路由刷新消息错误',
|
||||
],
|
||||
'error_subcodes' => [
|
||||
1 => [
|
||||
0 => '未指定',
|
||||
1 => '连接不同步',
|
||||
2 => '消息长度错误',
|
||||
3 => '消息类型错误',
|
||||
],
|
||||
2 => [
|
||||
0 => '未指定',
|
||||
1 => '不支持的版本号',
|
||||
2 => '错误的对等AS',
|
||||
3 => '错误的BGP标识符',
|
||||
4 => '不支持的可选参数',
|
||||
5 => '[已弃用]',
|
||||
6 => '不可接受的保持时间',
|
||||
7 => '角色不匹配(临时BGP草案)',
|
||||
],
|
||||
3 => [
|
||||
0 => '未指定',
|
||||
1 => '属性列表格式错误',
|
||||
2 => '未识别的熟知属性',
|
||||
3 => '缺少熟知属性',
|
||||
4 => '属性标志错误',
|
||||
5 => '属性长度错误',
|
||||
6 => '无效的ORIGIN属性',
|
||||
7 => '[已弃用]',
|
||||
8 => '无效的NEXT_HOP属性',
|
||||
9 => '可选属性错误',
|
||||
10 => '无效的网络字段',
|
||||
11 => 'AS_PATH格式错误',
|
||||
],
|
||||
5 => [
|
||||
0 => '未指定错误',
|
||||
1 => '在OpenSent状态下收到意外消息',
|
||||
2 => '在OpenConfirm状态下收到意外消息',
|
||||
3 => '在Established状态下收到意外消息',
|
||||
],
|
||||
6 => [
|
||||
0 => '保留',
|
||||
1 => '达到前缀最大数量',
|
||||
2 => '管理关闭',
|
||||
3 => '对等配置取消',
|
||||
4 => '管理重置',
|
||||
5 => '连接被拒绝',
|
||||
6 => '其他配置变更',
|
||||
7 => '连接冲突解决',
|
||||
8 => '资源不足',
|
||||
9 => '硬重置',
|
||||
],
|
||||
],
|
||||
];
|
@@ -1,20 +1,265 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'user:add' => [
|
||||
'description' => '新增一个本机使用者,只有在设定验证使用 mysql 时才可以使用此使用者账号登入',
|
||||
'config:get' => [
|
||||
'description' => '获取配置值',
|
||||
'arguments' => [
|
||||
'username' => '使用者用来登入的名称',
|
||||
'setting' => '以点号表示法获取值的设置(示例:snmp.community.0)',
|
||||
],
|
||||
'options' => [
|
||||
'descr' => '使用者描述',
|
||||
'email' => '使用者的邮件',
|
||||
'password' => '使用者的密码,如果没有提供,您将会收到提示',
|
||||
'full-name' => '使用者的全名',
|
||||
'role' => '将使用者指派至角色 :roles',
|
||||
'dump' => '以JSON格式输出整个配置',
|
||||
],
|
||||
'password-request' => '请输入使用者的密码',
|
||||
'success' => '已成功新增使用者: :username',
|
||||
'wrong-auth' => '警告,您将无法以这个使用者登入,因为您没有使用 MySQL 验证',
|
||||
],
|
||||
'config:set' => [
|
||||
'description' => '设置配置值(或删除)',
|
||||
'arguments' => [
|
||||
'setting' => '以点号表示法设置的设置(示例:snmp.community.0)。要附加到数组,请在末尾加上.+',
|
||||
'value' => '要设置的值,如果忽略此值则删除设置',
|
||||
],
|
||||
'options' => [
|
||||
'ignore-checks' => '忽略所有安全检查',
|
||||
],
|
||||
'confirm' => '重置:setting为默认值吗?',
|
||||
'forget_from' => '从:parent中忘记:path吗?',
|
||||
'errors' => [
|
||||
'append' => '无法向非数组设置追加',
|
||||
'failed' => '设置:setting失败',
|
||||
'invalid' => '这不是有效的设置。请检查您的输入',
|
||||
'invalid_os' => '指定的OS(:os)不存在',
|
||||
'nodb' => '数据库未连接',
|
||||
'no-validation' => '无法设置:setting,缺少验证定义。',
|
||||
],
|
||||
],
|
||||
'db:seed' => [
|
||||
'existing_config' => '数据库中存在现有设置。继续吗?',
|
||||
],
|
||||
'dev:check' => [
|
||||
'description' => 'LibreNMS代码检查。不带选项运行时运行所有检查',
|
||||
'arguments' => [
|
||||
'check' => '运行指定的检查:checks',
|
||||
],
|
||||
'options' => [
|
||||
'commands' => '仅打印将要运行的命令,不执行检查',
|
||||
'db' => '运行需要数据库连接的单元测试',
|
||||
'fail-fast' => '遇到任何失败时停止检查',
|
||||
'full' => '运行完整检查,忽略已更改文件过滤',
|
||||
'module' => '要运行测试的具体模块。意味着unit, --db, --snmpsim',
|
||||
'os' => '要运行测试的特定操作系统。可以是正则表达式或逗号分隔的列表。意味着unit, --db, --snmpsim',
|
||||
'os-modules-only' => '在指定特定操作系统时跳过OS检测测试。当检查非检测更改时,可以加快测试时间。',
|
||||
'quiet' => '除非有错误,否则隐藏输出',
|
||||
'snmpsim' => '用于单元测试的snmpsim',
|
||||
],
|
||||
],
|
||||
'dev:simulate' => [
|
||||
'description' => '使用测试数据模拟设备',
|
||||
'arguments' => [
|
||||
'file' => '要更新或添加到LibreNMS的snmprec文件的基本文件名。如果没有指定文件,则不会添加或更新设备。',
|
||||
],
|
||||
'options' => [
|
||||
'multiple' => '使用社区名称作为主机名,而不是snmpsim',
|
||||
'remove' => '停止后删除设备',
|
||||
],
|
||||
'added' => '设备:hostname (:id) 已添加',
|
||||
'exit' => '按Ctrl-C停止',
|
||||
'removed' => '设备:id 已移除',
|
||||
'updated' => '设备:hostname (:id) 已更新',
|
||||
],
|
||||
'device:add' => [
|
||||
'description' => '添加新设备',
|
||||
'arguments' => [
|
||||
'device spec' => '要添加的主机名或IP',
|
||||
],
|
||||
'options' => [
|
||||
'v1' => '使用SNMP v1',
|
||||
'v2c' => '使用SNMP v2c',
|
||||
'v3' => '使用SNMP v3',
|
||||
'display-name' => "用于显示此设备名称的字符串,默认为主机名。\n可以使用替换模板:{{ \$hostname }}, {{ \$sysName }}, {{ \$sysName_fallback }}, {{ \$ip }}",
|
||||
'force' => '直接添加设备,不进行任何安全性检查',
|
||||
'group' => '分布式轮询的轮询组',
|
||||
'ping-fallback' => '如果设备不响应SNMP,则将其添加为ping仅设备',
|
||||
'port-association-mode' => '设置端口映射方式。对于Linux/Unix建议使用ifName',
|
||||
'community' => 'SNMP v1或v2社区',
|
||||
'transport' => '连接到设备的传输',
|
||||
'port' => 'SNMP传输端口',
|
||||
'security-name' => 'SNMPv3安全用户名',
|
||||
'auth-password' => 'SNMPv3认证密码',
|
||||
'auth-protocol' => 'SNMPv3认证协议',
|
||||
'privacy-protocol' => 'SNMPv3隐私协议',
|
||||
'privacy-password' => 'SNMPv3隐私密码',
|
||||
'ping-only' => '添加ping仅设备',
|
||||
'os' => 'ping仅设备:指定操作系统',
|
||||
'hardware' => 'ping仅设备:指定硬件',
|
||||
'sysName' => 'ping仅设备:指定sysName',
|
||||
],
|
||||
'validation-errors' => [
|
||||
'port.between' => '端口应为1-65535',
|
||||
'poller-group.in' => '给定的轮询组不存在',
|
||||
],
|
||||
'messages' => [
|
||||
'save_failed' => '保存设备:hostname失败',
|
||||
'try_force' => '您可以尝试使用--force选项跳过安全性检查',
|
||||
'added' => '添加了设备:hostname (:device_id)',
|
||||
],
|
||||
],
|
||||
'device:ping' => [
|
||||
'description' => 'ping设备并记录响应数据',
|
||||
'arguments' => [
|
||||
'device spec' => '要ping的设备之一:<设备ID>,<主机名/IP>,all',
|
||||
],
|
||||
],
|
||||
'device:poll' => [
|
||||
'description' => '根据发现从设备(s)中获取数据',
|
||||
'arguments' => [
|
||||
'device spec' => '要轮询的设备规范:device_id,hostname,通配符(*),奇数,偶数,all',
|
||||
],
|
||||
'options' => [
|
||||
'modules' => '指定要运行的单个模块。用逗号分隔模块,可以添加子模块/',
|
||||
'no-data' => '不更新数据存储(RRD,InfluxDB等)',
|
||||
],
|
||||
'errors' => [
|
||||
'db_connect' => '连接数据库失败。请检查数据库服务是否正在运行以及连接设置。',
|
||||
'db_auth' => '连接数据库失败。请检查凭据::error',
|
||||
'no_devices' => '找不到匹配您给出的设备规范的设备。',
|
||||
'none_up' => '设备处于离线状态,无法轮询。|所有设备都处于离线状态,无法轮询。',
|
||||
'none_polled' => '没有设备被轮询。',
|
||||
],
|
||||
'polled' => '在:time内轮询了:count台设备',
|
||||
],
|
||||
'key:rotate' => [
|
||||
'description' => '旋转APP_KEY,此操作会使用给定的旧密钥解密所有加密数据,并使用新密钥存储在APP_KEY中。',
|
||||
'arguments' => [
|
||||
'old_key' => '适用于加密数据的有效旧APP_KEY',
|
||||
],
|
||||
'options' => [
|
||||
'generate-new-key' => '如果您没有在.env中设置新密钥,请使用.env中的APP_KEY解密数据并生成新密钥并设置到.env中',
|
||||
'forgot-key' => '如果您没有旧密钥,您必须删除所有加密数据才能继续使用LibreNMS的某些功能',
|
||||
],
|
||||
'destroy' => '是否销毁所有加密的配置数据?',
|
||||
'destroy_confirm' => '仅在找不到旧APP_KEY时才销毁所有加密数据!',
|
||||
'cleared-cache' => '配置已缓存,已清除缓存以确保APP_KEY正确。请重新运行lnms key:rotate',
|
||||
'backup_keys' => '请记录这两个密钥!一旦出现问题,请在.env中设置新密钥,并将旧密钥作为参数传递给此命令',
|
||||
'backup_key' => '请记录此密钥!此密钥用于访问加密数据',
|
||||
'backups' => '此命令可能导致数据不可逆丢失,并使所有浏览器会话失效。请确保您有备份。',
|
||||
'confirm' => '我有备份并希望继续',
|
||||
'decrypt-failed' => '未能解密:item,跳过',
|
||||
'failed' => '未能解密项目。设置新密钥为APP_KEY并再次运行此命令,同时将旧密钥作为参数',
|
||||
'current_key' => '当前APP_KEY: :key',
|
||||
'new_key' => '新APP_KEY: :key',
|
||||
'old_key' => '旧APP_KEY: :key',
|
||||
'save_key' => '是否将新密钥保存到.env?',
|
||||
'success' => '密钥旋转成功!',
|
||||
'validation-errors' => [
|
||||
'not_in' => ':attribute不能与当前APP_KEY匹配',
|
||||
'required' => '需要旧密钥或--generate-new-key选项之一',
|
||||
],
|
||||
],
|
||||
'lnms' => [
|
||||
'validation-errors' => [
|
||||
'optionValue' => '所选:option无效。应为以下之一: :values',
|
||||
],
|
||||
],
|
||||
'maintenance:fetch-ouis' => [
|
||||
'description' => '获取MAC OUI并将其缓存以显示MAC地址的供应商名称',
|
||||
'options' => [
|
||||
'force' => '忽略任何阻止命令运行的设置或锁定',
|
||||
'wait' => '等待随机时间,调度器使用此功能防止服务器负载',
|
||||
],
|
||||
'disabled' => 'MAC OUI集成已禁用(:setting)',
|
||||
'enable_question' => '启用MAC OUI集成及定期获取?',
|
||||
'recently_fetched' => 'MAC OUI数据库最近已获取,跳过更新。',
|
||||
'waiting' => '等待:minutes分钟后尝试MAC OUI更新|等待:分钟分钟后尝试MAC OUI更新',
|
||||
'starting' => '正在存储Mac OUI至数据库',
|
||||
'downloading' => '下载中',
|
||||
'processing' => '处理CSV',
|
||||
'saving' => '保存结果',
|
||||
'success' => '成功更新OUI/供应商映射。:count个修改的OUI|成功更新。:count个修改的OUIs',
|
||||
'error' => '处理Mac OUI时出错:',
|
||||
'vendor_update' => '为:vendor添加OUI :oui',
|
||||
],
|
||||
'plugin:disable' => [
|
||||
'description' => '禁用给定名称的所有插件',
|
||||
'arguments' => [
|
||||
'plugin' => '要禁用的插件名称,或"all"以禁用所有插件',
|
||||
],
|
||||
'already_disabled' => '插件已被禁用',
|
||||
'disabled' => ':count个插件被禁用|:count个插件被禁用',
|
||||
'failed' => '未能禁用插件',
|
||||
],
|
||||
'plugin:enable' => [
|
||||
'description' => '启用具有给定名称的最新插件',
|
||||
'arguments' => [
|
||||
'plugin' => '要启用的插件名称,或"all"以启用所有插件',
|
||||
],
|
||||
'already_enabled' => '插件已启用',
|
||||
'enabled' => ':count个插件已启用|:count个插件已启用',
|
||||
'failed' => '未能启用插件',
|
||||
],
|
||||
'report:devices' => [
|
||||
'description' => '输出设备数据',
|
||||
'columns' => '数据库列:',
|
||||
'synthetic' => '附加字段:',
|
||||
'counts' => '关系计数:',
|
||||
'arguments' => [
|
||||
'device spec' => '要查询的设备规格:device_id, hostname, 通配符(*), 奇数, 偶数, 全部',
|
||||
],
|
||||
'options' => [
|
||||
'list-fields' => '打印有效字段列表',
|
||||
'fields' => '逗号分隔的要显示的字段列表。有效选项:设备数据库列名,关系计数(ports_count),以及displayName',
|
||||
'output' => '用于显示数据的输出格式:types',
|
||||
],
|
||||
],
|
||||
'smokeping:generate' => [
|
||||
'args-nonsense' => '请使用 --probes 和 --targets 中的一个',
|
||||
'config-insufficient' => '为了生成smokeping配置文件,您必须在配置中设置 "smokeping.probes"、"fping" 和 "fping6"',
|
||||
'dns-fail' => '无法解析,已从配置中省略',
|
||||
'description' => '生成适用于smokeping的配置文件',
|
||||
'header-first' => '此文件由 "lnms smokeping:generate" 自动生成',
|
||||
'header-second' => '本地更改可能会在未通知或未备份的情况下被覆盖',
|
||||
'header-third' => '更多信息请参见 https://docs.librenms.org/Extensions/Smokeping/"',
|
||||
'no-devices' => '未找到符合条件的设备 - 设备不能被禁用。',
|
||||
'no-probes' => '至少需要一个探测器。',
|
||||
'options' => [
|
||||
'probes' => '生成探测器列表 - 用于将smokeping配置分割成多个文件。与 "--targets" 冲突',
|
||||
'targets' => '生成目标列表 - 用于将smokeping配置分割成多个文件。与 "--probes" 冲突',
|
||||
'no-header' => '不在生成的文件开头添加模板注释',
|
||||
'no-dns' => '跳过DNS查询',
|
||||
'single-process' => '仅使用单个进程运行smokeping',
|
||||
'compat' => '[已弃用] 模仿gen_smokeping.php的行为',
|
||||
],
|
||||
],
|
||||
'snmp:fetch' => [
|
||||
'description' => '针对设备运行SNMP查询',
|
||||
'arguments' => [
|
||||
'device spec' => '要轮询的设备规格:device_id, hostname, 通配符(*), 奇数, 偶数, 全部',
|
||||
'oid(s)' => '一个或多个要获取的SNMP OID。应为MIB::oid或数字oid',
|
||||
],
|
||||
'failed' => 'SNMP命令执行失败!',
|
||||
'oid' => 'OID',
|
||||
'options' => [
|
||||
'output' => '指定输出格式 :formats',
|
||||
'numeric' => '数字OID',
|
||||
'depth' => 'SNMP表分组的深度。通常与表索引中的项目数量相同',
|
||||
],
|
||||
'not_found' => '设备未找到',
|
||||
'value' => '值',
|
||||
],
|
||||
'translation:generate' => [
|
||||
'description' => '生成更新后的json语言文件,供Web前端使用',
|
||||
],
|
||||
'user:add' => [
|
||||
'description' => '添加本地用户,仅当auth设置为mysql时,您才能使用此用户登录',
|
||||
'arguments' => [
|
||||
'username' => '用户登录使用的用户名',
|
||||
],
|
||||
'options' => [
|
||||
'descr' => '用户描述',
|
||||
'email' => '用户的电子邮件地址',
|
||||
'password' => '用户的密码,如果不提供,系统会提示输入',
|
||||
'full-name' => '用户的全名',
|
||||
'role' => '将用户设置为所需角色 :roles',
|
||||
],
|
||||
'password-request' => '请输入用户的密码',
|
||||
'success' => '成功添加用户: :username',
|
||||
'wrong-auth' => '警告!由于您未使用MySQL身份验证,您将无法使用此用户登录',
|
||||
],
|
||||
];
|
||||
|
12
lang/zh-CN/components.php
Normal file
12
lang/zh-CN/components.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'notification-subscription-status' => [
|
||||
'no-support' => '此浏览器不支持通知',
|
||||
'no-transport' => '要启用浏览器通知,必须有一个引用此用户的提醒传输方式',
|
||||
'enabled' => '已为该浏览器启用通知',
|
||||
'disabled' => '已为该浏览器禁用通知',
|
||||
'enable' => '启用',
|
||||
'disable' => '禁用',
|
||||
],
|
||||
];
|
16
lang/zh-CN/device.php
Normal file
16
lang/zh-CN/device.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'attributes' => [
|
||||
'features' => '操作系统特性',
|
||||
'hardware' => '硬件',
|
||||
'icon' => '图标',
|
||||
'ip' => 'IP地址',
|
||||
'location' => '位置',
|
||||
'os' => '设备操作系统',
|
||||
'serial' => '序列号',
|
||||
'sysName' => '系统名称',
|
||||
'version' => '操作系统版本',
|
||||
'type' => '设备类型',
|
||||
],
|
||||
];
|
46
lang/zh-CN/exceptions.php
Normal file
46
lang/zh-CN/exceptions.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'database_connect' => [
|
||||
'title' => '连接数据库错误',
|
||||
],
|
||||
'database_inconsistent' => [
|
||||
'title' => '数据库不一致',
|
||||
'header' => '在数据库错误期间发现数据库不一致,请修复后继续。',
|
||||
],
|
||||
'dusk_unsafe' => [
|
||||
'title' => '在生产环境中运行Dusk不安全',
|
||||
'message' => '运行":command"以移除Dusk,或者如果您是开发者,请设置适当的APP_ENV',
|
||||
],
|
||||
'file_write_failed' => [
|
||||
'title' => '错误:无法写入文件',
|
||||
'message' => '无法写入文件(:file)。请检查权限以及适用的SELinux/AppArmor设置。',
|
||||
],
|
||||
'host_exists' => [
|
||||
'hostname_exists' => '设备:hostname已存在',
|
||||
'ip_exists' => '无法添加:hostname,已有设备:existing使用此IP:ip',
|
||||
'sysname_exists' => '因重复sysName: :sysname,已有设备:hostname',
|
||||
],
|
||||
'host_unreachable' => [
|
||||
'unpingable' => '无法ping通:hostname (:ip)',
|
||||
'unsnmpable' => '无法连接到:hostname,请检查SNMP详情及可达性',
|
||||
'unresolvable' => '主机名未解析为IP地址',
|
||||
'no_reply_community' => 'SNMP :version: 使用团体名:credentials无响应',
|
||||
'no_reply_credentials' => 'SNMP :version: 使用凭据:credentials无响应',
|
||||
],
|
||||
'ldap_missing' => [
|
||||
'title' => '缺少PHP LDAP支持',
|
||||
'message' => 'PHP不支持LDAP,请安装或启用PHP LDAP扩展',
|
||||
],
|
||||
'maximum_execution_time_exceeded' => [
|
||||
'title' => '最大执行时间超过:seconds秒|最大执行时间超过:seconds秒',
|
||||
'message' => '页面加载超出了PHP中配置的最大执行时间。请在php.ini中增加max_execution_time或提升服务器硬件性能',
|
||||
],
|
||||
'unserializable_route_cache' => [
|
||||
'title' => '由PHP版本不匹配导致的错误',
|
||||
'message' => '您的Web服务器运行的PHP版本(:web_version)与CLI版本(:cli_version)不匹配',
|
||||
],
|
||||
'snmp_version_unsupported' => [
|
||||
'message' => '不支持的SNMP版本":snmpver",必须是v1、v2c或v3',
|
||||
],
|
||||
];
|
72
lang/zh-CN/install.php
Normal file
72
lang/zh-CN/install.php
Normal file
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'checks' => [
|
||||
'comment' => '评论',
|
||||
'item' => '项目',
|
||||
'php_required' => ':version 或更高版本是必需的',
|
||||
'status' => '状态',
|
||||
'title' => '预安装检查',
|
||||
],
|
||||
'database' => [
|
||||
'credentials' => '数据库凭据',
|
||||
'host' => '主机',
|
||||
'host_placeholder' => '对于Unix套接字,请使用localhost',
|
||||
'name' => '数据库名称',
|
||||
'password' => '密码',
|
||||
'port' => '端口',
|
||||
'port_placeholder' => '如果使用Unix套接字,请留空',
|
||||
'socket' => 'Unix套接字',
|
||||
'socket_placeholder' => '仅在自定义套接字路径时使用',
|
||||
'test' => '检查凭据',
|
||||
'title' => '配置数据库',
|
||||
'username' => '用户名',
|
||||
],
|
||||
'finish' => [
|
||||
'config_exists' => 'config.php 文件已存在',
|
||||
'config_not_required' => '此文件不是必需的。这是默认内容。',
|
||||
'config_not_written' => '无法写入 config.php',
|
||||
'config_written' => 'config.php 文件已写入',
|
||||
'copied' => '已复制到剪贴板',
|
||||
'dashboard' => '仪表板',
|
||||
'env_manual' => '手动使用以下内容更新 :file',
|
||||
'env_not_written' => '无法写入 .env 文件',
|
||||
'env_written' => '.env 文件已写入',
|
||||
'failed' => '保存 .env 失败',
|
||||
'finish' => '完成安装',
|
||||
'manual_copy' => '按Ctrl+C复制',
|
||||
'retry' => '重试',
|
||||
'settings' => '附加设置',
|
||||
'success' => '安装完成',
|
||||
'thanks' => '感谢您安装 LibreNMS。',
|
||||
'title' => '完成安装',
|
||||
'validate_button' => '验证安装',
|
||||
],
|
||||
'install' => '安装',
|
||||
'migrate' => [
|
||||
'building_interrupt' => '不要关闭此页面或中断导入!',
|
||||
'error' => '遇到错误,请查看输出以获取详细信息',
|
||||
'migrate' => '构建数据库',
|
||||
'retry' => '重试',
|
||||
'timeout' => 'HTTP请求超时,您的数据库结构可能不一致',
|
||||
'wait' => '请稍候...',
|
||||
],
|
||||
'steps' => [
|
||||
'checks' => '预安装检查',
|
||||
'database' => '数据库',
|
||||
'finish' => '完成安装',
|
||||
'migrate' => '构建数据库',
|
||||
'user' => '创建用户',
|
||||
],
|
||||
'title' => 'LibreNMS 安装',
|
||||
'user' => [
|
||||
'button' => '添加用户',
|
||||
'created' => '用户已创建',
|
||||
'email' => '电子邮件',
|
||||
'failure' => '创建用户失败',
|
||||
'password' => '密码',
|
||||
'success' => '成功创建用户',
|
||||
'title' => '创建管理员用户',
|
||||
'username' => '用户名',
|
||||
],
|
||||
];
|
10
lang/zh-CN/inventory.php
Normal file
10
lang/zh-CN/inventory.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'purge' => '清除不存在的',
|
||||
'name' => '部件名称',
|
||||
'model' => '部件编号',
|
||||
'serial' => '序列号',
|
||||
'part' => '部件',
|
||||
'all_parts' => '所有部件',
|
||||
];
|
154
lang/zh-CN/map.php
Normal file
154
lang/zh-CN/map.php
Normal file
@@ -0,0 +1,154 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'custom' => [
|
||||
'title' => [
|
||||
'edit_dialog' => '选择自定义地图进行编辑',
|
||||
'create' => '创建新自定义地图',
|
||||
'view' => ':name | 自定义地图',
|
||||
'edit' => '编辑自定义地图',
|
||||
'manage' => '管理自定义地图',
|
||||
],
|
||||
'create_map' => '新建地图',
|
||||
'view' => [
|
||||
'loading' => '正在加载数据',
|
||||
'no_devices' => '未找到设备',
|
||||
],
|
||||
'edit' => [
|
||||
'text_font' => '文字字体',
|
||||
'text_size' => '文字大小',
|
||||
'text_color' => '文字颜色',
|
||||
'defaults' => '设为默认',
|
||||
'bg' => [
|
||||
'title' => '设置背景',
|
||||
'background' => '背景',
|
||||
'clear_bg' => '清除背景',
|
||||
'clear_background' => '清除背景',
|
||||
'keep_background' => '保留背景',
|
||||
'saving' => '保存中...',
|
||||
'save_errors' => '保存失败,原因如下:',
|
||||
'save_error' => '保存失败。服务器返回错误响应代码: :code',
|
||||
'save' => '保存背景',
|
||||
],
|
||||
'map' => [
|
||||
'settings_title' => '地图设置',
|
||||
'name' => '名称',
|
||||
'menu_group' => '菜单组',
|
||||
'no_group' => '无分组',
|
||||
'width' => '宽度',
|
||||
'height' => '高度',
|
||||
'alignment' => '节点对齐',
|
||||
'edgeseparation' => '链接间距',
|
||||
'reverse' => '反向箭头',
|
||||
'enable_legend' => '启用图例',
|
||||
'saving' => '保存中...',
|
||||
'save_errors' => '保存失败,原因如下:',
|
||||
'save_error' => '保存失败。服务器返回错误响应代码: :code',
|
||||
'delete' => '删除地图',
|
||||
'list' => '返回地图列表',
|
||||
'unsavedchanges' => '您有未保存的更改。确认以放弃更改并返回地图列表,或取消以返回编辑器。',
|
||||
'edit' => '编辑地图设置',
|
||||
'rerender' => '重新渲染地图',
|
||||
'save' => '保存地图',
|
||||
'legend' => [
|
||||
'font_size' => '图例文字大小',
|
||||
'steps' => '图例步长',
|
||||
'hideinvalid' => '隐藏无效',
|
||||
'hideoverspeed' => '隐藏100%以上',
|
||||
],
|
||||
],
|
||||
'node' => [
|
||||
'new' => '新增节点',
|
||||
'add' => '添加节点',
|
||||
'edit' => '编辑节点',
|
||||
'defaults_title' => '节点默认配置',
|
||||
'label' => '标签',
|
||||
'name' => '节点名称',
|
||||
'device_select' => '选择设备',
|
||||
'edit_defaults' => '编辑节点默认值',
|
||||
'map_link' => '链接至地图',
|
||||
'map_select' => '选择地图...',
|
||||
'style' => '样式',
|
||||
'style_options' => [
|
||||
'box' => '方框',
|
||||
'circle' => '圆形',
|
||||
'database' => '数据库',
|
||||
'ellipse' => '椭圆',
|
||||
'text' => '文本',
|
||||
'device_image' => '设备图像',
|
||||
'device_image_circle' => '设备图像(圆形)',
|
||||
'diamond' => '菱形',
|
||||
'dot' => '点',
|
||||
'star' => '星形',
|
||||
'triangle' => '三角形',
|
||||
'triangle_inverted' => '倒三角形',
|
||||
'hexagon' => '六边形',
|
||||
'square' => '正方形',
|
||||
'icon' => '图标(选择下方)',
|
||||
],
|
||||
'icon' => '图标',
|
||||
'icon_options' => [
|
||||
'server' => '服务器',
|
||||
'desktop' => '桌面',
|
||||
'dish' => '卫星天线',
|
||||
'satellite' => '卫星',
|
||||
'wifi' => 'Wi-Fi',
|
||||
'cloud' => '云',
|
||||
'globe' => '地球仪',
|
||||
'tower' => '塔',
|
||||
'arrow_right' => '箭头 - 右',
|
||||
'arrow_left' => '箭头 - 左',
|
||||
'arrow_up' => '箭头 - 上',
|
||||
'arrow_down' => '箭头 - 下',
|
||||
],
|
||||
'image' => '图像',
|
||||
'image_options' => [
|
||||
'adc' => '应用交付控制器',
|
||||
'firewall' => '防火墙',
|
||||
'gtm' => '全球流量管理器',
|
||||
'router' => '路由器',
|
||||
'switch-l2' => '交换机 - L2',
|
||||
'switch-l3' => '交换机 - L3',
|
||||
],
|
||||
'size' => '节点大小',
|
||||
'bg_color' => '背景颜色',
|
||||
'border_color' => '边框颜色',
|
||||
],
|
||||
'edge' => [
|
||||
'new' => '新连线',
|
||||
'add' => '添加连线',
|
||||
'defaults_title' => '连线默认配置',
|
||||
'from' => '起始',
|
||||
'to' => '终止',
|
||||
'port_select' => '选择端口',
|
||||
'reverse' => '反转端口方向',
|
||||
'edit_defaults' => '编辑连线默认值',
|
||||
'style' => '线条样式',
|
||||
'style_options' => [
|
||||
'dynamic' => '动态',
|
||||
'continuous' => '连续',
|
||||
'discrete' => '离散',
|
||||
'diagonalCross' => '对角交叉',
|
||||
'straightCross' => '直角交叉',
|
||||
'horizontal' => '水平',
|
||||
'vertical' => '垂直',
|
||||
'curvedCW' => '顺时针弯曲',
|
||||
'curvedCCW' => '逆时针弯曲',
|
||||
'cubicBezier' => '三次贝塞尔曲线',
|
||||
],
|
||||
'show_usage_percent' => '显示百分比使用情况',
|
||||
'show_usage_bps' => '显示bps使用情况',
|
||||
'label' => '标签',
|
||||
'recenter' => '重新居中连线',
|
||||
],
|
||||
'validate' => [
|
||||
'width_format' => '宽度必须是数字后跟px或%',
|
||||
'width_percent' => '宽度百分比必须在10到100之间',
|
||||
'width_pixels' => '像素宽度至少为200',
|
||||
'height_format' => '高度必须是数字后跟px或%',
|
||||
'height_percent' => '高度百分比必须在10到100之间',
|
||||
'height_pixels' => '像素高度至少为200',
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
36
lang/zh-CN/modules.php
Normal file
36
lang/zh-CN/modules.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'slas' => [
|
||||
'types' => [
|
||||
'dhcp' => 'DHCP',
|
||||
'dlsw' => 'DLSW',
|
||||
'dns' => 'DNS',
|
||||
'DnsQuery' => 'DNS 查询',
|
||||
'echo' => 'ICMP 回显',
|
||||
'ethernetJitter' => '以太网抖动',
|
||||
'ethernetPing' => '以太网 Ping',
|
||||
'fileIO' => '文件 I/O',
|
||||
'ftp' => 'FTP',
|
||||
'http' => 'HTTP',
|
||||
'HttpGet' => 'HTTP Get',
|
||||
'HttpGetMetadata' => 'HTTP 获取元数据',
|
||||
'IcmpEcho' => 'ICMP 回声',
|
||||
'icmpjitter' => 'ICMP 抖动',
|
||||
'IcmpTimeStamp' => 'ICMP 时间戳',
|
||||
'jitter' => '抖动',
|
||||
'lspGroup' => 'LSP 组',
|
||||
'lspPing' => 'LSP Ping',
|
||||
'lspPingPseudowire' => 'LSP 伪线 Ping"',
|
||||
'lspTrace' => 'LSP 跟踪',
|
||||
'NtpQuery' => 'NTP 查询',
|
||||
'pathEcho' => '路径 ICMP 回显',
|
||||
'rtp' => 'RTP',
|
||||
'script' => '脚本',
|
||||
'tcpConnect' => 'TCP 连接',
|
||||
'udpEcho' => 'UDP Ping',
|
||||
'UdpTimestamp' => 'UDP 时间戳',
|
||||
'voip' => 'VoIP',
|
||||
],
|
||||
],
|
||||
];
|
@@ -13,7 +13,6 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'previous' => '« 往前',
|
||||
'next' => '往后 »',
|
||||
|
||||
'previous' => '« 上一页',
|
||||
'next' => '下一页 »',
|
||||
];
|
||||
|
@@ -14,9 +14,9 @@ return [
|
||||
*/
|
||||
|
||||
'password' => '密码至少需要六个字符,并且要确认两者相符。',
|
||||
'reset' => '您的密码已重置。',
|
||||
'sent' => '已经寄送密码重置连结至您的电子邮件信箱。',
|
||||
'token' => '此密码重置权仗无效。',
|
||||
'user' => '找不到使用者的电子邮件地址。',
|
||||
|
||||
'reset' => '您的密码已被重置!',
|
||||
'sent' => '我们已向您的电子邮件发送了密码重置链接!',
|
||||
'throttled' => '请稍候再试。',
|
||||
'token' => '此密码重置令牌无效。',
|
||||
'user' => '我们无法找到该电子邮件地址对应的用户。',
|
||||
];
|
||||
|
12
lang/zh-CN/plugins.php
Normal file
12
lang/zh-CN/plugins.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'settings_page' => ':插件: 设置',
|
||||
'admin_page' => '插件管理',
|
||||
'admin_title' => '系统插件',
|
||||
'errors' => [
|
||||
'not_exist' => '插件 :插件 不存在。',
|
||||
'disabled' => '插件 :插件 已被禁用。',
|
||||
'view_missing' => '视图丢失。',
|
||||
],
|
||||
];
|
104
lang/zh-CN/poller.php
Normal file
104
lang/zh-CN/poller.php
Normal file
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'settings' => [
|
||||
'settings' => [
|
||||
'poller_groups' => [
|
||||
'description' => '分配的组',
|
||||
'help' => '此节点仅对这些轮询器组中的设备执行操作。',
|
||||
],
|
||||
'poller_enabled' => [
|
||||
'description' => '轮询器启用',
|
||||
'help' => '在此节点上启用轮询器工作者。',
|
||||
],
|
||||
'poller_workers' => [
|
||||
'description' => '轮询器工作者',
|
||||
'help' => '在此节点上生成的轮询器工作者数量。',
|
||||
],
|
||||
'poller_frequency' => [
|
||||
'description' => '轮询器频率(警告!)',
|
||||
'help' => '在此节点上轮询设备的频率。警告!在不修复 rrd 文件的情况下更改此设置将导致图表损坏。请参阅文档了解更多信息。',
|
||||
],
|
||||
'poller_down_retry' => [
|
||||
'description' => '设备故障重试',
|
||||
'help' => '如果尝试在此节点上轮询时设备处于离线状态。这是在重试之前等待的时间。',
|
||||
],
|
||||
'discovery_enabled' => [
|
||||
'description' => '发现启用',
|
||||
'help' => '在此节点上启用发现工作者。',
|
||||
],
|
||||
'discovery_workers' => [
|
||||
'description' => '发现工作者',
|
||||
'help' => '在此节点上运行的发现工作者数量。设置过高可能导致过载。',
|
||||
],
|
||||
'discovery_frequency' => [
|
||||
'description' => '发现频率',
|
||||
'help' => '在此节点上运行设备发现的频率。默认每天 4 次。',
|
||||
],
|
||||
'services_enabled' => [
|
||||
'description' => '服务启用',
|
||||
'help' => '在此节点上启用服务工作者。',
|
||||
],
|
||||
'services_workers' => [
|
||||
'description' => '服务工作者',
|
||||
'help' => '在此节点上的服务工作者数量。',
|
||||
],
|
||||
'services_frequency' => [
|
||||
'description' => '服务频率',
|
||||
'help' => '在此节点上运行服务的频率。这应与轮询器频率匹配。',
|
||||
],
|
||||
'billing_enabled' => [
|
||||
'description' => '计费启用',
|
||||
'help' => '在此节点上启用计费工作者。',
|
||||
],
|
||||
'billing_frequency' => [
|
||||
'description' => '计费频率',
|
||||
'help' => '在此节点上收集计费数据的频率。',
|
||||
],
|
||||
'billing_calculate_frequency' => [
|
||||
'description' => '计费计算频率',
|
||||
'help' => '在此节点上计算账单使用的频率。',
|
||||
],
|
||||
'alerting_enabled' => [
|
||||
'description' => '告警启用',
|
||||
'help' => '在此节点上启用告警工作者。',
|
||||
],
|
||||
'alerting_frequency' => [
|
||||
'description' => '告警频率',
|
||||
'help' => '在此节点上检查告警规则的频率。请注意,数据仅根据轮询器频率更新。',
|
||||
],
|
||||
'ping_enabled' => [
|
||||
'description' => '快速 Ping 启用',
|
||||
'help' => '快速 Ping 仅用于检查设备是否在线或离线',
|
||||
],
|
||||
'ping_frequency' => [
|
||||
'description' => 'Ping 频率',
|
||||
'help' => '在此节点上检查 Ping 的频率。警告!如果您更改此设置,必须进行其他更改。请参阅快速 Ping 文档。',
|
||||
],
|
||||
'update_enabled' => [
|
||||
'description' => '每日维护启用',
|
||||
'help' => '运行 daily.sh 维护脚本并在之后重启调度程序服务。',
|
||||
],
|
||||
'update_frequency' => [
|
||||
'description' => '维护频率',
|
||||
'help' => '在此节点上运行每日维护的频率。默认为 1 天。强烈建议不要更改此设置。',
|
||||
],
|
||||
'loglevel' => [
|
||||
'description' => '日志级别',
|
||||
'help' => '调度程序服务的日志级别。',
|
||||
],
|
||||
'watchdog_enabled' => [
|
||||
'description' => '看门狗启用',
|
||||
'help' => '看门狗监视日志文件并在服务日志未更新时重启服务。',
|
||||
],
|
||||
'watchdog_log' => [
|
||||
'description' => '监视的日志文件',
|
||||
'help' => '默认为 LibreNMS 日志文件。',
|
||||
],
|
||||
],
|
||||
'units' => [
|
||||
'seconds' => '秒',
|
||||
'workers' => '工作者',
|
||||
],
|
||||
],
|
||||
];
|
8
lang/zh-CN/port.php
Normal file
8
lang/zh-CN/port.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'groups' => [
|
||||
'updated' => ':port: 组已更新',
|
||||
'none' => ':port 未请求任何更新',
|
||||
],
|
||||
];
|
@@ -12,6 +12,6 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'title' => '偏好设置',
|
||||
'lang' => '简体中文',
|
||||
|
||||
];
|
||||
|
@@ -4,22 +4,23 @@ return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Sesnors Language Lines
|
||||
| Sensors Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used to translate names and units of sensors
|
||||
|
|
||||
*/
|
||||
|
||||
'title' => '传感器',
|
||||
'airflow' => [
|
||||
'short' => '气流',
|
||||
'long' => '气流',
|
||||
'unit' => 'cfm',
|
||||
'unit_long' => '每分钟标准立方呎',
|
||||
'unit_long' => '每分钟立方英尺',
|
||||
],
|
||||
'ber' => [
|
||||
'short' => 'BER',
|
||||
'long' => '位错误率',
|
||||
'short' => '误码率',
|
||||
'long' => '比特错误率',
|
||||
'unit' => '',
|
||||
'unit_long' => '',
|
||||
],
|
||||
@@ -36,14 +37,14 @@ return [
|
||||
'unit_long' => '皮秒/纳米/千米',
|
||||
],
|
||||
'cooling' => [
|
||||
'short' => 'Cooling',
|
||||
'short' => '冷却',
|
||||
'long' => '',
|
||||
'unit' => 'W',
|
||||
'unit_long' => '瓦特',
|
||||
],
|
||||
'count' => [
|
||||
'short' => 'Count',
|
||||
'long' => 'Count',
|
||||
'short' => '计数',
|
||||
'long' => '计数',
|
||||
'unit' => '',
|
||||
'unit_long' => '',
|
||||
],
|
||||
@@ -57,7 +58,7 @@ return [
|
||||
'short' => 'dBm',
|
||||
'long' => 'dBm',
|
||||
'unit' => 'dBm',
|
||||
'unit_long' => '毫瓦分贝',
|
||||
'unit_long' => '分贝毫瓦',
|
||||
],
|
||||
'delay' => [
|
||||
'short' => '延迟',
|
||||
@@ -66,16 +67,16 @@ return [
|
||||
'unit_long' => '秒',
|
||||
],
|
||||
'eer' => [
|
||||
'short' => 'EER',
|
||||
'long' => '能效比',
|
||||
'short' => '能效比',
|
||||
'long' => '能源效率比率',
|
||||
'unit' => '',
|
||||
'unit_long' => '',
|
||||
],
|
||||
'fanspeed' => [
|
||||
'short' => '风扇转速',
|
||||
'long' => '风扇转速',
|
||||
'short' => '风扇速度',
|
||||
'long' => '风扇速度',
|
||||
'unit' => 'RPM',
|
||||
'unit_long' => '每分钟旋转次数',
|
||||
'unit_long' => '每分钟转数',
|
||||
],
|
||||
'frequency' => [
|
||||
'short' => '频率',
|
||||
@@ -95,9 +96,15 @@ return [
|
||||
'unit' => '%',
|
||||
'unit_long' => '百分比',
|
||||
],
|
||||
'loss' => [
|
||||
'short' => '百分比',
|
||||
'long' => '损耗百分比',
|
||||
'unit' => '%',
|
||||
'unit_long' => '百分比',
|
||||
],
|
||||
'power' => [
|
||||
'short' => '电力',
|
||||
'long' => '电力',
|
||||
'short' => '功率',
|
||||
'long' => '功率',
|
||||
'unit' => 'W',
|
||||
'unit_long' => '瓦特',
|
||||
],
|
||||
@@ -105,11 +112,11 @@ return [
|
||||
'short' => '消耗功率',
|
||||
'long' => '消耗功率',
|
||||
'unit' => 'kWh',
|
||||
'unit_long' => '千瓦小时',
|
||||
'unit_long' => '千瓦时',
|
||||
],
|
||||
'power_factor' => [
|
||||
'short' => '功率因子',
|
||||
'long' => '功率因子',
|
||||
'short' => '功率因数',
|
||||
'long' => '功率因数',
|
||||
'unit' => '',
|
||||
'unit_long' => '',
|
||||
],
|
||||
@@ -117,29 +124,41 @@ return [
|
||||
'short' => '压力',
|
||||
'long' => '压力',
|
||||
'unit' => 'kPa',
|
||||
'unit_long' => '千帕',
|
||||
'unit_long' => '千帕斯卡',
|
||||
],
|
||||
'quality_factor' => [
|
||||
'short' => '品质因子',
|
||||
'long' => '品质因子',
|
||||
'short' => '质量因素',
|
||||
'long' => '质量因素',
|
||||
'unit' => '',
|
||||
'unit_long' => '',
|
||||
],
|
||||
'runtime' => [
|
||||
'short' => '运行时间',
|
||||
'long' => '运行时间',
|
||||
'unit' => '分',
|
||||
'unit' => 'Min',
|
||||
'unit_long' => '分钟',
|
||||
],
|
||||
'signal' => [
|
||||
'short' => '讯号',
|
||||
'long' => '讯号',
|
||||
'short' => '信号',
|
||||
'long' => '信号',
|
||||
'unit' => 'dBm',
|
||||
'unit_long' => '毫瓦分贝',
|
||||
'unit_long' => '分贝毫瓦',
|
||||
],
|
||||
'tv_signal' => [
|
||||
'short' => '信号',
|
||||
'long' => '电视信号',
|
||||
'unit' => 'dBmV',
|
||||
'unit_long' => '分贝毫伏',
|
||||
],
|
||||
'bitrate' => [
|
||||
'short' => '比特率',
|
||||
'long' => '比特率',
|
||||
'unit' => 'bps',
|
||||
'unit_long' => '每秒位数',
|
||||
],
|
||||
'snr' => [
|
||||
'short' => 'SNR',
|
||||
'long' => '讯号噪声比',
|
||||
'short' => '信噪比',
|
||||
'long' => '信号与噪声比',
|
||||
'unit' => 'dB',
|
||||
'unit_long' => '分贝',
|
||||
],
|
||||
@@ -152,7 +171,7 @@ return [
|
||||
'short' => '温度',
|
||||
'long' => '温度',
|
||||
'unit' => '°C',
|
||||
'unit_long' => '° 摄氏',
|
||||
'unit_long' => '摄氏度',
|
||||
],
|
||||
'voltage' => [
|
||||
'short' => '电压',
|
||||
@@ -161,9 +180,15 @@ return [
|
||||
'unit_long' => '伏特',
|
||||
],
|
||||
'waterflow' => [
|
||||
'short' => '水流',
|
||||
'long' => '水流',
|
||||
'short' => '水流量',
|
||||
'long' => '水流量',
|
||||
'unit' => 'l/m',
|
||||
'unit_long' => '升每分钟',
|
||||
'unit_long' => '每分钟升',
|
||||
],
|
||||
'percent' => [
|
||||
'short' => '百分比',
|
||||
'long' => '百分比',
|
||||
'unit' => '%',
|
||||
'unit_long' => '百分比',
|
||||
],
|
||||
];
|
||||
|
6
lang/zh-CN/smokeping.php
Normal file
6
lang/zh-CN/smokeping.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'in' => '进站',
|
||||
'out' => '出站',
|
||||
];
|
23
lang/zh-CN/stp.php
Normal file
23
lang/zh-CN/stp.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'stp_info' => 'STP 实例信息',
|
||||
'stp_ports' => 'STP 端口',
|
||||
'vlan' => '虚拟局域网 (VLAN)',
|
||||
'root_bridge' => '根桥',
|
||||
'bridge_address' => '桥地址 (MAC)',
|
||||
'protocol' => '协议规范',
|
||||
'priority' => '优先级',
|
||||
'last_topology_change' => '拓扑改变时间',
|
||||
'topology_changes' => '拓扑改变次数',
|
||||
'designated_root' => '指定根 (MAC)',
|
||||
'root_cost' => '根成本',
|
||||
'root_port' => '根端口',
|
||||
'max_age' => '最大年龄 (s)',
|
||||
'hello_time' => '你好时间 (s)',
|
||||
'hold_time' => '保持时间 (s)',
|
||||
'forward_delay' => '转发延迟 (s)',
|
||||
'bridge_max_age' => '桥最大年龄 (s)',
|
||||
'bridge_hello_time' => '桥你好时间 (s)',
|
||||
'bridge_forward_delay' => '桥转发延迟 (s)',
|
||||
];
|
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'title' => '系统日志',
|
||||
'severity' => [
|
||||
'0' => '紧急',
|
||||
'1' => '警报',
|
||||
@@ -17,24 +18,24 @@ return [
|
||||
'2' => '邮件系统',
|
||||
'3' => '系统守护进程',
|
||||
'4' => '安全/授权消息',
|
||||
'5' => 'syslogd内部生成的消息',
|
||||
'5' => 'syslogd 内部生成的消息',
|
||||
'6' => '行式打印机子系统',
|
||||
'7' => '网络新闻子系统',
|
||||
'8' => 'UUCP子系统',
|
||||
'8' => 'UUCP 子系统',
|
||||
'9' => '时钟守护进程',
|
||||
'10' => '安全/授权消息',
|
||||
'11' => 'FTP守护进程',
|
||||
'12' => 'NTP子系统',
|
||||
'11' => 'FTP 守护进程',
|
||||
'12' => 'NTP 子系统',
|
||||
'13' => '日志审计',
|
||||
'14' => '日志警报',
|
||||
'14' => '日志警告',
|
||||
'15' => '时钟守护进程(注意2)',
|
||||
'16' => '本地使用0(local0)',
|
||||
'17' => '本地使用1(local1)',
|
||||
'18' => '本地使用2(local2)',
|
||||
'19' => '本地使用3(local3)',
|
||||
'20' => '本地使用4(local4)',
|
||||
'21' => '本地使用5(local5)',
|
||||
'22' => '本地使用6(local6)',
|
||||
'23' => '本地使用7(local7)',
|
||||
'16' => '本地使用 0 (local0)',
|
||||
'17' => '本地使用 1 (local1)',
|
||||
'18' => '本地使用 2 (local2)',
|
||||
'19' => '本地使用 3 (local3)',
|
||||
'20' => '本地使用 4 (local4)',
|
||||
'21' => '本地使用 5 (local5)',
|
||||
'22' => '本地使用 6 (local6)',
|
||||
'23' => '本地使用 7 (local7)',
|
||||
],
|
||||
];
|
||||
|
@@ -13,108 +13,150 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => ':attribute 须同意。',
|
||||
'active_url' => ':attribute 不是有效的 URL。',
|
||||
'after' => ':attribute 须为 :date 之后的日期。',
|
||||
'after_or_equal' => ':attribute 须等于 :date 或之后的日期。',
|
||||
'alpha' => 'The :attribute may only contain letters.',
|
||||
'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'The :attribute may only contain letters and numbers.',
|
||||
'array' => ':attribute 需为数组。',
|
||||
'before' => ':attribute 须为 :date 之前的日期。',
|
||||
'before_or_equal' => ':attribute 须等于 :date 或之前的日期。',
|
||||
'accepted' => ':attribute 字段必须被接受。',
|
||||
'accepted_if' => '当 :other 为 :value 时,:attribute 字段必须被接受。',
|
||||
'active_url' => ':attribute 字段必须是一个有效的网址。',
|
||||
'after' => ':attribute 字段必须是一个在 :date 之后的日期。',
|
||||
'after_or_equal' => ':attribute 字段必须是一个在 :date 之后或等于 :date 的日期。',
|
||||
'alpha' => ':attribute 字段只能包含字母。',
|
||||
'alpha_dash' => ':attribute 字段只能包含字母、数字、破折号和下划线。',
|
||||
'alpha_num' => ':attribute 字段只能包含字母和数字。',
|
||||
'array' => ':attribute 字段必须是一个数组。',
|
||||
'ascii' => ':attribute 字段只能包含单字节的字母数字字符和符号。',
|
||||
'before' => ':attribute 字段必须是一个在 :date 之前的日期。',
|
||||
'before_or_equal' => ':attribute 字段必须是一个在 :date 之前或等于 :date 的日期。',
|
||||
'between' => [
|
||||
'numeric' => 'The :attribute must be between :min and :max.',
|
||||
'file' => 'The :attribute must be between :min and :max kilobytes.',
|
||||
'string' => 'The :attribute must be between :min and :max characters.',
|
||||
'array' => 'The :attribute must have between :min and :max items.',
|
||||
'array' => ':attribute 字段必须有 :min 到 :max 项。',
|
||||
'file' => ':attribute 字段必须在 :min 到 :max 千字节之间。',
|
||||
'numeric' => ':attribute 字段必须在 :min 和 :max 之间。',
|
||||
'string' => ':attribute 字段必须在 :min 和 :max 个字符之间。',
|
||||
],
|
||||
'boolean' => 'The :attribute field must be true or false.',
|
||||
'confirmed' => 'The :attribute confirmation does not match.',
|
||||
'date' => 'The :attribute is not a valid date.',
|
||||
'date_equals' => 'The :attribute must be a date equal to :date.',
|
||||
'date_format' => 'The :attribute does not match the format :format.',
|
||||
'different' => 'The :attribute and :other must be different.',
|
||||
'digits' => 'The :attribute must be :digits digits.',
|
||||
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'The :attribute must be a valid email address.',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
'file' => 'The :attribute must be a file.',
|
||||
'filled' => 'The :attribute field must have a value.',
|
||||
'boolean' => ':attribute 字段必须是真或假。',
|
||||
'confirmed' => ':attribute 字段的确认不匹配。',
|
||||
'current_password' => '密码不正确。',
|
||||
'date' => ':attribute 字段必须是一个有效的日期。',
|
||||
'date_equals' => ':attribute 字段必须是一个与 :date 相同的日期。',
|
||||
'date_format' => ':attribute 字段必须符合 :format 格式。',
|
||||
'decimal' => ':attribute 字段必须有 :decimal 位小数。',
|
||||
'declined' => ':attribute 字段必须被拒绝。',
|
||||
'declined_if' => '当 :other 为 :value 时,:attribute 字段必须被拒绝。',
|
||||
'different' => ':attribute 字段和 :other 必须不同。',
|
||||
'digits' => ':attribute 字段必须是 :digits 位数字。',
|
||||
'digits_between' => ':attribute 字段必须在 :min 和 :max 位数字之间。',
|
||||
'dimensions' => ':attribute 字段的图片尺寸无效。',
|
||||
'distinct' => ':attribute 字段有重复的值。',
|
||||
'doesnt_end_with' => ':attribute 字段不能以以下之一结束::values。',
|
||||
'doesnt_start_with' => ':attribute 字段不能以以下之一开始::values。',
|
||||
'email' => ':attribute 字段必须是一个有效的电子邮件地址。',
|
||||
'ends_with' => ':attribute 字段必须以以下之一结束::values。',
|
||||
'enum' => '所选的 :attribute 无效。',
|
||||
'exists' => '所选的 :attribute 无效。',
|
||||
'file' => ':attribute 字段必须是一个文件。',
|
||||
'filled' => ':attribute 字段必须有值。',
|
||||
'gt' => [
|
||||
'numeric' => 'The :attribute must be greater than :value.',
|
||||
'file' => 'The :attribute must be greater than :value kilobytes.',
|
||||
'string' => 'The :attribute must be greater than :value characters.',
|
||||
'array' => 'The :attribute must have more than :value items.',
|
||||
'array' => ':attribute 字段必须有超过 :value 项。',
|
||||
'file' => ':attribute 字段必须大于 :value 千字节。',
|
||||
'numeric' => ':attribute 字段必须大于 :value。',
|
||||
'string' => ':attribute 字段必须大于 :value 个字符。',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The :attribute must be greater than or equal :value.',
|
||||
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The :attribute must be greater than or equal :value characters.',
|
||||
'array' => 'The :attribute must have :value items or more.',
|
||||
'array' => ':attribute 字段必须有 :value 项或更多。',
|
||||
'file' => ':attribute 字段必须大于或等于 :value 千字节。',
|
||||
'numeric' => ':attribute 字段必须大于或等于 :value。',
|
||||
'string' => ':attribute 字段必须大于或等于 :value 个字符。',
|
||||
],
|
||||
'image' => 'The :attribute must be an image.',
|
||||
'in' => 'The selected :attribute is invalid.',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'integer' => 'The :attribute must be an integer.',
|
||||
'ip' => 'The :attribute must be a valid IP address.',
|
||||
'ipv4' => 'The :attribute must be a valid IPv4 address.',
|
||||
'ipv6' => 'The :attribute must be a valid IPv6 address.',
|
||||
'json' => 'The :attribute must be a valid JSON string.',
|
||||
'image' => ':attribute 字段必须是一张图片。',
|
||||
'in' => '所选的 :attribute 无效。',
|
||||
'in_array' => ':attribute 字段必须存在于 :other 中。',
|
||||
'integer' => ':attribute 字段必须是一个整数。',
|
||||
'ip' => ':attribute 字段必须是一个有效的IP地址。',
|
||||
'ipv4' => ':attribute 字段必须是一个有效的IPv4地址。',
|
||||
'ipv6' => ':attribute 字段必须是一个有效的IPv6地址。',
|
||||
'json' => ':attribute 字段必须是一个有效的JSON字符串。',
|
||||
'lowercase' => ':attribute 字段必须是小写。',
|
||||
'lt' => [
|
||||
'numeric' => 'The :attribute must be less than :value.',
|
||||
'file' => 'The :attribute must be less than :value kilobytes.',
|
||||
'string' => 'The :attribute must be less than :value characters.',
|
||||
'array' => 'The :attribute must have less than :value items.',
|
||||
'array' => ':attribute 字段必须少于 :value 项。',
|
||||
'file' => ':attribute 字段必须小于 :value 千字节。',
|
||||
'numeric' => ':attribute 字段必须小于 :value。',
|
||||
'string' => ':attribute 字段必须小于 :value 个字符。',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The :attribute must be less than or equal :value.',
|
||||
'file' => 'The :attribute must be less than or equal :value kilobytes.',
|
||||
'string' => 'The :attribute must be less than or equal :value characters.',
|
||||
'array' => 'The :attribute must not have more than :value items.',
|
||||
'array' => ':attribute 字段不能多于 :value 项。',
|
||||
'file' => ':attribute 字段必须小于或等于 :value 千字节。',
|
||||
'numeric' => ':attribute 字段必须小于或等于 :value。',
|
||||
'string' => ':attribute 字段必须小于或等于 :value 个字符。',
|
||||
],
|
||||
'mac_address' => ':attribute 字段必须是一个有效的MAC地址。',
|
||||
'max' => [
|
||||
'numeric' => 'The :attribute may not be greater than :max.',
|
||||
'file' => 'The :attribute may not be greater than :max kilobytes.',
|
||||
'string' => 'The :attribute may not be greater than :max characters.',
|
||||
'array' => 'The :attribute may not have more than :max items.',
|
||||
'array' => ':attribute 字段不能多于 :max 项。',
|
||||
'file' => ':attribute 字段不能大于 :max 千字节。',
|
||||
'numeric' => ':attribute 字段不能大于 :max。',
|
||||
'string' => ':attribute 字段不能大于 :max 个字符。',
|
||||
],
|
||||
'mimes' => 'The :attribute must be a file of type: :values.',
|
||||
'mimetypes' => 'The :attribute must be a file of type: :values.',
|
||||
'max_digits' => ':attribute 字段不能多于 :max 位数字。',
|
||||
'mimes' => ':attribute 字段必须是以下类型的文件::values。',
|
||||
'mimetypes' => ':attribute 字段必须是以下类型的文件::values。',
|
||||
'min' => [
|
||||
'numeric' => 'The :attribute must be at least :min.',
|
||||
'file' => 'The :attribute must be at least :min kilobytes.',
|
||||
'string' => 'The :attribute must be at least :min characters.',
|
||||
'array' => 'The :attribute must have at least :min items.',
|
||||
'array' => ':attribute 字段必须至少有 :min 项。',
|
||||
'file' => ':attribute 字段必须至少为 :min 千字节。',
|
||||
'numeric' => ':attribute 字段必须至少为 :min。',
|
||||
'string' => ':attribute 字段必须至少为 :min 个字符。',
|
||||
],
|
||||
'not_in' => 'The selected :attribute is invalid.',
|
||||
'not_regex' => 'The :attribute format is invalid.',
|
||||
'numeric' => 'The :attribute must be a number.',
|
||||
'present' => 'The :attribute field must be present.',
|
||||
'regex' => 'The :attribute format is invalid.',
|
||||
'required' => 'The :attribute field is required.',
|
||||
'required_if' => 'The :attribute field is required when :other is :value.',
|
||||
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
||||
'required_with' => 'The :attribute field is required when :values is present.',
|
||||
'required_with_all' => 'The :attribute field is required when :values are present.',
|
||||
'required_without' => 'The :attribute field is required when :values is not present.',
|
||||
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
||||
'same' => 'The :attribute and :other must match.',
|
||||
'min_digits' => ':attribute 字段必须至少有 :min 位数字。',
|
||||
'missing' => ':attribute 字段必须缺失。',
|
||||
'missing_if' => '当 :other 为 :value 时,:attribute 字段必须缺失。',
|
||||
'missing_unless' => '除非 :other 为 :value,否则 :attribute 字段必须缺失。',
|
||||
'missing_with' => '当 :values 存在时,:attribute 字段必须缺失。',
|
||||
'missing_with_all' => '当 :values 全部存在时,:attribute 字段必须缺失。',
|
||||
'multiple_of' => ':attribute 字段必须是 :value 的倍数。',
|
||||
'not_in' => '所选的 :attribute 无效。',
|
||||
'not_regex' => ':attribute 字段的格式无效。',
|
||||
'numeric' => ':attribute 字段必须是一个数字。',
|
||||
'password' => [
|
||||
'letters' => ':attribute 字段必须至少包含一个字母。',
|
||||
'mixed' => ':attribute 字段必须至少包含一个大写字母和一个小写字母。',
|
||||
'numbers' => ':attribute 字段必须至少包含一个数字。',
|
||||
'symbols' => ':attribute 字段必须至少包含一个符号。',
|
||||
'uncompromised' => '给定的 :attribute 出现在数据泄露中,请选择一个不同的 :attribute。',
|
||||
],
|
||||
'present' => ':attribute 字段必须存在。',
|
||||
'prohibited' => ':attribute 字段被禁止。',
|
||||
'prohibited_if' => '当 :other 为 :value 时,:attribute 字段被禁止。',
|
||||
'prohibited_unless' => '除非 :other 为 :values 中的值,否则 :attribute 字段被禁止。',
|
||||
'prohibits' => ':attribute 字段禁止 :other 出现。',
|
||||
'regex' => ':attribute 字段的格式无效。',
|
||||
'required' => ':attribute 字段是必需的。',
|
||||
'required_array_keys' => ':attribute 字段必须包含以下条目::values。',
|
||||
'required_if' => '当 :other 为 :value 时,:attribute 字段是必需的。',
|
||||
'required_if_accepted' => '当 :other 被接受时,:attribute 字段是必需的。',
|
||||
'required_unless' => '除非 :other 为 :values 中的值,否则 :attribute 字段是必需的。',
|
||||
'required_with' => '当 :values 存在时,:attribute 字段是必需的。',
|
||||
'required_with_all' => '当 :values 全部存在时,:attribute 字段是必需的。',
|
||||
'required_without' => '当 :values 不存在时,:attribute 字段是必需的。',
|
||||
'required_without_all' => '当 :values 全都不在时,:attribute 字段是必需的。',
|
||||
'same' => ':attribute 字段必须与 :other 匹配。',
|
||||
'size' => [
|
||||
'numeric' => 'The :attribute must be :size.',
|
||||
'file' => 'The :attribute must be :size kilobytes.',
|
||||
'string' => 'The :attribute must be :size characters.',
|
||||
'array' => 'The :attribute must contain :size items.',
|
||||
'array' => ':attribute 字段必须包含 :size 项。',
|
||||
'file' => ':attribute 字段必须是 :size 千字节。',
|
||||
'numeric' => ':attribute 字段必须是 :size。',
|
||||
'string' => ':attribute 字段必须是 :size 个字符。',
|
||||
],
|
||||
'starts_with' => 'The :attribute must start with one of the following: :values',
|
||||
'string' => ':attribute 须是字符串。',
|
||||
'timezone' => 'The :attribute must be a valid zone.',
|
||||
'unique' => 'The :attribute has already been taken.',
|
||||
'starts_with' => ':attribute 字段必须以以下之一开头::values。',
|
||||
'string' => ':attribute 字段必须是一个字符串。',
|
||||
'timezone' => ':attribute 字段必须是一个有效的时区。',
|
||||
'unique' => ':attribute 已经被占用。',
|
||||
'uploaded' => ':attribute 上传失败。',
|
||||
'url' => ':attribute 格式无效。',
|
||||
'uuid' => ':attribute 须是有效的 UUID。',
|
||||
'uppercase' => ':attribute 字段必须是大写的。',
|
||||
'url' => ':attribute 字段必须是一个有效的URL。',
|
||||
'ulid' => ':attribute 字段必须是一个有效的ULID。',
|
||||
'uuid' => ':attribute 字段必须是一个有效的UUID。',
|
||||
|
||||
// Librenms specific
|
||||
|
||||
'alpha_space' => ':attribute 只能包含字母、数字、下划线和空格。',
|
||||
'ip_or_hostname' => ':attribute 必须是一个有效的IP地址/网络或主机名。',
|
||||
'is_regex' => ':attribute 不是一个有效的正则表达式',
|
||||
'keys_in' => ':attribute 包含无效的键: :extra。有效键为: :values',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -129,7 +171,7 @@ return [
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
'rule-name' => '自定义消息',
|
||||
],
|
||||
],
|
||||
|
||||
@@ -146,4 +188,114 @@ return [
|
||||
|
||||
'attributes' => [],
|
||||
|
||||
'results' => [
|
||||
'autofix' => '尝试自动修复',
|
||||
'fix' => '修复',
|
||||
'fixed' => '修复已完成,请刷新以重新运行验证。',
|
||||
'fetch_failed' => '未能获取验证结果',
|
||||
'backend_failed' => '未能从后端加载数据,请检查控制台错误。',
|
||||
'invalid_fixer' => '无效的修复器',
|
||||
'show_all' => '显示全部',
|
||||
'show_less' => '显示较少',
|
||||
'validate' => '验证',
|
||||
'validating' => '正在验证',
|
||||
],
|
||||
'validations' => [
|
||||
'rrd' => [
|
||||
'CheckRrdVersion' => [
|
||||
'fail' => '您指定的rrdtool版本比已安装的版本新。配置: :config_version 已安装: :installed_version',
|
||||
'fix' => '请在您的config.php文件中注释或删除 $config[\'rrdtool_version\'] = \':version\';',
|
||||
'ok' => 'rrdtool版本正常',
|
||||
],
|
||||
'CheckRrdcachedConnectivity' => [
|
||||
'fail_socket' => ':socket 似乎不存在,rrdcached连接性测试失败',
|
||||
'fail_port' => '无法连接到端口 :port 上的rrdcached服务器',
|
||||
'ok' => '已连接到rrdcached',
|
||||
],
|
||||
'CheckRrdDirPermissions' => [
|
||||
'fail_root' => '您的RRD目录归root所有,请考虑更改为非root用户',
|
||||
'fail_mode' => '您的RRD目录权限未设置为0775',
|
||||
'ok' => 'rrd_dir可写',
|
||||
],
|
||||
],
|
||||
'database' => [
|
||||
'CheckDatabaseTableNamesCase' => [
|
||||
'fail' => '您在mysql配置中将lower_case_table_names设置为1或true。',
|
||||
'fix' => '在您的mysql配置文件的[mysqld]部分设置lower_case_table_names=0。',
|
||||
'ok' => 'lower_case_table_names已启用',
|
||||
],
|
||||
'CheckDatabaseServerVersion' => [
|
||||
'fail' => ':server 版本 :min 是自:date以来支持的最低版本。',
|
||||
'fix' => '更新:server到受支持的版本,建议使用:suggested。',
|
||||
'ok' => 'SQL服务器满足最低要求',
|
||||
],
|
||||
'CheckMysqlEngine' => [
|
||||
'fail' => '某些表没有使用推荐的InnoDB引擎,这可能会给您带来问题。',
|
||||
'tables' => '表',
|
||||
'ok' => 'MySQL引擎是最优的',
|
||||
],
|
||||
'CheckSqlServerTime' => [
|
||||
'fail' => "此服务器与mysql数据库之间的时间不一致\n Mysql时间: :mysql_time\n PHP时间: :php_time",
|
||||
'ok' => 'MySQL和PHP时间匹配',
|
||||
],
|
||||
'CheckSchemaVersion' => [
|
||||
'fail_outdated' => '您的数据库已过时!',
|
||||
'fail_legacy_outdated' => '您的数据库架构(:current)比最新版(:latest)旧。',
|
||||
'fix_legacy_outdated' => '手动运行./daily.sh,并检查任何错误。',
|
||||
'warn_extra_migrations' => '您的数据库架构有额外的迁移(:migrations)。如果您刚刚从每日发布切换到稳定发布,您的数据库正处于两个发布之间,这将在下一个发布中得到解决。',
|
||||
'warn_legacy_newer' => '您的数据库架构(:current)比预期的新(:latest)。如果您刚刚从每日发布切换到稳定发布,您的数据库正处于两个发布之间,这将在下一个发布中得到解决。',
|
||||
'ok' => '数据库架构当前',
|
||||
],
|
||||
'CheckSchemaCollation' => [
|
||||
'ok' => '数据库和列排序规则正确',
|
||||
],
|
||||
],
|
||||
'distributedpoller' => [
|
||||
'CheckDistributedPollerEnabled' => [
|
||||
'ok' => '分布式轮询设置已全局启用',
|
||||
'not_enabled' => '您尚未启用distributed_poller',
|
||||
'not_enabled_globally' => '您尚未全局启用distributed_poller',
|
||||
],
|
||||
'CheckMemcached' => [
|
||||
'not_configured_host' => '您尚未配置分布式_poller_memcached_host',
|
||||
'not_configured_port' => '您尚未配置分布式_poller_memcached_port',
|
||||
'could_not_connect' => '无法连接到memcached服务器',
|
||||
'ok' => '与memcached的连接正常',
|
||||
],
|
||||
'CheckRrdcached' => [
|
||||
'fail' => '您尚未启用rrdcached',
|
||||
],
|
||||
],
|
||||
'poller' => [
|
||||
'CheckActivePoller' => [
|
||||
'fail' => '未检测到活动的轮询方法',
|
||||
'both_fail' => '调度程序服务和Python包装器最近都处于活动状态,这可能导致双重轮询',
|
||||
'ok' => '找到活动的轮询器',
|
||||
],
|
||||
'CheckDispatcherService' => [
|
||||
'fail' => '未找到活动的调度程序节点',
|
||||
'ok' => '调度程序服务已启用',
|
||||
'nodes_down' => '一些调度程序节点最近没有检查',
|
||||
'not_detected' => '未检测到调度程序服务',
|
||||
'warn' => '调度程序服务已被使用,但最近没有',
|
||||
],
|
||||
'CheckLocking' => [
|
||||
'fail' => '锁定服务器问题: :message',
|
||||
'ok' => '锁定功能正常',
|
||||
],
|
||||
'CheckPythonWrapper' => [
|
||||
'fail' => '未找到活动的python包装器轮询器',
|
||||
'no_pollers' => '未找到python包装器轮询器',
|
||||
'cron_unread' => '无法读取cron文件',
|
||||
'ok' => 'Python轮询器包装器正在进行轮询',
|
||||
'nodes_down' => '一些轮询节点最近没有检查',
|
||||
'not_detected' => 'Python包装器cron条目不存在',
|
||||
],
|
||||
'CheckRedis' => [
|
||||
'bad_driver' => '使用:driver进行锁定,您应设置CACHE_DRIVER=redis',
|
||||
'ok' => 'Redis功能正常',
|
||||
'unavailable' => 'Redis不可用',
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
|
64
lang/zh-CN/widgets.php
Normal file
64
lang/zh-CN/widgets.php
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'alerts' => [
|
||||
'title' => '警告',
|
||||
],
|
||||
'alertlog' => [
|
||||
'title' => '警告历史记录',
|
||||
],
|
||||
'alertlog-stats' => [
|
||||
'title' => '警告历史统计',
|
||||
],
|
||||
'availability-map' => [
|
||||
'title' => '可用性地图',
|
||||
],
|
||||
'component-status' => [
|
||||
'title' => '组件状态',
|
||||
],
|
||||
'device-summary-horiz' => [
|
||||
'title' => '设备摘要(水平布局)',
|
||||
],
|
||||
'device-summary-vert' => [
|
||||
'title' => '设备摘要(垂直布局)',
|
||||
],
|
||||
'device-types' => [
|
||||
'title' => '设备类型',
|
||||
],
|
||||
'eventlog' => [
|
||||
'title' => '事件日志',
|
||||
],
|
||||
'generic-graph' => [
|
||||
'title' => '图表',
|
||||
],
|
||||
'generic-image' => [
|
||||
'title' => '外部图像',
|
||||
],
|
||||
'globe' => [
|
||||
'title' => '地球地图',
|
||||
],
|
||||
'graylog' => [
|
||||
'title' => 'Graylog',
|
||||
],
|
||||
'notes' => [
|
||||
'title' => '笔记',
|
||||
],
|
||||
'server-stats' => [
|
||||
'title' => '服务器统计信息',
|
||||
],
|
||||
'syslog' => [
|
||||
'title' => '系统日志',
|
||||
],
|
||||
'top-devices' => [
|
||||
'title' => '顶级设备',
|
||||
],
|
||||
'top-errors' => [
|
||||
'title' => '顶级错误',
|
||||
],
|
||||
'top-interfaces' => [
|
||||
'title' => '顶级接口',
|
||||
],
|
||||
'worldmap' => [
|
||||
'title' => '世界地图',
|
||||
],
|
||||
];
|
@@ -11,9 +11,10 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'title' => '无线',
|
||||
'ap-count' => [
|
||||
'short' => 'AP 数量',
|
||||
'long' => 'AP 数量',
|
||||
'short' => 'AP数量',
|
||||
'long' => '接入点计数',
|
||||
'unit' => '',
|
||||
],
|
||||
'clients' => [
|
||||
@@ -28,22 +29,22 @@ return [
|
||||
],
|
||||
'ccq' => [
|
||||
'short' => 'CCQ',
|
||||
'long' => '客户端联机质量',
|
||||
'long' => '客户端连接质量',
|
||||
'unit' => '%',
|
||||
],
|
||||
'errors' => [
|
||||
'short' => '错误',
|
||||
'long' => '错误数量',
|
||||
'long' => '错误计数',
|
||||
'unit' => '',
|
||||
],
|
||||
'error-ratio' => [
|
||||
'short' => '错误率',
|
||||
'long' => '位/封包错误率',
|
||||
'short' => '错误比率',
|
||||
'long' => '位/包错误比率',
|
||||
'unit' => '%',
|
||||
],
|
||||
'error-rate' => [
|
||||
'short' => 'BER',
|
||||
'long' => '位错误率',
|
||||
'short' => '误码率',
|
||||
'long' => '比特误码率',
|
||||
'unit' => 'bps',
|
||||
],
|
||||
'frequency' => [
|
||||
@@ -54,7 +55,7 @@ return [
|
||||
'distance' => [
|
||||
'short' => '距离',
|
||||
'long' => '距离',
|
||||
'unit' => 'm',
|
||||
'unit' => '米',
|
||||
],
|
||||
'mse' => [
|
||||
'short' => 'MSE',
|
||||
@@ -64,47 +65,71 @@ return [
|
||||
'noise-floor' => [
|
||||
'short' => '背景噪声',
|
||||
'long' => '背景噪声',
|
||||
'unit' => 'dBm/Hz',
|
||||
'unit' => 'dBm',
|
||||
],
|
||||
'power' => [
|
||||
'short' => '电力/讯号',
|
||||
'long' => 'TX/RX 电力或讯号',
|
||||
'short' => '功率/信号',
|
||||
'long' => '发射/接收功率或信号强度',
|
||||
'unit' => 'dBm',
|
||||
],
|
||||
'quality' => [
|
||||
'short' => '品质',
|
||||
'long' => '品质',
|
||||
'short' => '质量',
|
||||
'long' => '质量',
|
||||
'unit' => '%',
|
||||
],
|
||||
'rate' => [
|
||||
'short' => '传送率',
|
||||
'long' => 'TX/RX 传送率',
|
||||
'short' => '速率',
|
||||
'long' => '发射/接收速率',
|
||||
'unit' => 'bps',
|
||||
],
|
||||
'rssi' => [
|
||||
'short' => 'RSSI',
|
||||
'long' => '接收讯号强度指针',
|
||||
'long' => '接收信号强度指示',
|
||||
'unit' => 'dBm',
|
||||
],
|
||||
'snr' => [
|
||||
'short' => 'SNR',
|
||||
'long' => '讯号噪讯比',
|
||||
'short' => '信噪比',
|
||||
'long' => '信号与噪声比',
|
||||
'unit' => 'dB',
|
||||
],
|
||||
'sinr' => [
|
||||
'short' => 'SINR',
|
||||
'long' => '信号与干扰加噪声比',
|
||||
'unit' => 'dB',
|
||||
],
|
||||
'rsrq' => [
|
||||
'short' => 'RSRQ',
|
||||
'long' => '接收参考信号质量',
|
||||
'unit' => 'dB',
|
||||
],
|
||||
'rsrp' => [
|
||||
'short' => 'RSRP',
|
||||
'long' => '接收参考信号功率',
|
||||
'unit' => 'dBm',
|
||||
],
|
||||
'ssr' => [
|
||||
'short' => 'SSR',
|
||||
'long' => '讯号强度比',
|
||||
'long' => '信号强度比',
|
||||
'unit' => 'dB',
|
||||
],
|
||||
'utilization' => [
|
||||
'short' => '使用率',
|
||||
'long' => '使用率',
|
||||
'short' => '利用率',
|
||||
'long' => '利用率',
|
||||
'unit' => '%',
|
||||
],
|
||||
'xpi' => [
|
||||
'short' => 'XPI',
|
||||
'long' => '交互极化干扰',
|
||||
'long' => '交叉极化干扰',
|
||||
'unit' => 'dB',
|
||||
],
|
||||
|
||||
'cell' => [
|
||||
'short' => '小区',
|
||||
'long' => '小区',
|
||||
'unit' => '',
|
||||
],
|
||||
'channel' => [
|
||||
'short' => '信道',
|
||||
'long' => '信道',
|
||||
'unit' => '',
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user