From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larsen To: development@lists.ipfire.org Subject: Re: Aw: Re: [PATCH] Fix hardcoded strings in pppsetup.cgi Date: Tue, 02 Jun 2015 21:49:24 +0200 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7734125773555317336==" List-Id: --===============7734125773555317336== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Some strings for PPTP were hardcoded instead of using i18n features. Signed-off-by: Lars Schuhmacher --- html/cgi-bin/pppsetup.cgi | 6 +++--- langs/de/cgi-bin/de.pl | 3 +++ langs/en/cgi-bin/en.pl | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/html/cgi-bin/pppsetup.cgi b/html/cgi-bin/pppsetup.cgi index 33f521e..59677a4 100644 --- a/html/cgi-bin/pppsetup.cgi +++ b/html/cgi-bin/pppsetup.cgi @@ -793,15 +793,15 @@ print <$= Lang::tr{'pptp settings'} - Peer + $Lang::tr{'pptp peer'}: - My Netconfig + $Lang::tr{'pptp netconfig'}: - PPTP Route 3D'*' + $Lang::tr{'pptp route'}: 3D'*' diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index 8adefdf..65277a9 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -1822,6 +1822,9 @@ 'ppp setup' =3D> 'PPP-Einstellungen', 'pppoe' =3D> 'PPPoE', 'pppoe settings' =3D> 'Zus=C3=A4tzliche PPPoE-Einstellungen:', +'pptp netconfig' =3D> 'Eigene Netzkonfiguration', +'pptp peer' =3D> 'Gegenstelle', +'pptp route' =3D> 'PPTP Route', 'pptp settings' =3D> 'Zus=C3=A4tzliche PPTP-Einstellungen:', 'pre-shared key is too short' =3D> 'Pre-shared Schl=C3=BCsel ist zu kurz', 'prefered master' =3D> 'Prefered Master', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index 43601c8..3e60b00 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -1852,6 +1852,9 @@ 'ppp setup' =3D> 'PPP setup', 'pppoe' =3D> 'PPPoE', 'pppoe settings' =3D> 'Additional PPPoE settings:', +'pptp netconfig' =3D> 'My Netconfig', +'pptp peer' =3D> 'Peer', +'pptp route' =3D> 'PPTP Route', 'pptp settings' =3D> 'Additional PPTP settings:', 'pre-shared key is too short' =3D> 'Pre-shared key is too short.', 'prefered master' =3D> 'Prefered Master', --===============7734125773555317336==--