our gettext extractor cannot handle such statements to extract the
gettext, so change it to two gettexts

Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
 www/manager6/tree/SnapshotTree.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/tree/SnapshotTree.js 
b/www/manager6/tree/SnapshotTree.js
index e186bea7..0636ef68 100644
--- a/www/manager6/tree/SnapshotTree.js
+++ b/www/manager6/tree/SnapshotTree.js
@@ -22,7 +22,7 @@ Ext.define('PVE.guest.SnapshotTree', {
            canRollback: (get) => get('rollbackAllowed') && get('isSnapshot'),
            canRemove: (get) => get('snapshotAllowed') && get('isSnapshot'),
            isSnapshot: (get) => get('selected') && get('selected') !== 
'current',
-           buttonText: (get) => gettext(get('snapshotAllowed') ? 'Edit' : 
'View'),
+           buttonText: (get) => get('snapshotAllowed') ? gettext('Edit') : 
gettext('View'),
            showMemory: (get) => get('type') === 'qemu',
        },
     },
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to