summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_ipsec_phase2.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-02-08 15:59:04 +0545
committerPhil Davis <phil.davis@inf.org>2016-02-08 15:59:04 +0545
commit3e623a181d14dcefebd6be7c0e991c4ccb34714e (patch)
tree3a971b05b12b26321a695a1a39004f30b0b677ff /src/usr/local/www/vpn_ipsec_phase2.php
parent1f97f2e6f6d7ea7c5212dc0a2a84df93a4124067 (diff)
downloadpfsense-3e623a181d14dcefebd6be7c0e991c4ccb34714e.zip
pfsense-3e623a181d14dcefebd6be7c0e991c4ccb34714e.tar.gz
Internationalize vpn*.php
Diffstat (limited to 'src/usr/local/www/vpn_ipsec_phase2.php')
-rw-r--r--src/usr/local/www/vpn_ipsec_phase2.php4
1 files changed, 2 insertions, 2 deletions
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']));
}
}
}
OpenPOWER on IntegriCloud