Skip to content

Commit

Permalink
Adapt language files for backup selection flows
Browse files Browse the repository at this point in the history
  • Loading branch information
txxa committed Oct 4, 2024
1 parent d6e0e52 commit 3509c49
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 17 deletions.
44 changes: 31 additions & 13 deletions custom_components/duplicati/translations/de.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
{
"config": {
"abort": {
"already_configured": "Dieses Backup ist bereits konfiguriert"
"already_configured": "Dieser Backup-Server ist bereits konfiguriert"
},
"error": {
"api_response": "Ungültige Antwort vom Backup-Server",
"backup_selection": "Keine Backups ausgewählt",
"cannot_connect": "Verbindung fehlgeschlagen",
"invalid_auth": "Authentifizierung fehlgeschlagen",
"invalid_id": "Backup-ID ungültig",
"no_backups": "Keine Backups gefunden",
"unknown": "Unerwarteter Fehler"
},
"step": {
"backups": {
"data": {
"backups": "Verfügbare Backups"
},
"description": "Definiere die zu überwachenden Backups"
},
"user": {
"data": {
"id": "Backup-ID",
"password": "Passwort",
"url": "Backup-Server URL",
"username": "Benutzername",
"verify_ssl": "SSL-Zertifikat überprüfen"
}
},
"description": "Definiere die Verbindungsdetails"
}
}
},
Expand All @@ -31,40 +39,50 @@
}
},
"sensor": {
"last_backup_execution": {
"name": "Datum"
},
"last_backup_duration": {
"name": "Dauer"
},
"last_backup_error_message": {
"name": "Fehlermeldung"
},
"last_backup_source_size": {
"name": "Quellgrösse"
"last_backup_execution": {
"name": "Datum"
},
"last_backup_source_files_count": {
"name": "Quelldateien"
},
"last_backup_target_size": {
"name": "Zielgrösse"
"last_backup_source_size": {
"name": "Quellgrösse"
},
"last_backup_status": {
"name": "Status"
},
"last_backup_target_files_count": {
"name": "Zieldateien"
},
"last_backup_status": {
"name": "Status"
"last_backup_target_size": {
"name": "Zielgrösse"
}
}
},
"options": {
"error": {
"api_response": "Ungültige Antwort vom Backup-Server",
"backup_selection": "Keine Backups ausgewählt",
"cannot_connect": "Verbindung fehlgeschlagen",
"invalid_auth": "Authentifizierung fehlgeschlagen",
"no_backups": "Keine Backups gefunden",
"scan_interval": "Ungültiges oder fehlende Scan-Intervall",
"unknown": "Unerwarteter Fehler"
},
"step": {
"init": {
"data": {
"backups": "Zu überwachende Backups",
"scan_interval": "Scan-Intervall [s]"
},
"data_description": {
"scan_interval": "Hinweis: Das definierte Scan-Intervall wird für alle Backups verwendet."
}
}
}
Expand Down
26 changes: 22 additions & 4 deletions custom_components/duplicati/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
{
"config": {
"abort": {
"already_configured": "Backup is already configured"
"already_configured": "Backup server is already configured"
},
"error": {
"api_response": "Invalid response from backup server",
"backup_selection": "No backups selected",
"cannot_connect": "Failed to connect",
"invalid_auth": "Invalid authentication",
"invalid_id": "Invalid backup ID",
"no_backups": "No backups found",
"unknown": "Unexpected error"
},
"step": {
"backups": {
"data": {
"backups": "Available backups"
},
"description": "Define the backups to be monitored"
},
"user": {
"data": {
"id": "Backup ID",
"password": "Password",
"url": "Backup server URL",
"username": "Username",
"verify_ssl": "Verify SSL certificate"
}
},
"description": "Define the connection details"
}
}
},
Expand Down Expand Up @@ -59,12 +67,22 @@
},
"options": {
"error": {
"api_response": "Invalid response from backup server",
"backup_selection": "No backups selected",
"cannot_connect": "Failed to connect",
"invalid_auth": "Invalid authentication",
"no_backups": "No backups found",
"scan_interval": "Invalid or missing scan interval",
"unknown": "Unexpected error"
},
"step": {
"init": {
"data": {
"backups": "Backups to monitor",
"scan_interval": "Scan interval [s]"
},
"data_description": {
"scan_interval": "Note: The defined scan interval is used for all backups."
}
}
}
Expand Down

0 comments on commit 3509c49

Please sign in to comment.