Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

chore: Update backup deletion labels to use language files

Andras Bacsai09cd087cd0f9
diff --git a/app/Livewire/Project/Database/BackupEdit.php b/app/Livewire/Project/Database/BackupEdit.php
index ec87beead4..98b2b42632 100644
--- a/app/Livewire/Project/Database/BackupEdit.php
+++ b/app/Livewire/Project/Database/BackupEdit.php
@@ -182,7 +182,7 @@ class BackupEdit extends Component
{
return view('livewire.project.database.backup-edit', [
'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_sftp', 'label' => 'All backups associated with this backup job from this database will be permanently deleted from the selected SFTP Storage.']
],
diff --git a/app/Livewire/Project/Database/Heading.php b/app/Livewire/Project/Database/Heading.php
index 765213f609..49884ff9af 100644
--- a/app/Livewire/Project/Database/Heading.php
+++ b/app/Livewire/Project/Database/Heading.php
@@ -78,7 +78,7 @@ class Heading extends Component
{
return view('livewire.project.database.heading', [
'checkboxes' => [
- ['id' => 'docker_cleanup', 'label' => 'Cleanup docker build cache and unused images (next deployment could take longer).'],
+ ['id' => 'docker_cleanup', 'label' => __('resource.docker_cleanup')],
],
]);
}
diff --git a/lang/en.json b/lang/en.json
index 45fd727433..fa69c7035a 100644
--- a/lang/en.json
+++ b/lang/en.json
@@ -32,5 +32,6 @@
"resource.non_persistent": "All non-persistent data will be deleted.",
"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_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."
}