为Cli Proxy API主程序兼容做准备
This commit is contained in:
Supra4E8C
2025-10-01 16:06:12 +08:00
committed by GitHub
parent 04f21eea98
commit 80b2597611
7 changed files with 416 additions and 2528 deletions

46
i18n.js
View File

@@ -47,19 +47,13 @@ const i18n = {
// 登录页面
'login.subtitle': '请输入连接信息以访问管理界面',
'login.tab_local_title': 'Local',
'login.tab_local_subtitle': '在本地运行 Cli Web 服务器',
'login.tab_remote_title': 'Remote',
'login.tab_remote_subtitle': '远程连接到 Cli Web 服务器',
'login.proxy_label': '代理服务器 (可选):',
'login.proxy_placeholder': 'http://ip:port 或 https://ip:port 或 socks5://user:pass@ip:port',
'login.local_port_label': '端口号:',
'login.local_port_placeholder': '8317',
'login.local_url_hint': '将连接到 http://localhost:端口/v0/management',
'login.api_url_label': 'API 基础地址:',
'login.api_url_placeholder': '例如: http://localhost:8317 或 127.0.0.1:8317',
'login.remote_api_url_placeholder': '例如: https://example.com:8317',
'login.api_url_hint': '将自动补全 /v0/management',
'login.connection_title': '连接地址',
'login.connection_current': '当前地址',
'login.connection_auto_hint': '系统将自动使用当前访问地址进行连接',
'login.custom_connection_label': '自定义连接地址:',
'login.custom_connection_placeholder': '例如: https://example.com:8317',
'login.custom_connection_hint': '默认使用当前访问地址,若需要可手动输入其他地址。',
'login.use_current_address': '使用当前地址',
'login.management_key_label': '管理密钥:',
'login.management_key_placeholder': '请输入管理密钥',
'login.connect_button': '连接',
@@ -211,6 +205,8 @@ const i18n = {
'auth_login.secure_1psid_placeholder': '输入 __Secure-1PSID cookie 值',
'auth_login.secure_1psidts_label': '__Secure-1PSIDTS Cookie:',
'auth_login.secure_1psidts_placeholder': '输入 __Secure-1PSIDTS cookie 值',
'auth_login.gemini_web_label_label': '标签 (可选):',
'auth_login.gemini_web_label_placeholder': '输入标签名称 (可选)',
'auth_login.gemini_web_saved': 'Gemini Web Token 保存成功',
// 使用统计
@@ -342,21 +338,15 @@ const i18n = {
// Login page
'login.subtitle': 'Please enter connection information to access the management interface',
'login.tab_local_title': 'Local',
'login.tab_local_subtitle': 'Run Cli Web server on your local machine',
'login.tab_remote_title': 'Remote',
'login.tab_remote_subtitle': 'Remote connection for a remote Cli Web server',
'login.proxy_label': 'Proxy Server (Optional):',
'login.proxy_placeholder': 'http://ip:port or https://ip:port or socks5://user:pass@ip:port',
'login.local_port_label': 'Port:',
'login.local_port_placeholder': '8317',
'login.local_url_hint': 'Will connect to http://localhost:port/v0/management',
'login.api_url_label': 'API Base URL:',
'login.api_url_placeholder': 'e.g.: http://localhost:8317 or 127.0.0.1:8317',
'login.remote_api_url_placeholder': 'e.g.: https://example.com:8317',
'login.api_url_hint': 'Will automatically append /v0/management',
'login.connection_title': 'Connection Address',
'login.connection_current': 'Current URL',
'login.connection_auto_hint': 'The system will automatically use the current URL for connection',
'login.custom_connection_label': 'Custom Connection URL:',
'login.custom_connection_placeholder': 'Eg: https://example.com:8317',
'login.custom_connection_hint': 'By default the current URL is used. Override it here if needed.',
'login.use_current_address': 'Use Current URL',
'login.management_key_label': 'Management Key:',
'login.management_key_placeholder': 'Please enter management key',
'login.management_key_placeholder': 'Enter the management key',
'login.connect_button': 'Connect',
'login.submit_button': 'Login',
'login.submitting': 'Connecting...',
@@ -506,6 +496,8 @@ const i18n = {
'auth_login.secure_1psid_placeholder': 'Enter __Secure-1PSID cookie value',
'auth_login.secure_1psidts_label': '__Secure-1PSIDTS Cookie:',
'auth_login.secure_1psidts_placeholder': 'Enter __Secure-1PSIDTS cookie value',
'auth_login.gemini_web_label_label': 'Label (Optional):',
'auth_login.gemini_web_label_placeholder': 'Enter label name (optional)',
'auth_login.gemini_web_saved': 'Gemini Web Token saved successfully',
// Usage Statistics