feat: discover local ssh server (#921)

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-09-19 23:29:01 +08:00
committed by GitHub
parent 17db393c12
commit f68c4a851b
48 changed files with 3728 additions and 1928 deletions

View File

@@ -1,16 +1,32 @@
{
"@@locale": "en",
"@clearServerStatsContent": {
"placeholders": {
"serverName": {
"type": "String"
}
}
},
"@clearServerStatsTitle": {
"placeholders": {
"serverName": {
"type": "String"
}
}
},
"aboutThanks": "Thanks to the following people who participated in.",
"acceptBeta": "Accept beta version updates",
"addSystemPrivateKeyTip": "Currently private keys don't exist, do you want to add the one that comes with the system (~/.ssh/id_rsa)?",
"added2List": "Added to task list",
"addr": "Address",
"alreadyLastDir": "Already in last directory.",
"atLeastOneTab": "At least one tab must be selected",
"authFailTip": "Authentication failed, please check whether credentials are correct",
"autoBackupConflict": "Only one automatic backup can be turned on at the same time.",
"autoConnect": "Auto connect",
"autoRun": "Auto run",
"autoUpdateHomeWidget": "Automatic home widget update",
"availableTabs": "Available Tabs",
"backupEncrypted": "Backup is encrypted",
"backupNotEncrypted": "Backup is not encrypted",
"backupPassword": "Backup password",
@@ -23,10 +39,18 @@
"battery": "Battery",
"bgRun": "Run in background",
"bgRunTip": "This switch only means the program will try to run in the background. Whether it can run in the background depends on whether the permission is enabled or not. For AOSP-based Android ROMs, please disable \"Battery Optimization\" in this app. For MIUI / HyperOS, please change the power saving policy to \"Unlimited\".",
"clearAllStatsContent": "Are you sure you want to clear all server connection statistics? This action cannot be undone.",
"clearAllStatsTitle": "Clear All Statistics",
"clearServerStatsContent": "Are you sure you want to clear connection statistics for server \"{serverName}\"? This action cannot be undone.",
"clearServerStatsTitle": "Clear {serverName} Statistics",
"clearThisServerStats": "Clear This Server Statistics",
"closeAfterSave": "Save and close",
"cmd": "Command",
"collapseUITip": "Whether to collapse long lists present in the UI by default",
"conn": "Connection",
"connectionDetails": "Connection Details",
"connectionStats": "Connection Statistics",
"connectionStatsDesc": "View server connection success rate and history",
"container": "Container",
"containerTrySudoTip": "For example: In the app, the user is set to aaa, but Docker is installed under the root user. In this case, you need to enable this option.",
"convert": "Convert",
@@ -42,6 +66,10 @@
"desktopTerminalTip": "Command used to open the terminal emulator when launching SSH sessions.",
"dirEmpty": "Make sure the folder is empty.",
"disconnected": "Disconnected",
"discoverSshServers": "Discover SSH Servers",
"discoveryFailed": "Discovery failed",
"discoverySettings": "Discovery Settings",
"discoverySummary": "Discovery Summary",
"disk": "Disk",
"diskHealth": "Disk Health",
"diskIgnorePath": "Ignore path for disk",
@@ -55,9 +83,10 @@
"doubleColumnMode": "Double column mode",
"doubleColumnTip": "This option only enables the feature, whether it can actually be enabled depends on the width of the device",
"editVirtKeys": "Edit virtual keys",
"editor": "Editor",
"editorHighlightTip": "The current code highlighting performance is not ideal and can be optionally turned off to improve.",
"emulator": "Emulator",
"enableMdns": "Enable mDNS",
"enableMdnsDesc": "Use mDNS/Bonjour to discover SSH services",
"encode": "Encode",
"envVars": "Environment variable",
"experimentalFeature": "Experimental feature",
@@ -67,8 +96,8 @@
"fgService": "Foreground Service",
"fgServiceTip": "After enabling, some device models may crash. Disabling it may cause some models to be unable to maintain SSH connections in the background. Please allow ServerBox notification permissions, background running, and self-wake-up in system settings.",
"fileTooLarge": "File '{file}' too large {size}, max {sizeMax}",
"finishedAt": "Finished at",
"followSystem": "Follow system",
"font": "Font",
"fontSize": "Font size",
"force": "Force",
"fullScreen": "Full screen mode",
@@ -79,13 +108,14 @@
"goto": "Go to",
"hideTitleBar": "Hide title bar",
"highlight": "Code highlighting",
"homeTabs": "Home Tabs",
"homeTabsCustomizeDesc": "Customize which tabs appear on the home page and their order",
"homeWidgetUrlConfig": "Config home widget url",
"host": "Host",
"httpFailedWithCode": "request failed, status code: {code}",
"ignoreCert": "Ignore certificate",
"image": "Image",
"imagesList": "Images list",
"init": "Initialize",
"inner": "Inner",
"install": "install",
"installDockerWithUrl": "Please https://docs.docker.com/engine/install docker first.",
@@ -95,14 +125,15 @@
"keepStatusWhenErr": "Preserve the last server state",
"keepStatusWhenErrTip": "Only in the event of an error during script execution",
"keyAuth": "Key Auth",
"lastFailure": "Last Failure",
"lastSuccess": "Last Success",
"letterCache": "Letter caching",
"letterCacheTip": "Recommended to disable, but after disabling, it will be impossible to input CJK characters.",
"license": "License",
"location": "Location",
"loss": "loss",
"madeWithLove": "Made with ❤️ by {myGithub}",
"manual": "Manual",
"max": "max",
"maxConcurrency": "Max Concurrency",
"maxRetryCount": "Number of server reconnections",
"maxRetryCountEqual0": "Will retry again and again.",
"min": "min",
@@ -115,6 +146,7 @@
"net": "Network",
"netViewType": "Network view type",
"newContainer": "New container",
"noConnectionStatsData": "No connection statistics data",
"noLineChart": "Do not use line charts",
"noLineChartForCpu": "Do not use line charts for CPU",
"noPrivateKeyTip": "The private key does not exist, it may have been deleted or there is a configuration error.",
@@ -136,7 +168,6 @@
"plugInType": "Insertion Type",
"port": "Port",
"preferDiskAmount": "Prioritize displaying disk capacity",
"preview": "Preview",
"privateKey": "Private Key",
"process": "Process",
"prune": "Prune",
@@ -146,6 +177,7 @@
"pveVersionLow": "This feature is currently in the testing phase and has only been tested on PVE 8+. Please use it with caution.",
"read": "Read",
"reboot": "Reboot",
"recentConnections": "Recent Connections",
"rememberPwdInMem": "Remember password in memory",
"rememberPwdInMemTip": "Used for containers, suspending, etc.",
"rememberWindowSize": "Remember window size",
@@ -166,6 +198,8 @@
"serverDetailOrder": "Detail page widget order",
"serverFuncBtns": "Server function buttons",
"serverOrder": "Server order",
"serverTabRequired": "Server tab cannot be removed",
"servers": "servers",
"sftpDlPrepare": "Preparing to connect...",
"sftpEditorTip": "If empty, use the built-in file editor of the app. If a value is present, use the remote servers editor, e.g., `vim` (recommended to automatically detect according to `EDITOR`).",
"sftpRmrDirSummary": "Use `rm -r` to delete a folder in SFTP.",
@@ -206,10 +240,10 @@
"suspend": "Suspend",
"suspendTip": "The suspend function requires root permission and systemd support.",
"switchTo": "Switch to {val}",
"sync": "Sync",
"syncTip": "A restart may be required for some changes to take effect.",
"system": "System",
"tag": "Tags",
"tapToStartDiscovery": "Tap the search button to discover SSH servers on your network",
"temperature": "Temperature",
"termFontSizeTip": "This setting will affect the terminal size (width and height). You can zoom in on the terminal page to adjust the font size of the current session.",
"terminal": "Terminal",
@@ -220,6 +254,7 @@
"time": "Time",
"times": "Times",
"total": "Total",
"totalAttempts": "Total",
"traffic": "Traffic",
"trySudo": "Try using sudo",
"ttl": "TTL",
@@ -228,7 +263,6 @@
"update": "Update",
"updateIntervalEqual0": "You set to 0, will not update automatically.\nCan't calculate CPU status.",
"updateServerStatusInterval": "Server status update interval",
"upload": "Upload",
"upsideDown": "Upside Down",
"uptime": "Uptime",
"useCdn": "Using CDN",
@@ -237,6 +271,7 @@
"usePodmanByDefault": "Use Podman by default",
"used": "Used",
"view": "View",
"viewDetails": "View Details",
"viewErr": "See error",
"virtKeyHelpClipboard": "Copy to the clipboard if the selected terminal is not empty, otherwise paste the content of the clipboard to the terminal.",
"virtKeyHelpIME": "Turn on/off the keyboard",
@@ -249,39 +284,5 @@
"wolTip": "After configuring WOL (Wake-on-LAN), a WOL request is sent each time the server is connected.",
"write": "Write",
"writeScriptFailTip": "Writing to the script failed, possibly due to lack of permissions or the directory does not exist.",
"writeScriptTip": "After connecting to the server, a script will be written to `~/.config/server_box` \n | `/tmp/server_box` to monitor the system status. You can review the script content.",
"connectionStats": "Connection Statistics",
"connectionStatsDesc": "View server connection success rate and history",
"noConnectionStatsData": "No connection statistics data",
"totalAttempts": "Total",
"lastSuccess": "Last Success",
"lastFailure": "Last Failure",
"recentConnections": "Recent Connections",
"viewDetails": "View Details",
"connectionDetails": "Connection Details",
"clearThisServerStats": "Clear This Server Statistics",
"clearAllStatsTitle": "Clear All Statistics",
"clearAllStatsContent": "Are you sure you want to clear all server connection statistics? This action cannot be undone.",
"clearServerStatsTitle": "Clear {serverName} Statistics",
"@clearServerStatsTitle": {
"placeholders": {
"serverName": {
"type": "String"
}
}
},
"clearServerStatsContent": "Are you sure you want to clear connection statistics for server \"{serverName}\"? This action cannot be undone.",
"@clearServerStatsContent": {
"placeholders": {
"serverName": {
"type": "String"
}
}
},
"homeTabs": "Home Tabs",
"homeTabsCustomizeDesc": "Customize which tabs appear on the home page and their order",
"reset": "Reset",
"availableTabs": "Available Tabs",
"atLeastOneTab": "At least one tab must be selected",
"serverTabRequired": "Server tab cannot be removed"
"writeScriptTip": "After connecting to the server, a script will be written to `~/.config/server_box` \n | `/tmp/server_box` to monitor the system status. You can review the script content."
}