From e4d3f62656fc031a27ea2c00528b47b5e3de42f8 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 5 Jul 2021 10:47:58 +0200 Subject: [PATCH] ui: status: improve reuse of gettext Signed-off-by: Thomas Lamprecht --- www/manager6/node/StatusView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/manager6/node/StatusView.js b/www/manager6/node/StatusView.js index d94d0f47..13ae6822 100644 --- a/www/manager6/node/StatusView.js +++ b/www/manager6/node/StatusView.js @@ -31,10 +31,10 @@ Ext.define('PVE.node.StatusView', { if (status === 'ok') { return fmt(gettext('Enterprise repository enabled'), 'check good') + ', ' + - fmt(gettext('Active subscription'), 'check good'); + fmt(gettext('Valid subscription'), 'check good'); } else if (status === 'no-sub') { return fmt(gettext('Enterprise repository enabled'), 'check good') + ', ' + - fmt(gettext('No active subscription'), 'exclamation-circle warning'); + fmt(gettext('No valid subscription'), 'exclamation-circle warning'); } else if (status === 'non-production') { return fmt(gettext('No production-ready repository used'), 'exclamation-circle warning'); } else if (status === 'no-repo') {