[pve-devel] [PATCH manager] ui: backup job detail: fix wrong gettext

Dominik Csapak d.csapak at proxmox.com
Tue Aug 6 15:09:38 CEST 2024


'suspend' mode should not be shown as `gettext('Snapshot')`

reported in the forum:
https://forum.proxmox.com/threads/152365/

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/dc/BackupJobDetail.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/dc/BackupJobDetail.js b/www/manager6/dc/BackupJobDetail.js
index d00006b5..85bb036a 100644
--- a/www/manager6/dc/BackupJobDetail.js
+++ b/www/manager6/dc/BackupJobDetail.js
@@ -238,7 +238,7 @@ Ext.define('PVE.dc.BackupInfo', {
 		const modeToDisplay = {
 		    snapshot: gettext('Snapshot'),
 		    stop: gettext('Stop'),
-		    suspend: gettext('Snapshot'),
+		    suspend: gettext('Suspend'),
 		};
 		return modeToDisplay[value] ?? gettext('Unknown');
 	    },
-- 
2.39.2





More information about the pve-devel mailing list