]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/AttachmentGrid.js
attachment grid: fix typo in title
[pmg-gui.git] / js / AttachmentGrid.js
index aea526ba5003da01ad3d9ede56e8abb4174234fe..3187a58de399adbeaf24b0e780549370b844a4ca 100644 (file)
@@ -44,7 +44,7 @@ Ext.define('PMG.grid.AttachmentGrid', {
        let me = this;
        let title;
        if (count > 0) {
-           title = Ext.String.format(gettext('{0} Attachements'), count);
+           title = Ext.String.format(gettext('{0} Attachments'), count);
            title += ` (${Proxmox.Utils.format_size(totalSize)})`;
            if (me.collapsible) {
                me.expand();
@@ -90,7 +90,7 @@ Ext.define('PMG.grid.AttachmentGrid', {
        },
        {
            text: gettext('Size'),
-           renderer: Proxmox.Utils.format_size,
+           renderer: Proxmox.Utils.render_size,
            dataIndex: 'size',
            flex: 1,
        },