236 lines
11 KiB
PHP
236 lines
11 KiB
PHP
<?php
|
||
// Copyright 1999-2024. WebPros International GmbH. All rights reserved.
|
||
|
||
$messages = [
|
||
'title' => 'Watchdog',
|
||
'App' => [
|
||
'monitoringStatus' => '服务和磁盘监控',
|
||
'successMonitoringEnable' => '监控已启用。',
|
||
'successMonitoringDisable' => '监控已禁用。',
|
||
'MonitStatus' => [
|
||
'monitored' => '已启用',
|
||
'notmonitored' => '已禁用',
|
||
'init' => '正在检查',
|
||
'timeout' => '因频繁关闭而禁用',
|
||
'notinstalled' => '未安装',
|
||
'nolicence' => '无许可证',
|
||
'notconfigured' => '未配置',
|
||
'undefined' => '未定义',
|
||
'action' => [
|
||
'enable' => '启用',
|
||
'disable' => '禁用',
|
||
],
|
||
],
|
||
'tabServices' => '服务',
|
||
'Services' => [
|
||
'List' => [
|
||
'columnService' => '服务',
|
||
'columnStatus' => '状态',
|
||
'columnMonitStatus' => '监控',
|
||
'reload' => '刷新',
|
||
'buttonReload' => '刷新',
|
||
'search' => '搜索',
|
||
'searchPlaceholder' => '正在搜索……',
|
||
'successMonitEnable' => '监控已启用。',
|
||
'successMonitDisable' => '监控已禁用。',
|
||
'ServiceStatus' => [
|
||
'running' => '正在运行',
|
||
'notrunning' => '已停止',
|
||
'notcheck' => '未监控',
|
||
'init' => '尚未检查',
|
||
'undefined' => '未定义',
|
||
],
|
||
],
|
||
'ServiceProperties' => [
|
||
'sectionMonitoring' => '监控设置',
|
||
'monitStatus' => '监控服务',
|
||
'saveStats' => '保存服务统计数据',
|
||
'timeout' => '如果服务频繁重新启动,则停止监控',
|
||
'timeoutNum' => '%%cycles%% 次查询 %%times%% 次',
|
||
'connectionTimeout' => '连接超时',
|
||
'seconds' => '秒',
|
||
'startCmd' => '要启动服务,请运行命令',
|
||
'stopCmd' => '要停止服务,请运行命令',
|
||
'startTime' => '服务启动时间',
|
||
'buttonSave' => '保存',
|
||
'buttonCancel' => '取消',
|
||
'success' => '监控设置已更新。',
|
||
],
|
||
],
|
||
'tabDisks' => '磁盘',
|
||
'Disks' => [
|
||
'List' => [
|
||
'columnDevice' => '设备',
|
||
'columnMountPoint' => '挂载点',
|
||
'columnStatus' => '状态',
|
||
'columnMonitStatus' => '监控',
|
||
'columnSpaceRate' => '磁盘空间使用率阈值',
|
||
'columnInodsRate' => '文件数量阈值',
|
||
'reload' => '刷新',
|
||
'buttonReload' => '刷新',
|
||
'search' => '搜索',
|
||
'searchPlaceholder' => '正在搜索……',
|
||
'DiskStatus' => [
|
||
'normal' => '确定',
|
||
'excess' => '超过阈值',
|
||
'unmounted' => '未挂载',
|
||
'notcheck' => '未监控',
|
||
'init' => '尚未检查',
|
||
'undefined' => '未定义',
|
||
],
|
||
'spaceRate' => [
|
||
'percent' => '%%spaceRate%%%',
|
||
'kilobyte' => '%%spaceRate%% KB',
|
||
'megabyte' => '%%spaceRate%% MB',
|
||
'gigabyte' => '%%spaceRate%% GB',
|
||
],
|
||
'inodsRate' => [
|
||
'percent' => '%%inodsRate%%%',
|
||
'file' => '%%inodsRate%% 文件',
|
||
],
|
||
'successMonitEnable' => '监控已启用。',
|
||
'successMonitDisable' => '监控已禁用。',
|
||
],
|
||
'DiskProperties' => [
|
||
'sectionMonitoring' => '监控设置',
|
||
'spaceRate' => '磁盘空间使用率阈值',
|
||
'spaceRateUnit' => [
|
||
'percent' => '%',
|
||
'kilobyte' => 'KB',
|
||
'megabyte' => 'MB',
|
||
'gigabyte' => 'GB',
|
||
],
|
||
'inodsRate' => '文件数量阈值',
|
||
'inodsRateUnit' => [
|
||
'percent' => '%',
|
||
'file' => '文件',
|
||
],
|
||
'command' => '要执行的命令',
|
||
'buttonSave' => '保存',
|
||
'buttonCancel' => '取消',
|
||
'success' => '监控设置已更新。',
|
||
],
|
||
],
|
||
'tabStatistics' => '统计数据',
|
||
'Statistics' => [
|
||
'description' => "按服务查看服务器 CPU 和 RAM 内存使用率。",
|
||
'buttonSettings' => '设置',
|
||
'buttonRefresh' => '刷新',
|
||
'usageDescription' => '%%from%% 至 %%to%% 期间的统计数据',
|
||
'cpuUsage' => 'CPU 使用率, %',
|
||
'memoryUsage' => 'RAM 内存使用率, MB',
|
||
'chartTooltip' => '%%name%%:%%value%%',
|
||
'Settings' => [
|
||
'title' => '统计数据显示设置',
|
||
'period' => '周期',
|
||
'dayPeriod' => '最近 24 小时',
|
||
'weekPeriod' => '周',
|
||
'monthPeriod' => '月',
|
||
'yearPeriod' => '年',
|
||
'services' => '服务',
|
||
'showTotal' => '所有统计数据',
|
||
'buttonSave' => '保存',
|
||
'buttonCancel' => '取消',
|
||
'success' => '设置已更新。',
|
||
],
|
||
],
|
||
'Settings' => [
|
||
'buttonOpen' => '设置',
|
||
'title' => '设置',
|
||
'sectionInterface' => '界面设置',
|
||
'refreshPages' => '自动刷新页面',
|
||
'sectionMonitoring' => '监控设置',
|
||
'automonit' => '监控由管理员启动的所有服务',
|
||
'pollInterval' => '查询间隔(秒)',
|
||
'storageSysstat' => '存储资源使用率统计数据',
|
||
'sysstatStorageTime' => '资源使用率统计数据的存储天数',
|
||
'sectionReports' => '报告设置',
|
||
'reportRate' => '发送报告',
|
||
'sectionEmail' => '电子邮件通知设置',
|
||
'mailTo' => '发送电子邮件至',
|
||
'mailFrom' => '发件人电子邮件地址',
|
||
'mailServers' => '用于发送通知的 SMTP 服务器',
|
||
'disabled' => '已禁用',
|
||
'daily' => '每日',
|
||
'weekly' => '每周',
|
||
'monthly' => '每月',
|
||
'buttonSave' => '保存',
|
||
'buttonCancel' => '取消',
|
||
'success' => '设置已更新。',
|
||
],
|
||
],
|
||
|
||
'totalStats' => '所有',
|
||
|
||
'__perm_denied' => '拒绝访问。',
|
||
'invalidData' => '无效数据。',
|
||
'isEmpty' => '必填字段为空。您需要输入相应的值。',
|
||
'notBetween' => "指定值不在 ‘%min%’ 和 ‘%max%’ 之间(包括 ‘%min%’ 和 ‘%max%’)",
|
||
'notInArray' => "不允许为 ‘%value%’。",
|
||
'emailAddressInvalid' => '指定的电子邮件地址无效。请指定一个匹配以下模式的有效电子邮件地址:johndoe@example.com。',
|
||
'emailAddressSpecialNames' => '指定的电子邮件地址无效。地址的用户名部分不得以用句号 (.) 隔开的预留系统名称(如 CON、LPT1、PRN)开头。',
|
||
'longAddress' => '电子邮件地址太长。',
|
||
'invalidRfcDomainName' => '指定的域名非有效 RFC 域名。',
|
||
'idnNameConversion' => '将域名从 IDN 转换为国际化域名编码失败。',
|
||
'ipInvalid' => "“%value%”不是有效的 IP 地址。",
|
||
'mailServerInvalid' => '指定的邮件服务器无效。',
|
||
'mailServerNotResolvable' => '指定的邮件服务器不可解析。',
|
||
'commandInvalid' => '指定的命令无效。',
|
||
'commandFileNotExist' => '指定的文件不存在。',
|
||
'notGreaterThan' => "指定值未大于 ‘%min%’",
|
||
'notInt' => '指定的值不是整数。',
|
||
|
||
'errReportPeriod' => "未知期限 ‘%%period%%’。",
|
||
|
||
'errDbConnection' => "连接数据库时出错:%%error%%。",
|
||
'errDbQuery' => "处理数据库查询时出错:%%error%%。",
|
||
'errServiceNotRespond' => '%%service%% 服务无响应。',
|
||
'errServiceMonitor' => '发送启动监控 %%service%% 服务的命令失败。',
|
||
'errServiceTerminate' => '终止 %%service%% 服务失败:监控服务未在允许期限内停止。',
|
||
'errMonitConnect' => '连接到 Monit 服务失败。',
|
||
'errXmlParse' => '解析包含服务状态信息的 XML 文档时出错。',
|
||
'errReadTemplate' => '读取 Monit 服务的模板文件 %%file%% 时出错。',
|
||
'errBigTemplate' => '模板文件 %%file%% 过大,Monit 服务无法处理。文件大小不应超过 10 KB。',
|
||
'errInvalidCommand' => '可执行命令 %%command%% 包含对 %%path%% 无效的符号。',
|
||
'errUnbaredTemplate' => '未加工模板 %%template%%。',
|
||
'errInvalidSymbols' => '设备 %%device%% 路径中存在无效符号。',
|
||
'errPartitionNotFound' => '未找到 %%device%% 分区。',
|
||
'errPartitionNotBlock' => '%%device%% 不是块设备。',
|
||
'errUtilityCall' => "调用实用程序 %%utility%% 时出错:%%error%%。",
|
||
|
||
'DNT' => [
|
||
'statusRunning' => 'Accessible',
|
||
'statusStopped' => 'Inaccessible',
|
||
|
||
'report' => [
|
||
'statusRunning' => 'Watchdog is running since %%time%%.',
|
||
'statusStopped' => 'Watchdog was stopped at %%time%%.',
|
||
'monitoredServices' => 'Watchdog is monitoring services:',
|
||
'monitoredServicesNone' => 'Watchdog is not monitoring services.',
|
||
'monitoredDisks' => 'Watchdog is monitoring disks:',
|
||
'monitoredDisksNone' => 'Watchdog is not monitoring disks.',
|
||
'diskStatusMount' => '[%%status%%] %%device%% (mount point %%mount_point%%)',
|
||
'diskStatusNoMount' => '[%%status%%] %%device%%',
|
||
'cpuUsage' => 'Average CPU load: %%value%%.',
|
||
'memoryUsage' => 'Average RAM usage: %%value%%.',
|
||
'events' => 'Events:',
|
||
'eventsNone' => 'No events registered for the period.',
|
||
'event' => '[%%date%%] %%data%%',
|
||
'memoryUnits' => '%%value%% %%units%%',
|
||
'subjDaily' => 'Watchdog daily report %%date%% on %%hostname%%',
|
||
'subjWeekly' => 'Watchdog weekly report %%from%% - %%to%% on %%hostname%%',
|
||
'subjMonthly' => 'Watchdog monthly report for %%date%% on %%hostname%%',
|
||
'serviceEventStopped' => 'Service %%service%% stopped.',
|
||
'serviceEventStarted' => 'Service %%service%% started.',
|
||
'serviceEventReleased' => 'Service %%service%% was released from monitoring because it failed frequently.',
|
||
'serviceEventCustom' => "Service %%service%%: event '%%event%%' occurred.",
|
||
'disk' => '%%device%% (mount point - %%mount_point%%, size - %%size%%, used disk space - %%used%%)',
|
||
'diskEventExceeded' => 'Disk space usage threshold defined for %%disk%% has been exceeded.',
|
||
'diskEventNormal' => 'Disk space usage on %%disk%% returned to the level below the specified threshold.',
|
||
'diskEventUnmounted' => 'Unmounted disk %%disk%%.',
|
||
'diskEventMounted' => 'Mounted disk %%disk%%.',
|
||
'diskEventCustom' => "Disk %%disk%%: event '%%event%%' occurred.",
|
||
],
|
||
],
|
||
];
|