notification config view: fix using gettext with parameter

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-09-13 18:17:07 +02:00
parent 72a355b8d7
commit 7e4b51778a

View File

@ -101,7 +101,7 @@ Ext.define('Proxmox.panel.NotificationEndpointView', {
success: function(response, opt) {
Ext.Msg.show({
title: gettext('Notification Target Test'),
message: gettext(`Sent test notification to '${target}'.`),
message: Ext.String.format(gettext("Sent test notification to '{0}'.")),
buttons: Ext.Msg.OK,
icon: Ext.Msg.INFO,
});