chore: Update backup deletion labels to use language files

This commit is contained in:
Andras Bacsai
2024-09-27 17:29:36 +02:00
parent d75e55111a
commit 09cd087cd0
3 changed files with 4 additions and 3 deletions

View File

@@ -182,7 +182,7 @@ class BackupEdit extends Component
{ {
return view('livewire.project.database.backup-edit', [ return view('livewire.project.database.backup-edit', [
'checkboxes' => [ 'checkboxes' => [
['id' => 'delete_associated_backups_locally', 'label' => 'All backups associated with this backup job from this database will be permanently deleted from local storage.'], ['id' => 'delete_associated_backups_locally', 'label' => __('database.delete_backups_locally')],
// ['id' => 'delete_associated_backups_s3', 'label' => 'All backups associated with this backup job from this database will be permanently deleted from the selected S3 Storage.'] // ['id' => 'delete_associated_backups_s3', 'label' => 'All backups associated with this backup job from this database will be permanently deleted from the selected S3 Storage.']
// ['id' => 'delete_associated_backups_sftp', 'label' => 'All backups associated with this backup job from this database will be permanently deleted from the selected SFTP Storage.'] // ['id' => 'delete_associated_backups_sftp', 'label' => 'All backups associated with this backup job from this database will be permanently deleted from the selected SFTP Storage.']
], ],

View File

@@ -78,7 +78,7 @@ class Heading extends Component
{ {
return view('livewire.project.database.heading', [ return view('livewire.project.database.heading', [
'checkboxes' => [ 'checkboxes' => [
['id' => 'docker_cleanup', 'label' => 'Cleanup docker build cache and unused images (next deployment could take longer).'], ['id' => 'docker_cleanup', 'label' => __('resource.docker_cleanup')],
], ],
]); ]);
} }

View File

@@ -32,5 +32,6 @@
"resource.non_persistent": "All non-persistent data will be deleted.", "resource.non_persistent": "All non-persistent data will be deleted.",
"resource.delete_volumes": "Permanently delete all volumes associated with this resource.", "resource.delete_volumes": "Permanently delete all volumes associated with this resource.",
"resource.delete_connected_networks": "Permanently delete all non-predefined networks associated with this resource.", "resource.delete_connected_networks": "Permanently delete all non-predefined networks associated with this resource.",
"resource.delete_configurations": "Permanently delete all configuration files from the server." "resource.delete_configurations": "Permanently delete all configuration files from the server.",
"database.delete_backups_locally": "All backups will be permanently deleted from local storage."
} }