| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <?php
- // WeCom Center - English (base language). Copy this file to <lang>.php to add a language.
- return [
- 'menu.title' => 'WeCom Center',
- 'page.title' => 'WeCom Center',
- 'tab.alert' => 'Alert',
- 'tab.opt' => 'Optimization',
- 'tab.maint' => 'Maintenance',
- // section headings
- 'sec.robot' => 'WeCom group robot',
- 'sec.strategy' => 'Alert strategy (pick one, then Apply)',
- 'sec.threshold' => 'Manual threshold (overrides the strategy)',
- 'sec.tuning' => 'Server tuning generator',
- 'sec.template' => 'Template import',
- 'sec.map' => 'Map marker',
- 'sec.triggers' => 'Per-trigger alerting switch',
- // media type
- 'lbl.mediatype' => 'Alert media type',
- 'lbl.alerting_on' => 'Alerting enabled',
- 'lbl.severity' => 'Severities that will notify',
- 'lbl.key' => 'Robot key (global macro {$WECOM_KEY})',
- 'lbl.strategy_hint' => 'Every strategy pins the "must alert" classes to the highest severity (Disaster) so they always fire, and sets a threshold for the rest. Apply is safe and repeatable.',
- 'lbl.threshold_hint' => 'The strategy sets this automatically. Change it here only for a one-off adjustment.',
- 'lbl.tuning_hint' => 'This only GENERATES the settings and command — nothing is changed. Copy them onto the Zabbix host and recreate the server container yourself.',
- // buttons
- 'btn.save' => 'Save',
- 'btn.test' => 'Send test',
- 'btn.import' => 'Import template',
- 'btn.preview' => 'Preview',
- 'btn.apply' => 'Apply',
- 'btn.generate' => 'Generate',
- 'btn.search' => 'Search',
- // severities
- 'sev.1' => 'Not classified',
- 'sev.2' => 'Information',
- 'sev.3' => 'Warning',
- 'sev.4' => 'Average',
- 'sev.5' => 'High',
- 'sev.6' => 'Disaster',
- // trigger classes
- 'cls.device_down' => 'Device down / unreachable',
- 'cls.hw_fault' => 'Hardware fault (fan/power/temperature)',
- 'cls.restarted' => 'Device restarted',
- 'cls.core_link' => 'Core/uplink link down',
- 'cls.interface_down' => 'Access interface down',
- 'cls.perf' => 'Performance (bandwidth/error/CPU)',
- 'cls.other' => 'Other (unchanged)',
- 'cls.col.class' => 'Class',
- 'cls.col.target' => 'Severity',
- 'cls.col.count' => 'Triggers',
- 'cls.col.changes' => 'Will change',
- 'cls.total' => 'Total',
- // strategy presets
- 'preset.current' => '(current)',
- 'preset.col.name' => 'Strategy',
- 'preset.col.desc' => 'Description',
- 'preset.col.action' => 'Actions',
- 'preset.steady' => 'Steady operations',
- 'preset.steady.desc' => 'Must-alert always fires; rest only High+. Balanced for daily production.',
- 'preset.core' => 'Core essentials only',
- 'preset.core.desc' => 'Only must-alert classes fire (Disaster). Everything else muted — max noise reduction.',
- 'preset.observe' => 'Full observation',
- 'preset.observe.desc' => 'Notify from Warning up. For onboarding / troubleshooting periods.',
- 'preset.night' => 'Night quiet',
- 'preset.night.desc' => 'Disaster only. For night shifts / on-call quiet hours.',
- 'preset.balanced' => 'Core strict / access loose',
- 'preset.balanced.desc'=> 'Must-alert + Average up. Slightly broader than steady.',
- // preview
- 'preview.title' => 'Preview — dry run for "{1}" (nothing written)',
- 'preview.hint' => 'These are the hosted triggers that would change. Apply to actually write them.',
- // templates
- 'tpl.choose' => 'Bundled template',
- 'tpl.none' => 'No bundled template found',
- // map
- 'map.choose_host' => '-- select host --',
- 'map.host' => 'Marker host',
- 'map.lat' => 'Latitude',
- 'map.lon' => 'Longitude',
- 'map.hint' => 'The map uses one representative point (the Zabbix server). Note: the Geomap widget needs the browser to reach the internet for base-map tiles.',
- // tuning
- 'tuning.choose' => 'Hardware profile',
- 'tuning.small' => 'Small (< 200 hosts)',
- 'tuning.medium' => 'Medium (~ 500 hosts)',
- 'tuning.large' => 'Large (1000+ hosts)',
- 'tuning.env' => 'Settings (paste into .env / compose environment):',
- 'tuning.cmd' => 'Then apply:',
- // triggers / maintenance
- 'lbl.trig_search' => 'Search triggers by description (e.g. CPU, disk)',
- 'lbl.trig_list' => 'Triggers (checked = alerting enabled)',
- 'lbl.trig_hint' => 'There are {1} triggers. Type a keyword above to search (max 200 shown).',
- // messages
- 'msg.saved' => 'Alert settings saved.',
- 'msg.robot_saved' => 'Robot key saved.',
- 'msg.tested' => 'Test message sent successfully (errcode 0).',
- 'msg.test_failed' => 'Test failed (HTTP {1}): {2}',
- 'msg.imported' => 'Template imported. Templates: {1}',
- 'msg.map_saved' => 'Map coordinates saved.',
- 'msg.no_mediatype'=> 'No webhook media type found.',
- 'msg.no_url' => 'Robot key is empty (set {$WECOM_KEY}).',
- 'msg.no_template' => 'Please choose a template.',
- 'msg.no_host' => 'Please choose a host.',
- 'msg.no_template_host' => 'Huawei walk template not found on this server.',
- 'msg.no_server_host' => 'Host "Zabbix server" not found.',
- 'msg.bad_scheme' => 'Unknown strategy.',
- 'msg.unknown_op' => 'Unknown operation.',
- 'msg.no_triggers' => 'No trigger selected.',
- 'msg.triggers_saved' => 'Trigger alerting updated: {1} trigger(s).',
- 'msg.no_trig_search' => 'No triggers matched your search.',
- 'msg.strategy_applied' => 'Strategy "{1}" applied — template triggers: {2}, prototypes: {3}, discovered triggers: {4}.',
- ];
|