Send translation keys instead of raw english string for backup checks
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user