ui: fix broken gettext use

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-11-25 00:21:04 +01:00
parent 731eeef25b
commit 5176346b30

View File

@ -395,7 +395,7 @@ Ext.define('PBS.dashboard.SubscriptionInfo', {
break;
case 0:
icon = 'times-circle critical';
message = gettext('<h1>No valid subscription</h1>' + PBS.Utils.noSubKeyHtml);
message = `<h1>${gettext('No valid subscription')}</h1>${PBS.Utils.noSubKeyHtml}`;
break;
default:
throw 'invalid subscription status';