clusev/lang/en/servers.php

183 lines
10 KiB
PHP

<?php
// Servers area: fleet index, server detail, switcher (R16). English translation.
return [
// ── Page titles ───────────────────────────────────────────────────────
'index_title' => 'Servers — Clusev',
'show_title' => 'Server details — Clusev',
// ── Detail tabs ───────────────────────────────────────────────────────
'tabs_aria' => 'Server tabs',
'tab_overview' => 'Overview',
'tab_docker' => 'Docker',
'tab_terminal' => 'Terminal',
// ── Status labels (status pills / KPIs) ───────────────────────────────
'status_online' => 'Online',
'status_warning' => 'Warning',
'status_offline' => 'Offline',
'status_pending' => 'Initializing',
'ssh_key_only_hint' => 'After disabling, access is SSH-key only — deposit a key first.',
// ── Index: header ─────────────────────────────────────────────────────
'fleet_eyebrow' => 'Fleet',
'heading' => 'Servers',
'add_server' => 'Add server',
'online_of_total' => ':online / :total online',
// ── Index: KPI grid ───────────────────────────────────────────────────
'kpi_total' => 'Total',
'kpi_online' => 'Online',
'kpi_warning' => 'Warning',
'kpi_offline' => 'Offline',
// ── Index: fleet panel ────────────────────────────────────────────────
'fleet_title' => 'Fleet',
'in_cluster' => ':count in cluster',
'search_label' => 'Search servers',
'search_placeholder' => 'Name or IP…',
'empty_title' => 'No servers found.',
'empty_hint' => 'Adjust the search term or reset the filter.',
// ── Show: back link ───────────────────────────────────────────────────
'back_to_fleet' => 'Back to fleet',
// ── Show: hero header ─────────────────────────────────────────────────
'uptime' => 'Uptime :value',
'last_seen' => 'last :value',
'system_updates' => 'System updates',
'files' => 'Files',
// ── Show: offline banner ──────────────────────────────────────────────
'offline_banner' => 'No live connection — showing the last stored values. Check access/reachability.',
// ── Show: SSH access (credential) ─────────────────────────────────────
'ssh_access_title' => 'SSH access',
'ssh_access_subtitle' => 'Stored login for live control',
'cred_locked' => 'Locked',
'cred_active' => 'Active',
'cred_auth_key' => 'SSH key',
'cred_auth_password' => 'Password',
'cred_none_title' => 'No access stored',
'cred_none_hint' => 'Without SSH access, live control is not possible.',
'cred_deposit' => 'Add credentials',
// ── Show: specifications ──────────────────────────────────────────────
'specs_title' => 'Specifications',
'specs_subtitle' => 'Hardware profile',
'history_title' => 'History',
'history_subtitle' => 'CPU · RAM · disk over time',
'history_empty' => 'No history yet — collected every minute from now on.',
'spec_arch' => 'Architecture',
'spec_kernel' => 'Kernel',
'spec_virt' => 'Virtualization',
'spec_cores' => 'Cores',
'spec_ram' => 'RAM',
'spec_disk' => 'Disk',
'spec_system' => 'System',
'spec_package_manager' => 'Package manager',
'spec_firewall' => 'Firewall',
'gb' => ':value GB',
// ── Show: vitals ──────────────────────────────────────────────────────
'vital_cpu' => 'CPU',
'vital_ram' => 'RAM',
'vital_disk' => 'Disk',
'load' => 'Load :value',
'cores_count' => ':count cores',
'ram_used_of_total' => ':used / :total GB',
'disk_used_of_total' => ':used / :total GB',
// ── Show: security / hardening ────────────────────────────────────────
'security_title' => 'Security',
'security_subtitle' => 'Hardening checklist',
'check_secure' => 'secure',
'check_open' => 'open',
'fail2ban_configure' => 'Configure fail2ban',
'ssh_key_provision_action' => 'Disable safely',
// ── Show: firewall rules ──────────────────────────────────────────────
'firewall_title' => 'Firewall rules',
'firewall_sub_active' => ' · active',
'firewall_sub_inactive' => ' · inactive',
'firewall_add_rule' => 'Rule',
'firewall_read_error' => 'Firewall status could not be read (connection/permissions). Please reload later.',
'firewalld_inactive' => 'firewalld is installed but inactive.',
'firewall_default' => 'Default',
'firewall_incoming' => 'incoming: :value',
'firewall_outgoing' => 'outgoing: :value',
'firewall_zone' => 'Zone',
'firewall_readonly' => 'firewalld: view only — please manage rules directly on the server.',
'firewall_rule_from' => 'from :value',
'firewall_remove_rule' => 'Remove rule',
'firewall_no_rules' => 'No rules defined.',
// ── Show: fail2ban status ─────────────────────────────────────────────
'fail2ban_title' => 'fail2ban status',
'fail2ban_sub_active' => 'active · :count banned',
'fail2ban_sub_installed_inactive' => 'installed · inactive',
'fail2ban_ban_ip' => 'Ban IP',
'fail2ban_read_error' => 'fail2ban status could not be read. Please reload later.',
'fail2ban_state_installed_inactive' => 'fail2ban is installed but inactive.',
'fail2ban_banned' => 'banned: :count',
'fail2ban_failed' => 'failed attempts: :count',
'fail2ban_no_banned' => 'No banned IPs.',
'fail2ban_jails_count' => ':count jails',
'fail2ban_view_bans' => 'View banned IPs',
'fail2ban_bans_title' => 'Banned IPs',
'fail2ban_bans_subtitle' => 'Active fail2ban jails and their currently banned IP addresses. Tap “Unlock” to unban an IP.',
'whitelist_label' => 'Whitelist (ignoreip)',
'whitelist_placeholder' => 'IP or CIDR',
// ── Show: volumes ─────────────────────────────────────────────────────
'volumes_title' => 'Volumes',
'mountpoints' => ':count mount points',
'no_volumes' => 'No volumes read.',
// ── Show: network interfaces ──────────────────────────────────────────
'interfaces_title' => 'Network interfaces',
'interfaces_count' => ':count interfaces',
'col_name' => 'Name',
'col_ip' => 'IP',
'col_mac' => 'MAC',
'col_rx' => 'RX',
'col_tx' => 'TX',
// ── Show: SSH keys ────────────────────────────────────────────────────
'ssh_keys_title' => 'SSH keys',
'ssh_keys_authorized' => ':count authorized',
'ssh_keys_add' => 'Add key',
'ssh_keys_remove' => 'Remove key',
'ssh_keys_none' => 'No authorized keys.',
// ── Show: loading skeletons ───────────────────────────────────────────
'loading' => 'loading…',
// ── Switcher ──────────────────────────────────────────────────────────
'switcher_no_server' => 'No server',
// ── Notifications (Show component) ────────────────────────────────────
'notify_access_locked' => 'Access locked.',
'notify_access_unlocked' => 'Access unlocked.',
'notify_access_deleted' => 'Access deleted.',
'notify_remove_failed' => 'Removal failed: :error',
'notify_key_removed' => 'Key “:name” removed.',
'notify_rule_not_found' => 'Rule no longer exists.',
'notify_firewall_rule_removed' => 'Firewall rule removed.',
'notify_unban_failed' => 'Unban failed: :error',
'notify_ip_unbanned' => 'IP :ip unbanned.',
'notify_whitelist_error' => 'Whitelist: :error',
'notify_ip_whitelisted' => ':ip added to the whitelist.',
'notify_ip_unwhitelisted' => ':ip removed from the whitelist.',
'error_unknown' => 'unknown',
'error_failed' => 'failed',
// ── Confirm modals (Show component) ───────────────────────────────────
'confirm_remove_key_heading' => 'Remove SSH key',
'confirm_remove_key_body' => 'The key “:name” will lose access to :server.',
'confirm_delete_credential_heading' => 'Delete access',
'confirm_delete_credential_body' => 'The stored SSH access for :server will be removed permanently. Live control will no longer be possible afterwards.',
'confirm_remove_rule_heading' => 'Remove firewall rule',
'confirm_remove_rule_body' => 'The rule “:label” will be removed from the firewall of :server.',
];