Fix formatting for plural

This commit is contained in:
Girish Ramakrishnan
2025-11-12 09:00:16 +01:00
parent a034b70449
commit bfe9ee457d
+1 -1
View File
@@ -328,7 +328,7 @@ function eventlogDetails(eventLog, app = null, appIdContext = '') {
return 'Backup cleaner started';
case ACTION_BACKUP_CLEANUP_FINISH:
return data.errorMessage ? 'Backup cleaner errored: ' + data.errorMessage : 'Backup cleaner removed ' + (data.removedBoxBackupPaths ? data.removedBoxBackupPaths.length : '0') + ' backups';
return data.errorMessage ? 'Backup cleaner errored: ' + data.errorMessage : 'Backup cleaner removed ' + (data.removedBoxBackupPaths ? data.removedBoxBackupPaths.length : '0') + ' backup(s)';
case ACTION_BACKUP_SITE_ADD:
return `New backup site ${data.name} added with provider ${data.provider} and format ${data.format}`;