From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Aw: Re: [PATCH] Fix hardcoded strings in pppsetup.cgi Date: Tue, 02 Jun 2015 22:01:18 +0200 Message-ID: <1433275278.3370.273.camel@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4738198605194859481==" List-Id: --===============4738198605194859481== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, this patch looks okay, but it won't apply. Git error: Applying: Aw: Re: [PATCH] Fix hardcoded strings in pppsetup.cgi error: patch failed: html/cgi-bin/pppsetup.cgi:793 error: html/cgi-bin/pppsetup.cgi: patch does not apply error: patch failed: langs/de/cgi-bin/de.pl:1822 error: langs/de/cgi-bin/de.pl: patch does not apply error: patch failed: langs/en/cgi-bin/en.pl:1852 error: langs/en/cgi-bin/en.pl: patch does not apply Patch failed at 0001 Aw: Re: [PATCH] Fix hardcoded strings in pppsetup.cgi This is probably caused by copy-and-paste and replacing tabs by spaces or similar. -Michael On Tue, 2015-06-02 at 21:49 +0200, Larsen wrote: > Some strings for PPTP were hardcoded instead of using i18n features. >=20 > 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(-) >=20 > 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'*' > > >=20 > 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', --===============4738198605194859481== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlRSWNCQUFC Q2dBR0JRSlZiZ3VSQUFvSkVJQjU4UDl2a0FrSHg0OFAvQTUxRDVCbi8weEFIbmlUZGkrZUMxc1QK Vnlwa0dNbHh3TVRuMFpETUJRQlBERkRQVmZIa2NDZ1hjTWYvaU5pZGtJeGl0VERoVVhiclZ1cUdG bW52QVJPcwpUV2syZGhneTB5STZ6bk93dEFNR3N5NWhHVlhlUFhZTitFU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