mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-07-13 00:11:56 +00:00
notification config view: fix using gettext with parameter
One must use a parameter {0} replacement string as otherwise this cannot be translated at all. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4187bffeeb
commit
72a355b8d7
@ -88,7 +88,7 @@ Ext.define('Proxmox.panel.NotificationEndpointView', {
|
||||
|
||||
Ext.Msg.confirm(
|
||||
gettext("Notification Target Test"),
|
||||
gettext(`Do you want to send a test notification to '${target}'?`),
|
||||
Ext.String.format(gettext("Do you want to send a test notification to '{0}'?"), target),
|
||||
function(decision) {
|
||||
if (decision !== "yes") {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user