From 3e623a181d14dcefebd6be7c0e991c4ccb34714e Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Mon, 8 Feb 2016 15:59:04 +0545 Subject: Internationalize vpn*.php --- src/usr/local/www/vpn_ipsec_phase2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr/local/www/vpn_ipsec_phase2.php') diff --git a/src/usr/local/www/vpn_ipsec_phase2.php b/src/usr/local/www/vpn_ipsec_phase2.php index cbcf8c2..269d5dd 100644 --- a/src/usr/local/www/vpn_ipsec_phase2.php +++ b/src/usr/local/www/vpn_ipsec_phase2.php @@ -200,7 +200,7 @@ if ($_POST) { $netbits = get_interface_subnet($pconfig['localid_type']); if (empty($address) || empty($netbits)) { - $input_errors[] = gettext("Invalid Local Network.") . " " . convert_friendly_interface_to_friendly_descr($pconfig['localid_type']) . " " . gettext("has no subnet."); + $input_errors[] = gettext("Invalid Local Network.") . " " . sprintf(gettext("%s has no subnet."), convert_friendly_interface_to_friendly_descr($pconfig['localid_type'])); } } @@ -230,7 +230,7 @@ if ($_POST) { $netbits = get_interface_subnet($pconfig['natlocalid_type']); if (empty($address) || empty($netbits)) { - $input_errors[] = gettext("Invalid Local Network.") . " " . convert_friendly_interface_to_friendly_descr($pconfig['natlocalid_type']) . " " . gettext("has no subnet."); + $input_errors[] = gettext("Invalid Local Network.") . " " . sprintf(gettext("%s has no subnet."), convert_friendly_interface_to_friendly_descr($pconfig['natlocalid_type'])); } } } -- cgit v1.1