feat(nat): custom panel port/listen/public_url via env, API, settings UI, install.sh

This commit is contained in:
風雪 committed 2026-08-29 12:33:32 +08:00
1 parent f52207df5d
commit 4ffca2ef4b
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ export default {
traffic: { title: 'Traffic', upload: 'Upload', download: 'Download', uploadRate: 'Upload rate', downloadRate: 'Download rate', connections: 'Connections', onlineUsers: 'Online users', byUser: 'Per-user traffic', listener: 'Listener', network: 'Network', rule: 'Rule' },
cluster: { title: 'Cluster nodes', subtitle: 'Register remote 3m-ui panels and health-check them (full remote control comes later)', create: 'Add node', edit: 'Edit node', name: 'Name', baseUrl: 'Panel URL', apiToken: 'API Token', apiTokenHint: 'Optional; used to authenticate against the remote panel', remark: 'Remark', health: 'Health check', healthDone: 'Checked', healthAll: 'Check all', healthAllDone: 'Health check finished', dashboard: 'Remote dashboard', users: 'Remote users', restartCore: 'Restart core', restarted: 'Remote core restarted', startCore: 'Start core', stopCore: 'Stop core', created: 'Created', updated: 'Updated', deleted: 'Deleted' , nodesLoaded: 'Nodes loaded', remoteCreate: 'Remote create', remoteCreated: 'Remote listener created', remoteDeleted: 'Remote listener deleted', remoteNodes: 'Remote nodes'},
routing: { title: 'Routing & groups', subtitle: 'Manage Mihomo proxy-groups and rules', groups: 'Proxy groups', rules: 'Rules', addGroup: 'Add group', proxies: 'Proxies', proxiesHint: 'Comma-separated proxy / group names', rulesHint: 'One Mihomo rule per line', rulesSaved: 'Rules saved', groupSaved: 'Group saved', groupDeleted: 'Group deleted' },
settings: { title: 'Settings', subtitle: 'Preferences & Account', language: 'Language', theme: 'Theme', light: 'Light', dark: 'Dark', system: 'System', passwordTitle: 'Account Security', passwordDescription: 'Change your password regularly', changePassword: 'Change Password', about: 'About 3M-UI', version: 'Version', backup: 'Backup & restore', backupHint: 'Download a zip with SQLite and Mihomo config. Restart the panel after restoring the database.', downloadBackup: 'Download backup', restoreDb: 'Restore database', backupDone: 'Backup downloaded', restoreDone: 'Database restored — restart the panel', apiDocs: 'API documentation', apiDocsHint: 'OpenAPI 3 specification for automation.', openOpenAPI: 'Open openapi.yaml',
settings: { panelServer: 'Panel / NAT', panelPort: 'Panel port', panelPortHint: 'Map this port on your NAT gateway. Restart 3m-ui after changing.', panelListen: 'Listen address', panelListenHint: 'Empty = all interfaces (IPv4/IPv6). Use 127.0.0.1 behind a reverse proxy.', panelPublicURL: 'Public panel URL', panelPublicURLHint: 'Used in subscription links behind NAT, e.g. https://panel.example.com:8443', title: 'Settings', subtitle: 'Preferences & Account', language: 'Language', theme: 'Theme', light: 'Light', dark: 'Dark', system: 'System', passwordTitle: 'Account Security', passwordDescription: 'Change your password regularly', changePassword: 'Change Password', about: 'About 3M-UI', version: 'Version', backup: 'Backup & restore', backupHint: 'Download a zip with SQLite and Mihomo config. Restart the panel after restoring the database.', downloadBackup: 'Download backup', restoreDb: 'Restore database', backupDone: 'Backup downloaded', restoreDone: 'Database restored — restart the panel', apiDocs: 'API documentation', apiDocsHint: 'OpenAPI 3 specification for automation.', openOpenAPI: 'Open openapi.yaml',
alpnHint: 'Comma-separated, e.g. h2,http/1.1',
accessProfile: 'Access Profile',
accessProfileHint: 'Public host / SNI / fingerprint for share links and client YAML',