From 5ccb1d44feb3512a1abb218324b42faf3f13e293 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 1 Apr 2021 16:31:47 +0200 Subject: [PATCH] Send translation keys instead of raw english string for backup checks --- src/backups.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backups.js b/src/backups.js index 1d920c561..131d8fca3 100644 --- a/src/backups.js +++ b/src/backups.js @@ -1608,9 +1608,9 @@ function checkConfiguration(callback) { let message = ''; if (backupConfig.provider === 'noop') { - message = 'Cloudron backups are disabled. Please ensure this server is backed up using alternate means. See https://docs.cloudron.io/backups/#storage-providers for more information.'; + message = 'backups.check.noop'; } else if (backupConfig.provider === 'filesystem' && !backupConfig.externalDisk) { - message = 'Cloudron backups are currently on the same disk as the Cloudron server instance. This is dangerous and can lead to complete data loss if the disk fails. See https://docs.cloudron.io/backups/#storage-providers for storing backups in an external location.'; + message = 'backups.check.sameDisk'; } callback(null, message);