Fix hardcoded strings in pppsetup.cgi

Some strings for PPTP were hardcoded instead of using i18n features.

Signed-off-by: Lars Schuhmacher <larsen007@web.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Lars Schuhmacher
2015-06-02 21:49:24 +02:00
committed by Michael Tremer
parent bd767b27c8
commit 5b93b50c6d
3 changed files with 9 additions and 3 deletions

View File

@@ -793,15 +793,15 @@ print <<END
<td colspan='4' width='100%' bgcolor='$color{'color20'}'><b>$Lang::tr{'pptp settings'}</b></td>
</tr>
<tr>
<td width='25%'>Peer</td>
<td width='25%'>$Lang::tr{'pptp peer'}:</td>
<td colspan='3'><input size=50 type='text' name='PPTP_PEER' value='$pppsettings{'PPTP_PEER'}' /></td>
</tr>
<tr>
<td width='25%'>My Netconfig</td>
<td width='25%'>$Lang::tr{'pptp netconfig'}:</td>
<td colspan='3'><input size=50 type='text' name='PPTP_NICCFG' value='$pppsettings{'PPTP_NICCFG'}' /></td>
</tr>
<tr>
<td width='25%'>PPTP Route&nbsp;<img src='/blob.gif' alt='*' /></td>
<td width='25%'>$Lang::tr{'pptp route'}:&nbsp;<img src='/blob.gif' alt='*' /></td>
<td colspan='3'><input size=50 type='text' name='PPTP_ROUTE' value='$pppsettings{'PPTP_ROUTE'}' /></td>
</tr>

View File

@@ -1822,6 +1822,9 @@
'ppp setup' => 'PPP-Einstellungen',
'pppoe' => 'PPPoE',
'pppoe settings' => 'Zusätzliche PPPoE-Einstellungen:',
'pptp netconfig' => 'Eigene Netzkonfiguration',
'pptp peer' => 'Gegenstelle',
'pptp route' => 'PPTP-Route',
'pptp settings' => 'Zusätzliche PPTP-Einstellungen:',
'pre-shared key is too short' => 'Pre-shared Schlüsel ist zu kurz',
'prefered master' => 'Prefered Master',

View File

@@ -1852,6 +1852,9 @@
'ppp setup' => 'PPP setup',
'pppoe' => 'PPPoE',
'pppoe settings' => 'Additional PPPoE settings:',
'pptp netconfig' => 'My Net Config',
'pptp peer' => 'Peer',
'pptp route' => 'PPTP Route',
'pptp settings' => 'Additional PPTP settings:',
'pre-shared key is too short' => 'Pre-shared key is too short.',
'prefered master' => 'Prefered Master',