From b4b3bcad18e09c019d2d99460d4231e8742151fa Mon Sep 17 00:00:00 2001 From: Lukas Wagner Date: Mon, 18 Sep 2023 11:49:43 +0200 Subject: [PATCH] notification config view: add missing parameter for Ext.String.format Fixes: 7e4b51 ("notification config view: fix using gettext with parameter") Signed-off-by: Lukas Wagner --- src/panel/NotificationConfigView.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/panel/NotificationConfigView.js b/src/panel/NotificationConfigView.js index fe56102..ff9c512 100644 --- a/src/panel/NotificationConfigView.js +++ b/src/panel/NotificationConfigView.js @@ -101,7 +101,10 @@ Ext.define('Proxmox.panel.NotificationEndpointView', { success: function(response, opt) { Ext.Msg.show({ title: gettext('Notification Target Test'), - message: Ext.String.format(gettext("Sent test notification to '{0}'.")), + message: Ext.String.format( + gettext("Sent test notification to '{0}'."), + target, + ), buttons: Ext.Msg.OK, icon: Ext.Msg.INFO, });