diff --git a/src/Utils.js b/src/Utils.js
index 2d4e1dd..7dd034a 100644
--- a/src/Utils.js
+++ b/src/Utils.js
@@ -155,7 +155,11 @@ utilities: {
},
getNoSubKeyHtml: function(url) {
- return Ext.String.format('You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.', url || 'https://www.proxmox.com');
+ let html_url = Ext.String.format('www.proxmox.com', url || 'https://www.proxmox.com');
+ return Ext.String.format(
+ gettext('You do not have a valid subscription for this server. Please visit {0} to get a list of available options.'),
+ html_url,
+ );
},
format_boolean_with_default: function(value) {
diff --git a/src/node/DNSView.js b/src/node/DNSView.js
index 34d9b95..6cdaf3f 100644
--- a/src/node/DNSView.js
+++ b/src/node/DNSView.js
@@ -26,7 +26,7 @@ Ext.define('Proxmox.node.DNSView', {
run_editor: run_editor,
rows: {
search: {
- header: 'Search domain',
+ header: gettext('Search domain'),
required: true,
renderer: Ext.htmlEncode,
},
diff --git a/src/panel/DiskList.js b/src/panel/DiskList.js
index 4808f5c..dc10ac5 100644
--- a/src/panel/DiskList.js
+++ b/src/panel/DiskList.js
@@ -325,14 +325,14 @@ Ext.define('Proxmox.DiskList', {
dataIndex: 'status',
},
{
- header: 'Mounted',
+ header: gettext('Mounted'),
width: 60,
align: 'right',
renderer: Proxmox.Utils.format_boolean,
dataIndex: 'mounted',
},
{
- header: 'Wearout',
+ header: gettext('Wearout'),
width: 90,
sortable: true,
align: 'right',
@@ -341,7 +341,7 @@ Ext.define('Proxmox.DiskList', {
if (Ext.isNumeric(value)) {
return (100 - value).toString() + '%';
}
- return 'N/A';
+ return gettext('N/A');
},
},
],
diff --git a/src/window/NotificationMatcherEdit.js b/src/window/NotificationMatcherEdit.js
index f88576a..e717ad7 100644
--- a/src/window/NotificationMatcherEdit.js
+++ b/src/window/NotificationMatcherEdit.js
@@ -1025,7 +1025,7 @@ Ext.define('Proxmox.panel.NotificationMatchRuleSettings', {
],
},
{
- fieldLabel: 'Match Type',
+ fieldLabel: gettext('Match Type'),
xtype: 'proxmoxKVComboBox',
reference: 'type',
isFormField: false,