Translation update
This commit is contained in:
@@ -212,73 +212,57 @@
|
|||||||
"organization": "Organization",
|
"organization": "Organization",
|
||||||
"ipAddress": "IP Address",
|
"ipAddress": "IP Address",
|
||||||
"port": "Port",
|
"port": "Port",
|
||||||
"hostName": "Host Name",
|
"name": "Name",
|
||||||
"folder": "Folder",
|
"username": "Username",
|
||||||
"tags": "Tags",
|
|
||||||
"passwordRequired": "Password is required when using password authentication",
|
|
||||||
"sshKeyRequired": "SSH Private Key is required when using key authentication",
|
|
||||||
"keyTypeRequired": "Key Type is required when using key authentication",
|
|
||||||
"addHost": "Add Host",
|
|
||||||
"editHost": "Edit Host",
|
|
||||||
"deleteHost": "Delete Host",
|
|
||||||
"hostName": "Host Name",
|
|
||||||
"ipAddress": "IP Address",
|
|
||||||
"port": "Port",
|
|
||||||
"authType": "Authentication Type",
|
|
||||||
"passwordAuth": "Password",
|
|
||||||
"keyAuth": "SSH Key",
|
|
||||||
"keyPassword": "Key Password",
|
|
||||||
"keyType": "Key Type",
|
|
||||||
"folder": "Folder",
|
"folder": "Folder",
|
||||||
"tags": "Tags",
|
"tags": "Tags",
|
||||||
"pin": "Pin",
|
"pin": "Pin",
|
||||||
|
"passwordRequired": "Password is required when using password authentication",
|
||||||
|
"sshKeyRequired": "SSH Private Key is required when using key authentication",
|
||||||
|
"keyTypeRequired": "Key Type is required when using key authentication",
|
||||||
|
"mustSelectValidSshConfig": "Must select a valid SSH configuration from the list",
|
||||||
|
"addHost": "Add Host",
|
||||||
|
"editHost": "Edit Host",
|
||||||
|
"updateHost": "Update Host",
|
||||||
|
"hostUpdatedSuccessfully": "Host \"{{name}}\" updated successfully!",
|
||||||
|
"hostAddedSuccessfully": "Host \"{{name}}\" added successfully!",
|
||||||
|
"hostDeletedSuccessfully": "Host \"{{name}}\" deleted successfully!",
|
||||||
|
"failedToSaveHost": "Failed to save host. Please try again.",
|
||||||
"enableTerminal": "Enable Terminal",
|
"enableTerminal": "Enable Terminal",
|
||||||
|
"enableTerminalDesc": "Enable/disable host visibility in Terminal tab",
|
||||||
"enableTunnel": "Enable Tunnel",
|
"enableTunnel": "Enable Tunnel",
|
||||||
|
"enableTunnelDesc": "Enable/disable host visibility in Tunnel tab",
|
||||||
"enableFileManager": "Enable File Manager",
|
"enableFileManager": "Enable File Manager",
|
||||||
|
"enableFileManagerDesc": "Enable/disable host visibility in File Manager tab",
|
||||||
"defaultPath": "Default Path",
|
"defaultPath": "Default Path",
|
||||||
"testConnection": "Test Connection",
|
"defaultPathDesc": "Default directory when opening file manager for this host",
|
||||||
"connect": "Connect",
|
"tunnelConnections": "Tunnel Connections",
|
||||||
"disconnect": "Disconnect",
|
|
||||||
"connected": "Connected",
|
|
||||||
"disconnected": "Disconnected",
|
|
||||||
"connecting": "Connecting...",
|
|
||||||
"connectionFailed": "Connection Failed",
|
|
||||||
"connectionSuccess": "Connection Successful",
|
|
||||||
"connectionDetails": "Connection Details",
|
|
||||||
"organization": "Organization",
|
|
||||||
"addTags": "Add tags (space to add)",
|
|
||||||
"sourcePort": "Source Port",
|
|
||||||
"endpointPort": "Endpoint Port",
|
|
||||||
"retryInterval": "Retry Interval (seconds)",
|
|
||||||
"connection": "Connection",
|
"connection": "Connection",
|
||||||
"remove": "Remove",
|
"remove": "Remove",
|
||||||
"addConnection": "Add Connection",
|
"sourcePort": "Source Port",
|
||||||
"sshpassRequired": "Sshpass Required For Password Authentication",
|
"sourcePortDesc": " (Source refers to the Current Connection Details in the General tab)",
|
||||||
"sshpassInstallCommand": "Install Command: sudo apt install sshpass",
|
"endpointPort": "Endpoint Port",
|
||||||
"sshServerConfig": "SSH Server Configuration Required",
|
"endpointSshConfig": "Endpoint SSH Configuration",
|
||||||
"sshServerConfigInstructions": "Run the following commands to allow password authentication:",
|
|
||||||
"sshConfigCommand1": "sudo sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config",
|
|
||||||
"sshConfigCommand2": "sudo systemctl restart sshd",
|
|
||||||
"localPortForwarding": "Local Port Forwarding",
|
|
||||||
"localPortForwardingDesc": "Forward a local port to a remote server through the SSH connection",
|
|
||||||
"remotePortForwarding": "Remote Port Forwarding",
|
|
||||||
"remotePortForwardingDesc": "Forward a remote port to a local server through the SSH connection",
|
|
||||||
"dynamicPortForwarding": "Dynamic Port Forwarding (SOCKS Proxy)",
|
|
||||||
"dynamicPortForwardingDesc": "Create a SOCKS proxy on the local machine to route traffic through the SSH connection",
|
|
||||||
"bindAddress": "Bind Address",
|
|
||||||
"hostViewer": "Host Viewer",
|
|
||||||
"configuration": "Configuration",
|
|
||||||
"maxRetries": "Max Retries",
|
|
||||||
"tunnelConnections": "Tunnel Connections",
|
|
||||||
"enableTerminalDesc": "Enable/disable host visibility in Terminal tab",
|
|
||||||
"enableTunnelDesc": "Enable/disable host visibility in Tunnel tab",
|
|
||||||
"enableFileManagerDesc": "Enable/disable host visibility in File Manager tab",
|
|
||||||
"autoStartDesc": "Automatically start this tunnel when the container launches",
|
|
||||||
"defaultPathDesc": "Default directory when opening file manager for this host",
|
|
||||||
"tunnelForwardDescription": "This tunnel will forward traffic from port {{sourcePort}} on the source machine (current connection details in general tab) to port {{endpointPort}} on the endpoint machine.",
|
"tunnelForwardDescription": "This tunnel will forward traffic from port {{sourcePort}} on the source machine (current connection details in general tab) to port {{endpointPort}} on the endpoint machine.",
|
||||||
"endpointSshConfiguration": "Endpoint SSH Configuration",
|
"maxRetries": "Max Retries",
|
||||||
"sourcePortDescription": "(Source refers to the Current Connection Details in the General tab)",
|
"maxRetriesDescription": "Maximum number of retry attempts for tunnel connection.",
|
||||||
|
"retryInterval": "Retry Interval (seconds)",
|
||||||
|
"retryIntervalDescription": "Time to wait between retry attempts.",
|
||||||
"autoStartContainer": "Auto Start on Container Launch",
|
"autoStartContainer": "Auto Start on Container Launch",
|
||||||
|
"autoStartDesc": "Automatically start this tunnel when the container launches",
|
||||||
|
"addConnection": "Add Tunnel Connection",
|
||||||
|
"sshpassRequired": "Sshpass Required For Password Authentication",
|
||||||
|
"sshpassRequiredDesc": "For password authentication in tunnels, sshpass must be installed on the system.",
|
||||||
|
"otherInstallMethods": "Other installation methods:",
|
||||||
|
"centosRhelFedora": "CentOS/RHEL/Fedora",
|
||||||
|
"macos": "macOS",
|
||||||
|
"windows": "Windows",
|
||||||
|
"sshServerConfigRequired": "SSH Server Configuration Required",
|
||||||
|
"sshServerConfigDesc": "For tunnel connections, the SSH server must be configured to allow port forwarding:",
|
||||||
|
"gatewayPortsYes": "to bind remote ports to all interfaces",
|
||||||
|
"allowTcpForwardingYes": "to enable port forwarding",
|
||||||
|
"permitRootLoginYes": "if using root user for tunneling",
|
||||||
|
"editSshConfig": "Edit /etc/ssh/sshd_config and restart SSH: sudo systemctl restart sshd",
|
||||||
"upload": "Upload",
|
"upload": "Upload",
|
||||||
"authentication": "Authentication",
|
"authentication": "Authentication",
|
||||||
"password": "Password",
|
"password": "Password",
|
||||||
@@ -286,24 +270,6 @@
|
|||||||
"sshPrivateKey": "SSH Private Key",
|
"sshPrivateKey": "SSH Private Key",
|
||||||
"keyPassword": "Key Password",
|
"keyPassword": "Key Password",
|
||||||
"keyType": "Key Type",
|
"keyType": "Key Type",
|
||||||
"maxRetriesDescription": "Maximum number of retry attempts for tunnel connection.",
|
|
||||||
"retryIntervalDescription": "Time to wait between retry attempts.",
|
|
||||||
"otherInstallMethods": "Other installation methods:",
|
|
||||||
"sshpassOSInstructions": {
|
|
||||||
"centos": "CentOS/RHEL/Fedora: sudo yum install sshpass or sudo dnf install sshpass",
|
|
||||||
"macos": "macOS: brew install hudochenkov/sshpass/sshpass",
|
|
||||||
"windows": "Windows: Use WSL or consider SSH key authentication"
|
|
||||||
},
|
|
||||||
"sshServerConfigReverse": "For reverse SSH tunnels, the endpoint SSH server must allow:",
|
|
||||||
"gatewayPorts": "GatewayPorts yes (bind remote ports)",
|
|
||||||
"allowTcpForwarding": "AllowTcpForwarding yes (port forwarding)",
|
|
||||||
"permitRootLogin": "PermitRootLogin yes (if using root)",
|
|
||||||
"editSshConfig": "Edit /etc/ssh/sshd_config and restart SSH: sudo systemctl restart sshd",
|
|
||||||
"updateHost": "Update Host",
|
|
||||||
"hostUpdatedSuccessfully": "Host \"{{name}}\" updated successfully!",
|
|
||||||
"hostAddedSuccessfully": "Host \"{{name}}\" added successfully!",
|
|
||||||
"hostDeletedSuccessfully": "Host \"{{name}}\" deleted successfully!",
|
|
||||||
"failedToSaveHost": "Failed to save host. Please try again.",
|
|
||||||
"autoDetect": "Auto-detect",
|
"autoDetect": "Auto-detect",
|
||||||
"rsa": "RSA",
|
"rsa": "RSA",
|
||||||
"ed25519": "ED25519",
|
"ed25519": "ED25519",
|
||||||
@@ -321,7 +287,8 @@
|
|||||||
"general": "General",
|
"general": "General",
|
||||||
"terminal": "Terminal",
|
"terminal": "Terminal",
|
||||||
"tunnel": "Tunnel",
|
"tunnel": "Tunnel",
|
||||||
"fileManager": "File Manager"
|
"fileManager": "File Manager",
|
||||||
|
"hostViewer": "Host Viewer"
|
||||||
},
|
},
|
||||||
"terminal": {
|
"terminal": {
|
||||||
"title": "Terminal",
|
"title": "Terminal",
|
||||||
|
|||||||
@@ -212,12 +212,14 @@
|
|||||||
"organization": "组织",
|
"organization": "组织",
|
||||||
"ipAddress": "IP 地址",
|
"ipAddress": "IP 地址",
|
||||||
"port": "端口",
|
"port": "端口",
|
||||||
"hostName": "主机名",
|
"name": "名称",
|
||||||
|
"username": "用户名",
|
||||||
"folder": "文件夹",
|
"folder": "文件夹",
|
||||||
"tags": "标签",
|
"tags": "标签",
|
||||||
"passwordRequired": "使用密码认证时需要密码",
|
"passwordRequired": "使用密码认证时需要密码",
|
||||||
"sshKeyRequired": "使用密钥认证时需要 SSH 私钥",
|
"sshKeyRequired": "使用密钥认证时需要 SSH 私钥",
|
||||||
"keyTypeRequired": "使用密钥认证时需要密钥类型",
|
"keyTypeRequired": "使用密钥认证时需要密钥类型",
|
||||||
|
"mustSelectValidSshConfig": "必须从列表中选择有效的 SSH 配置",
|
||||||
"addHost": "添加主机",
|
"addHost": "添加主机",
|
||||||
"editHost": "编辑主机",
|
"editHost": "编辑主机",
|
||||||
"deleteHost": "删除主机",
|
"deleteHost": "删除主机",
|
||||||
@@ -248,7 +250,9 @@
|
|||||||
"organization": "组织管理",
|
"organization": "组织管理",
|
||||||
"addTags": "添加标签(空格添加)",
|
"addTags": "添加标签(空格添加)",
|
||||||
"sourcePort": "源端口",
|
"sourcePort": "源端口",
|
||||||
|
"sourcePortDesc": "(源指通用标签页中的当前连接详情)",
|
||||||
"endpointPort": "目标端口",
|
"endpointPort": "目标端口",
|
||||||
|
"endpointSshConfig": "目标 SSH 配置",
|
||||||
"retryInterval": "重试间隔(秒)",
|
"retryInterval": "重试间隔(秒)",
|
||||||
"connection": "连接",
|
"connection": "连接",
|
||||||
"remove": "移除",
|
"remove": "移除",
|
||||||
|
|||||||
@@ -25,13 +25,13 @@ export function LanguageSwitcher() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2 relative" style={{ zIndex: 99999 }}>
|
||||||
<Globe className="h-4 w-4 text-muted-foreground" />
|
<Globe className="h-4 w-4 text-muted-foreground" />
|
||||||
<Select value={i18n.language} onValueChange={handleLanguageChange}>
|
<Select value={i18n.language} onValueChange={handleLanguageChange}>
|
||||||
<SelectTrigger className="w-[120px]">
|
<SelectTrigger className="w-[120px]">
|
||||||
<SelectValue placeholder={t('placeholders.language')} />
|
<SelectValue placeholder={t('placeholders.language')} />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
<SelectContent>
|
<SelectContent style={{ zIndex: 99999 }}>
|
||||||
{languages.map((lang) => (
|
{languages.map((lang) => (
|
||||||
<SelectItem key={lang.code} value={lang.code}>
|
<SelectItem key={lang.code} value={lang.code}>
|
||||||
{lang.nativeName}
|
{lang.nativeName}
|
||||||
|
|||||||
Reference in New Issue
Block a user