yggdrasil-go/src/webui/static/lang/en.js

141 lines
No EOL
5.5 KiB
JavaScript

window.translations = window.translations || {};
window.translations.en = {
'title': '🌳 Yggdrasil Web Interface',
'subtitle': 'Network mesh management dashboard',
'logout': 'Logout',
'nav_status': 'Status',
'nav_peers': 'Peers',
'nav_config': 'Configuration',
'status_title': 'Node Status',
'status_active': 'Active',
'status_description': 'Information about your Yggdrasil node current status',
'node_info': 'Node Information',
'public_key': 'Public Key',
'version': 'Version',
'routing_entries': 'Routing Entries',
'loading': 'Loading...',
'network_info': 'Network Information',
'address': 'Address',
'subnet': 'Subnet',
'statistics': 'Peer Statistics',
'total_peers': 'Total Peers',
'online_peers': 'Online Peers',
'uptime': 'Uptime',
'connections': 'Active connections',
'peers_title': 'Peer Management',
'peers_description': 'View and manage peer connections',
'connected_peers': 'Connected Peers',
'active_peers': 'Active Peers',
'active_connections': 'Number of active connections',
'add_peer': 'Add Peer',
'add_peer_description': 'Connect to a new node',
'add_peer_btn': 'Add Peer',
'config_title': 'Configuration',
'config_description': 'Node settings and network parameters',
'basic_settings': 'Basic Settings',
'basic_settings_description': 'Basic node configuration',
'network_settings': 'Network Settings',
'network_settings_description': 'Network interaction parameters',
'coming_soon': 'Coming soon...',
'footer_text': '<strong>Yggdrasil Network</strong> • <span id="footer-version"></span>',
'logout_confirm': 'Are you sure you want to logout?',
'theme_light': 'Light theme',
'theme_dark': 'Dark theme',
'login_subtitle': 'Enter password to access the web interface',
'password_label': 'Password:',
'access_dashboard': 'Access Dashboard',
'error_invalid_password': 'Invalid password. Please try again.',
'error_too_many_attempts': 'Too many failed attempts. Please wait 1 minute before trying again.',
'notification_success': 'Success',
'notification_error': 'Error',
'notification_warning': 'Warning',
'notification_info': 'Information',
'dashboard_loaded': 'Dashboard loaded successfully',
'welcome': 'Welcome',
'copy_tooltip': 'Click to copy',
'copy_address_tooltip': 'Click to copy address',
'copy_key_tooltip': 'Click to copy key',
'copied_to_clipboard': 'Copied to clipboard',
'no_peers_connected': 'No peers connected',
'peer_connection': 'Connection',
'peer_performance': 'Performance',
'peer_traffic': 'Traffic',
'peer_uptime': 'Uptime',
'peer_port': 'Port',
'peer_priority': 'Priority',
'peer_latency': 'Latency',
'peer_cost': 'Cost',
'peer_quality': 'Quality',
'peer_received': '↓ Received',
'peer_sent': '↑ Sent',
'peer_total': 'Total',
'peer_remove': 'Remove',
'peer_status_online': 'Online',
'peer_status_offline': 'Offline',
'peer_direction_inbound': 'Inbound',
'peer_direction_outbound': 'Outbound',
'peer_quality_excellent': 'Excellent',
'peer_quality_good': 'Good',
'peer_quality_fair': 'Fair',
'peer_quality_poor': 'Poor',
'peer_quality_unknown': 'Unknown',
// Modal translations
'modal_close': 'Close',
'modal_cancel': 'Cancel',
'modal_ok': 'OK',
'modal_confirm': 'Confirmation',
'modal_confirm_yes': 'Yes',
'modal_confirm_message': 'Are you sure?',
'modal_alert': 'Alert',
'modal_input': 'Input',
'modal_error': 'Error',
'modal_success': 'Success',
'modal_warning': 'Warning',
'modal_info': 'Information',
// Add peer modal
'add_peer_modal_description': 'Enter peer URI to connect to a new network node',
'peer_uri_label': 'Peer URI',
'peer_uri_placeholder': 'tcp://example.com:54321',
'peer_uri_help': 'Examples: tcp://example.com:54321, tls://peer.yggdrasil.network:443',
// Configuration
'configuration_file': 'Configuration File',
'refresh': 'Refresh',
'save_config': 'Save',
'save_and_restart': 'Save and Restart',
'format': 'Format',
'validate': 'Validate',
'json_configuration': 'JSON Configuration',
'config_save_success': 'Configuration saved successfully',
'config_save_error': 'Error saving configuration',
'config_load_error': 'Error loading configuration',
'config_readonly': 'Configuration file is read-only',
'config_save_confirm_title': 'Confirm Save',
'config_save_confirm_text': 'Are you sure you want to save changes to the configuration file?',
'config_warning': '⚠️ Warning: Incorrect configuration may cause node failure!',
// Editor status translations
'editable': 'Editable',
'readonly': 'Read Only',
'empty_config': 'Empty Configuration',
'valid_json': 'Valid JSON',
'line': 'Line',
'column': 'Column',
// Configuration save messages
'config_saved_restarting': 'Configuration saved. Server is restarting...',
'config_saved_success': 'Configuration saved successfully',
// Validation messages
'json_validation_success': 'JSON configuration is valid',
'json_formatted': 'JSON formatted',
// Confirmation dialogs
'save_and_restart_title': 'Save and Restart',
'save_and_restart_message': 'Save configuration and restart server?\n\nWarning: Connection will be interrupted during restart.',
'refresh_unsaved_changes_title': 'Unsaved Changes',
'refresh_unsaved_changes_message': 'You have unsaved changes. Continue refreshing?'
};