ipsec: translate 'off' in DH parameter selection

This commit is contained in:
Franco Fichtner 2018-05-14 07:49:29 +02:00
parent 602b342e2d
commit 556734d575
4 changed files with 4 additions and 4 deletions

View File

@ -187,7 +187,7 @@ $service_hook = 'ipsec';
include("head.inc");
$dhgroups = array(
0 => 'off',
0 => gettext('off'),
1 => '1 (768 bits)',
2 => '2 (1024 bits)',
5 => '5 (1536 bits)',

View File

@ -506,7 +506,7 @@ endfor; ?>
<select name="pfs_group" class="form-control" id="pfs_group">
<?php
$p2_dhgroups = array(
0 => 'off',
0 => gettext('off'),
1 => '1 (768 bit)',
2 => '2 (1024 bit)',
5 => '5 (1536 bit)',

View File

@ -942,7 +942,7 @@ endforeach; ?>
<select name="dhgroup">
<?php
$p1_dhgroups = array(
0 => 'off',
0 => gettext('off'),
1 => '1 (768 bit)',
2 => '2 (1024 bit)',
5 => '5 (1536 bit)',

View File

@ -674,7 +674,7 @@ endif; ?>
<select name="pfsgroup">
<?php
$p2_dhgroups = array(
0 => 'off',
0 => gettext('off'),
1 => '1 (768 bit)',
2 => '2 (1024 bit)',
5 => '5 (1536 bit)',