]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
do not translate subscription level
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 4 Oct 2017 07:59:11 +0000 (09:59 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 4 Oct 2017 07:59:11 +0000 (09:59 +0200)
To avoid confusion.

Utils.js

index 79d0dc0ad14ff65a03c6e3c19430b32058203aa1..97b6c751178e8a7edb0e0add41f7eae24eda3d35 100644 (file)
--- a/Utils.js
+++ b/Utils.js
@@ -60,11 +60,6 @@ Ext.define('Proxmox.Utils', { utilities: {
     stateText: gettext('State'),
     groupText: gettext('Group'),
 
-    communityText: gettext('Community'),
-    basicText: gettext('Basic'),
-    standardText: gettext('Standard'),
-    premiumText: gettext('Premium'),
-
     getNoSubKeyHtml: function(url) {
        // 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');
@@ -143,13 +138,13 @@ Ext.define('Proxmox.Utils', { utilities: {
 
     format_subscription_level: function(level) {
        if (level === 'c') {
-           return Proxmox.Utils.communityText;
+           return 'Community';
        } else if (level === 'b') {
-           return Proxmox.Utils.basicText;
+           return 'Basic';
        } else if (level === 's') {
-           return Proxmox.Utils.standardText;
+           return 'Standard';
        } else if (level === 'p') {
-           return Proxmox.Utils.premiumText;
+           return 'Premium';
        } else {
            return Proxmox.Utils.noneText;
        }