From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] Typo in 'media.cgi'
Date: Wed, 13 May 2020 15:04:54 +0100
Message-ID: <3D24C58D-089F-40B3-8727-DC14D980FF6E@ipfire.org>
In-Reply-To: <20200513135520.30310-1-matthias.fischer@ipfire.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0010256337694886547=="
List-Id: <development.lists.ipfire.org>

--===============0010256337694886547==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Hi,

Should we not have a variable here to get the string form the language files?

-Michael

> On 13 May 2020, at 14:55, Matthias Fischer <matthias.fischer(a)ipfire.org> =
wrote:
>=20
> 'transfers' =3D 'Transfers'
>=20
> Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
> ---
> html/cgi-bin/media.cgi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>=20
> diff --git a/html/cgi-bin/media.cgi b/html/cgi-bin/media.cgi
> index 0bb6435ab..a33d69313 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 "<tr><td colspan=3D'3'>&nbsp;\n<tr><td colspan=3D'3'><h3>transfers<=
/h3></td></tr>";
> +	print "<tr><td colspan=3D'3'>&nbsp;\n<tr><td colspan=3D'3'><h3>Transfers<=
/h3></td></tr>";
> 	my $i=3D0;
>=20
> 	for(my $i =3D 1; $i <=3D $#iostat1; $i++){
> --=20
> 2.17.1
>=20


--===============0010256337694886547==--