[pve-devel] [PATCH manager] fix typos in user visible strings

Maximiliano Sandoval m.sandoval at proxmox.com
Fri Oct 11 11:09:51 CEST 2024


The 'uknown' typo would prevent the right icon [1] from being loaded.

[1] https://fontawesome.com/v4/icon/question

Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 www/manager6/Utils.js                  | 2 +-
 www/manager6/ceph/CephInstallWizard.js | 2 +-
 www/manager6/node/Certificates.js      | 2 +-
 www/mobile/Toolkit.js                  | 2 +-
 www/mobile/WidgetToolkitUtils.js       | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index db86fa9a3..cc9370896 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -82,7 +82,7 @@ Ext.define('PVE.Utils', {
 	}
 
 	if (state === undefined) {
-	    state = 'uknown';
+	    state = 'unknown';
 	}
 
 	var icon = 'faded fa-question';
diff --git a/www/manager6/ceph/CephInstallWizard.js b/www/manager6/ceph/CephInstallWizard.js
index f33ae868e..3342a80fd 100644
--- a/www/manager6/ceph/CephInstallWizard.js
+++ b/www/manager6/ceph/CephInstallWizard.js
@@ -169,7 +169,7 @@ Ext.define('PVE.ceph.CephInstallWizard', {
 		    return ''; // should be hidden
 		} else if (repo === 'no-subscription') {
 		    return allSub
-		        ? gettext("Cluster has active subscriptions and would be elligible for using the enterprise repository.")
+		        ? gettext("Cluster has active subscriptions and would be eligible for using the enterprise repository.")
 		        : gettext("The no-subscription repository is not the best choice for production setups.");
 		} else {
 		    return gettext('The test repository should only be used for test setups or after consulting the official Proxmox support!');
diff --git a/www/manager6/node/Certificates.js b/www/manager6/node/Certificates.js
index a086581c8..0f4023880 100644
--- a/www/manager6/node/Certificates.js
+++ b/www/manager6/node/Certificates.js
@@ -305,7 +305,7 @@ Ext.define('PVE.node.Certificates', {
 	    dataIndex: 'subject',
 	},
 	{
-	    header: gettext('Public Key Alogrithm'),
+	    header: gettext('Public Key Algorithm'),
 	    flex: 1,
 	    dataIndex: 'public-key-type',
 	    hidden: true,
diff --git a/www/mobile/Toolkit.js b/www/mobile/Toolkit.js
index 7bde24e69..864707de4 100644
--- a/www/mobile/Toolkit.js
+++ b/www/mobile/Toolkit.js
@@ -7,4 +7,4 @@ Ext.Ajax.setDisableCaching(false);
 // do not send '_dc' parameter
 Ext.Ajax.disableCaching = false;
 
-Ext.Loader.injectScriptElement = (url) => console.warn(`surpressed loading ${url}`);
+Ext.Loader.injectScriptElement = (url) => console.warn(`suppressed loading ${url}`);
diff --git a/www/mobile/WidgetToolkitUtils.js b/www/mobile/WidgetToolkitUtils.js
index ea710faf1..9aee9c7e8 100644
--- a/www/mobile/WidgetToolkitUtils.js
+++ b/www/mobile/WidgetToolkitUtils.js
@@ -1137,7 +1137,7 @@ utilities: {
 	}
 
 	if (state === undefined) {
-	    state = 'uknown';
+	    state = 'unknown';
 	}
 
 	var icon = 'faded fa-question';
-- 
2.39.5





More information about the pve-devel mailing list