mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-07-13 05:02:49 +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(
|
Ext.Msg.confirm(
|
||||||
gettext("Notification Target Test"),
|
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) {
|
function(decision) {
|
||||||
if (decision !== "yes") {
|
if (decision !== "yes") {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user