]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: utils: add overrides for translatable notification fields/values
authorLukas Wagner <l.wagner@proxmox.com>
Mon, 8 Jul 2024 09:38:04 +0000 (11:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Jul 2024 17:34:58 +0000 (19:34 +0200)
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Max Carrara <m.carrara@proxmox.com>
www/manager6/Utils.js

index ca90e138f9735a937d51afb9c88cb9fb8e80a0a1..db86fa9a367f3e9a86876591f4392e3a35291571 100644 (file)
@@ -2061,6 +2061,17 @@ Ext.define('PVE.Utils', {
            zfscreate: [gettext('ZFS Storage'), gettext('Create')],
            zfsremove: ['ZFS Pool', gettext('Remove')],
        });
+
+       Proxmox.Utils.overrideNotificationFieldName({
+           'job-id': gettext('Job ID'),
+       });
+
+       Proxmox.Utils.overrideNotificationFieldValue({
+           'package-updates': gettext('Package updates are available'),
+           'vzdump': gettext('Backup notifications'),
+           'replication': gettext('Replication job notifications'),
+           'fencing': gettext('Node fencing notifications'),
+       });
     },
 
 });