Skip to content

Commit 09cd087

Browse files
committed
chore: Update backup deletion labels to use language files
1 parent d75e551 commit 09cd087

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/Livewire/Project/Database/BackupEdit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function render()
182182
{
183183
return view('livewire.project.database.backup-edit', [
184184
'checkboxes' => [
185-
['id' => 'delete_associated_backups_locally', 'label' => 'All backups associated with this backup job from this database will be permanently deleted from local storage.'],
185+
['id' => 'delete_associated_backups_locally', 'label' => __('database.delete_backups_locally')],
186186
// ['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.']
187187
// ['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.']
188188
],

app/Livewire/Project/Database/Heading.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function render()
7878
{
7979
return view('livewire.project.database.heading', [
8080
'checkboxes' => [
81-
['id' => 'docker_cleanup', 'label' => 'Cleanup docker build cache and unused images (next deployment could take longer).'],
81+
['id' => 'docker_cleanup', 'label' => __('resource.docker_cleanup')],
8282
],
8383
]);
8484
}

lang/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@
3232
"resource.non_persistent": "All non-persistent data will be deleted.",
3333
"resource.delete_volumes": "Permanently delete all volumes associated with this resource.",
3434
"resource.delete_connected_networks": "Permanently delete all non-predefined networks associated with this resource.",
35-
"resource.delete_configurations": "Permanently delete all configuration files from the server."
35+
"resource.delete_configurations": "Permanently delete all configuration files from the server.",
36+
"database.delete_backups_locally": "All backups will be permanently deleted from local storage."
3637
}

0 commit comments

Comments
 (0)