From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] media.cgi: Added missing translation Date: Wed, 13 May 2020 16:51:55 +0100 Message-ID: <71A4AE10-D5ED-48D5-9A52-DC2CDAEED291@ipfire.org> In-Reply-To: <20200513150834.31160-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1303562265596844289==" List-Id: --===============1303562265596844289== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, > On 13 May 2020, at 16:08, Matthias Fischer = wrote: >=20 > Signed-off-by: Matthias Fischer > --- > html/cgi-bin/media.cgi | 2 +- > langs/de/cgi-bin/de.pl | 1 + > langs/en/cgi-bin/en.pl | 1 + > 3 files changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/html/cgi-bin/media.cgi b/html/cgi-bin/media.cgi > index a33d69313..7ef6905bd 100644 > --- a/html/cgi-bin/media.cgi > +++ b/html/cgi-bin/media.cgi > @@ -147,7 +147,7 @@ END > my @iostat1 =3D qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print = \$1}'); > my @iostat2 =3D qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print = \$5}'); > my @iostat3 =3D qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print = \$6}'); > - print " \n

Transfers<= /h3>"; > + print " \n

$Lang::tr{= 'transfers}

"; > my $i=3D0; You have a syntax error here due to a missing =E2=80=98. >=20 > for(my $i =3D 1; $i <=3D $#iostat1; $i++){ > diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl > index 0efb512cb..caa3d711e 100644 > --- a/langs/de/cgi-bin/de.pl > +++ b/langs/de/cgi-bin/de.pl > @@ -2442,6 +2442,7 @@ > 'trafficsum' =3D> 'Total', > 'trafficto' =3D> 'Nach', > 'transfer limits' =3D> 'Transferbeschr=C3=A4nkungen', > +'transfers' =3D> 'Daten=C3=BCbertragungen', > 'transparent on' =3D> 'Transparent auf', > 'transport mode does not support vti' =3D> 'VTI wird im Transport-Modus nic= ht unterst=C3=BCtzt', > 'tripwire' =3D> 'Tripwire', > diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl > index c1b26b3ff..29c90de5d 100644 > --- a/langs/en/cgi-bin/en.pl > +++ b/langs/en/cgi-bin/en.pl > @@ -2475,6 +2475,7 @@ > 'transfer limits' =3D> 'Transfer limits', > 'transparent on' =3D> 'Transparent on', > 'transport mode does not support vti' =3D> 'VTI is not support in transport= mode', > +'transfers' =3D> 'Data transfers', > 'tripwire' =3D> 'Tripwire', > 'tripwire cronjob' =3D> 'tripwire cronjob', > 'tripwire functions' =3D> 'tripwire functions', > --=20 > 2.17.1 >=20 --===============1303562265596844289==--