mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-25 08:25:07 +03:00
Enhance WebUI with multilingual support
This commit is contained in:
parent
a984fba30d
commit
008ac3d864
4 changed files with 362 additions and 45 deletions
33
src/webui/static/lang/en.js
Normal file
33
src/webui/static/lang/en.js
Normal file
|
@ -0,0 +1,33 @@
|
|||
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': 'WebUI is running and accessible',
|
||||
'network_info': 'Network Information',
|
||||
'address': 'Address',
|
||||
'subnet': 'Subnet',
|
||||
'statistics': 'Statistics',
|
||||
'uptime': 'Uptime',
|
||||
'connections': 'Active connections',
|
||||
'peers_title': 'Peer Management',
|
||||
'peers_description': 'View and manage peer connections',
|
||||
'active_peers': 'Active Peers',
|
||||
'active_connections': 'Number of active connections',
|
||||
'add_peer': 'Add Peer',
|
||||
'add_peer_description': 'Connect to a new node',
|
||||
'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': 'Yggdrasil Network • Minimal WebUI v1.0',
|
||||
'logout_confirm': 'Are you sure you want to logout?'
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue