]> git.proxmox.com Git - pve-manager.git/commitdiff
js: fix some common typos found with codespell
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 15 Jun 2019 08:44:43 +0000 (10:44 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 15 Jun 2019 08:44:43 +0000 (10:44 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/ceph/Status.js
www/manager6/dc/Health.js
www/manager6/dc/TFAEdit.js
www/manager6/form/DiskStorageSelector.js
www/manager6/form/HotplugFeatureSelector.js
www/manager6/form/IPRefSelector.js
www/manager6/panel/ConfigPanel.js
www/manager6/tree/ResourceTree.js
www/manager6/window/SafeDestroy.js

index 4896727922e31f76df5f816093c5c1ef9ce787eb..f1fcda0045b3fea2f440a238349ff05cb62d4160 100644 (file)
@@ -270,7 +270,7 @@ Ext.define('PVE.node.CephStatus', {
        // update the usage widget
        me.down('#space').updateValue(used/total, text);
 
-       // TODO: logic for jewel (iops splitted in read/write)
+       // TODO: logic for jewel (iops split in read/write)
 
        var iops = rec.data.pgmap.op_per_sec;
        var readiops = rec.data.pgmap.read_op_per_sec;
index 18ea5afa0c4ae48059c34ea456b31e44942c2259..6c4f26c9ac0b857650eaf1b8eed8dbc3f105d442 100644 (file)
@@ -73,12 +73,12 @@ Ext.define('PVE.dc.Health', {
        if (!success || records.length < 1) {
 
            // if ceph status is already visible
-           // dont stop to update
+           // don't stop to update
            if (cephstatus.isVisible()) {
                return;
            }
 
-           // try all nodes until we either get a successfull api call,
+           // try all nodes until we either get a successful api call,
            // or we tried all nodes
            if (++me.nodeIndex >= me.nodeList.length) {
                me.cephstore.stopUpdate();
index ed2ff30d2235617f9ccad2c9a2b0916a66ba6918..e1c3b6584bff813d9b5d274144d0ff4e97e170f7 100644 (file)
@@ -100,7 +100,7 @@ Ext.define('PVE.window.TFAEdit', {
        data: {
            in_totp_tab: true,
            tfa_required: false,
-           tfa_type: null, // dependecies of formulas should not be undefined
+           tfa_type: null, // dependencies of formulas should not be undefined
            valid: false,
            u2f_available: true
        },
index 8099696bda01107ce4f8bb9a60072f417e0e48ac..445e3ac0c26d8612cce146922acfa1952eb821d4 100644 (file)
@@ -28,7 +28,7 @@ Ext.define('PVE.form.DiskStorageSelector', {
     // hides the size field (e.g, for the efi disk dialog)
     hideSize: false,
 
-    // sets the intial size value
+    // sets the initial size value
     // string because else we get a type confusion
     defaultSize: '32',
 
index 348d970c63ce9cbc90a7df197258d28c775514e6..3bf394bc66b26068f269377fb48f5d5523b45785 100644 (file)
@@ -46,7 +46,7 @@ Ext.define('PVE.form.HotplugFeatureSelector', {
        me.callParent([{ hotplug: newVal }]);
     },
 
-    // overide framework function to
+    // override framework function to
     // assemble the hotplug value
     getSubmitData: function() {
        var me = this,
index 8ca74bdfc7f731fbe9cc4d633058d9359e75bcad..90223fb10450fdff07da1eb7c04728754110b590 100644 (file)
@@ -40,7 +40,7 @@ Ext.define('PVE.form.IPRefSelector', {
        var disable_query_for_ips = function(f, value) {
            if (value === null || 
                value.match(/^\d/)) { // IP address starts with \d
-               f.queryDelay = 9999999999; // hack: disbale with long delay
+               f.queryDelay = 9999999999; // hack: disable with long delay
            } else {
                f.queryDelay = 10;
            }
index dbdf50506731dcb54742430ec38f3cc2ba0f8861..6dcd25abd4c2a7d308c2d32aedcd9565f7d4c526 100644 (file)
@@ -43,8 +43,8 @@ Ext.define('PVE.panel.Config', {
     extend: 'Ext.panel.Panel',
     alias: 'widget.pvePanelConfig',
 
-    showSearch: true, // add a ressource grid with a search button as first tab
-    viewFilter: undefined, // a filter to pass to that ressource grid
+    showSearch: true, // add a resource grid with a search button as first tab
+    viewFilter: undefined, // a filter to pass to that resource grid
 
     tbarSpacing: true, // if true, adds a spacer after the title in tbar
 
@@ -79,7 +79,7 @@ Ext.define('PVE.panel.Config', {
                    var newitem = info.node;
 
                    // when clicking on the expand arrow,
-                   // we dont select items, but still want
+                   // we don't select items, but still want
                    // the original behaviour
                    if (info.select === false) {
                        return;
index fe74978e0cb8407bdf0aadc9f56d2d889a2af686..251eb54255c3fcbc06ba09f432aaf50ef9fd249d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Left Treepanel, containing all the ressources we manage in this datacenter: server nodes, server storages, VMs and Containers
+ * Left Treepanel, containing all the resources we manage in this datacenter: server nodes, server storages, VMs and Containers
  */
 Ext.define('PVE.tree.ResourceTree', {
     extend: 'Ext.tree.TreePanel',
@@ -291,7 +291,7 @@ Ext.define('PVE.tree.ResourceTree', {
                            }
                        }
 
-                       // explicitely check for node, since
+                       // explicitly check for node, since
                        // in some views, node is not a grouping
                        // attribute
                        if (!moved && item.data.node !== olditem.data.node) {
index 2ce143ef78a364d1c6164cb8d638deecb3cd99eb..eb3e6665f78bf1888ac27d0a9bd08492e371fd32 100644 (file)
@@ -1,5 +1,5 @@
 /* Popup a message window
- * where the user has to manually enter the ressource ID
+ * where the user has to manually enter the resource ID
  * to enable the destroy button
  */
 Ext.define('PVE.window.SafeDestroy', {