]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: add some task log description mappings
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 25 May 2020 17:06:47 +0000 (19:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 25 May 2020 17:06:52 +0000 (19:06 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/control.in
www/Utils.js

index 8e325fe60bcfd687cbe58f997f7b278458070bb9..80fb0e19dc15e4154349f19f3dd8b92e0c473c37 100644 (file)
@@ -4,7 +4,7 @@ Depends: fonts-font-awesome,
          libjs-extjs (>= 6.0.1),
          libzstd1 (>= 1.3.8),
          proxmox-mini-journalreader,
-         proxmox-widget-toolkit (>= 2.2-2),
+         proxmox-widget-toolkit (>= 2.2-4),
          ${misc:Depends},
          ${shlibs:Depends},
 Description: Proxmox Backup Server daemon with tools and GUI
index 7fe2cad97f6efa56ac2082a1cde0bcfe3acf37d5..c63390e55dc4e3e0d21c579a159353fe96adbe9a 100644 (file)
@@ -29,5 +29,10 @@ Ext.define('PBS.Utils', {
        var me = this;
 
        // do whatever you want here
+       Proxmox.Utils.override_task_descriptions({
+           garbage_collection: ['Datastore', gettext('Garbage collect') ],
+           backup: [ '', gettext('Backup') ],
+           reader: [ '', gettext('Read datastore objects') ], // FIXME: better one
+       });
     }
 });