mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-10-18 18:53:02 +00:00
ui: status: improve reuse of gettext
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
cfc9f9600d
commit
e4d3f62656
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user