wireguard.cgi: Fix translation variable
Commit Message
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(-)
@@ -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