Extend Chinese localization coverage to Host Manager components

- Added comprehensive translations for HostManagerHostViewer component
- Localized all host management UI text including import/export features
- Translated error messages and confirmation dialogs for host operations
- Added translations for HostManagerHostEditor validation messages
- Localized connection details, organization settings, and form labels
- Fixed syntax error in FileManagerOperations component
- Achieved near-complete localization of SSH host management interface
- Updated placeholders and tooltips for better user guidance

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ZacharyZcR
2025-09-02 20:45:58 +08:00
parent 70a26359b6
commit 74c144191c
5 changed files with 100 additions and 29 deletions

View File

@@ -100,6 +100,40 @@
},
"hosts": {
"title": "Host Manager",
"sshHosts": "SSH Hosts",
"noHosts": "No SSH Hosts",
"noHostsMessage": "You haven't added any SSH hosts yet. Click \"Add Host\" to get started.",
"loadingHosts": "Loading hosts...",
"failedToLoadHosts": "Failed to load hosts",
"retry": "Retry",
"refresh": "Refresh",
"hostsCount": "{{count}} hosts",
"importJson": "Import JSON",
"importing": "Importing...",
"importJsonTitle": "Import SSH Hosts from JSON",
"importJsonDesc": "Upload a JSON file to bulk import multiple SSH hosts (max 100).",
"downloadSample": "Download Sample",
"formatGuide": "Format Guide",
"uncategorized": "Uncategorized",
"confirmDelete": "Are you sure you want to delete \"{{name}}\"?",
"failedToDeleteHost": "Failed to delete host",
"jsonMustContainHosts": "JSON must contain a \"hosts\" array or be an array of hosts",
"noHostsInJson": "No hosts found in JSON file",
"maxHostsAllowed": "Maximum 100 hosts allowed per import",
"importCompleted": "Import completed: {{success}} successful, {{failed}} failed",
"importFailed": "Import failed",
"importError": "Import error",
"failedToImportJson": "Failed to import JSON file",
"connectionDetails": "Connection Details",
"organization": "Organization",
"ipAddress": "IP Address",
"port": "Port",
"hostName": "Host Name",
"folder": "Folder",
"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",