mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-08 01:17:20 +00:00
do not translate subscription level
To avoid confusion.
This commit is contained in:
parent
02ef30c91f
commit
8f5a1a0847
13
Utils.js
13
Utils.js
@ -60,11 +60,6 @@ Ext.define('Proxmox.Utils', { utilities: {
|
|||||||
stateText: gettext('State'),
|
stateText: gettext('State'),
|
||||||
groupText: gettext('Group'),
|
groupText: gettext('Group'),
|
||||||
|
|
||||||
communityText: gettext('Community'),
|
|
||||||
basicText: gettext('Basic'),
|
|
||||||
standardText: gettext('Standard'),
|
|
||||||
premiumText: gettext('Premium'),
|
|
||||||
|
|
||||||
getNoSubKeyHtml: function(url) {
|
getNoSubKeyHtml: function(url) {
|
||||||
// url http://www.proxmox.com/products/proxmox-ve/subscription-service-plans
|
// url http://www.proxmox.com/products/proxmox-ve/subscription-service-plans
|
||||||
return Ext.String.format('You do not have a valid subscription for this server. Please visit <a target="_blank" href="{0}">www.proxmox.com</a> to get a list of available options.', url || 'http://www.proxmox.com');
|
return Ext.String.format('You do not have a valid subscription for this server. Please visit <a target="_blank" href="{0}">www.proxmox.com</a> to get a list of available options.', url || 'http://www.proxmox.com');
|
||||||
@ -143,13 +138,13 @@ Ext.define('Proxmox.Utils', { utilities: {
|
|||||||
|
|
||||||
format_subscription_level: function(level) {
|
format_subscription_level: function(level) {
|
||||||
if (level === 'c') {
|
if (level === 'c') {
|
||||||
return Proxmox.Utils.communityText;
|
return 'Community';
|
||||||
} else if (level === 'b') {
|
} else if (level === 'b') {
|
||||||
return Proxmox.Utils.basicText;
|
return 'Basic';
|
||||||
} else if (level === 's') {
|
} else if (level === 's') {
|
||||||
return Proxmox.Utils.standardText;
|
return 'Standard';
|
||||||
} else if (level === 'p') {
|
} else if (level === 'p') {
|
||||||
return Proxmox.Utils.premiumText;
|
return 'Premium';
|
||||||
} else {
|
} else {
|
||||||
return Proxmox.Utils.noneText;
|
return Proxmox.Utils.noneText;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user