diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-21 15:38:45 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-21 15:39:29 -0500 |
commit | b50d30c3a6d29b02cc7f4fe66f3a16bc7a4ea1a6 (patch) | |
tree | a6d9f2891f3f3dae0d1fd69ae16ca3cc84880980 /src/usr/local/www/vpn_ipsec_phase2.php | |
parent | fd5e3a0800bd0a437f86054efd10827847907f6e (diff) | |
download | pfsense-b50d30c3a6d29b02cc7f4fe66f3a16bc7a4ea1a6.zip pfsense-b50d30c3a6d29b02cc7f4fe66f3a16bc7a4ea1a6.tar.gz |
Fixed #5789
Diffstat (limited to 'src/usr/local/www/vpn_ipsec_phase2.php')
-rw-r--r-- | src/usr/local/www/vpn_ipsec_phase2.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase2.php b/src/usr/local/www/vpn_ipsec_phase2.php index e00be54..d861384 100644 --- a/src/usr/local/www/vpn_ipsec_phase2.php +++ b/src/usr/local/www/vpn_ipsec_phase2.php @@ -556,7 +556,7 @@ $group->add(new Form_Select( 'localid_type', null, $pconfig['localid_type'], - ['address' => 'Address', 'network' => 'Network'] + $subnetarray + ['address' => gettext('Address'), 'network' => gettext('Network')] + $subnetarray ))->setHelp('Type'); $group->add(new Form_IpAddress( @@ -576,7 +576,7 @@ foreach ($subnetarray as $ifname => $ifdescr) { } // Tack none, address & network on the beginning -$subnetarray = array('none' => gettext('None'), 'address' => 'Address', 'network' => 'Network') + $subnetarray; +$subnetarray = array('none' => gettext('None'), 'address' => gettext('Address'), 'network' => gettext('Network')) + $subnetarray; $group->add(new Form_Select( 'natlocalid_type', @@ -602,7 +602,7 @@ if (!isset($pconfig['mobile'])) { 'remoteid_type', null, $pconfig['remoteid_type'], - array('address' => 'Address', 'network' => 'Network') + array('address' => gettext('Address'), 'network' => gettext('Network')) ))->setHelp('Type'); $group->add(new Form_IpAddress( @@ -660,7 +660,7 @@ foreach ($p2_ealgos as $algo => $algodata) { 'keylen_' . $algo, null, $pconfig["keylen_".$algo], - ['auto' => 'Auto'] + $list + ['auto' => gettext('Auto')] + $list )); } |