* [PATCH] wireguard.cgi: Fix translation variable
@ 2026-11-09 18:08 Matthias Fischer
0 siblings, 0 replies; only message in thread
From: Matthias Fischer @ 2026-11-09 18:08 UTC (permalink / raw)
To: development; +Cc: Matthias Fischer
This one just came my way - but with this new translation routine,
I'm not quite sure what to do next...
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
html/cgi-bin/wireguard.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html/cgi-bin/wireguard.cgi b/html/cgi-bin/wireguard.cgi
index 0ffd6bd94..a6f1300d0 100644
--- a/html/cgi-bin/wireguard.cgi
+++ b/html/cgi-bin/wireguard.cgi
@@ -440,7 +440,7 @@ END
# If a port was given we check that it is valid
} elsif (!&Network::check_port($cgiparams{'PORT'})) {
- push(@errormessages, $LANG::tr{'invalid port'});
+ push(@errormessages, _('Invalid Port'));
}
# Check the endpoint address
--
2.53.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-09 18:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 18:08 [PATCH] wireguard.cgi: Fix translation variable Matthias Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox