public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] media.cgi: Changed topic format for 'Inodes' and 'transfers'
Date: Wed, 13 May 2020 16:52:19 +0100	[thread overview]
Message-ID: <A2764B8A-E6E9-4D79-B336-7360CCC24965@ipfire.org> (raw)
In-Reply-To: <20200513151721.31363-1-matthias.fischer@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1491 bytes --]



> On 13 May 2020, at 16:17, Matthias Fischer <matthias.fischer(a)ipfire.org> wrote:
> 
> Changed from <h3> to <h2>.
> 
> Both entries are now underlined and fit better into the context - IMHO.
> 
> Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
> ---
> html/cgi-bin/media.cgi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/html/cgi-bin/media.cgi b/html/cgi-bin/media.cgi
> index 7ef6905bd..73b6f7da9 100644
> --- a/html/cgi-bin/media.cgi
> +++ b/html/cgi-bin/media.cgi
> @@ -106,7 +106,7 @@ END
> 		}
> 	}
> 	close DF;
> -	print "<tr><td colspan='7'>&nbsp;\n<tr><td colspan='7'><h3>Inodes</h3>\n";
> +	print "<tr><td colspan='7'>&nbsp;\n<tr><td colspan='7'><h2>Inodes</h2>\n";

Inodes is a string that should be translated, too.

> 
> 	open(DF,'/bin/df -P -i -x rootfs|');
> 	while(<DF>){
> @@ -147,7 +147,7 @@ END
> 	my @iostat1 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print \$1}');
> 	my @iostat2 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print \$5}');
> 	my @iostat3 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print \$6}');
> -	print "<tr><td colspan='3'>&nbsp;\n<tr><td colspan='3'><h3>$Lang::tr{'transfers}</h3></td></tr>";
> +	print "<tr><td colspan='3'>&nbsp;\n<tr><td colspan='3'><h2>$Lang::tr{'transfers}</h2></td></tr>";

You have a syntax error here due to a missing ‘.

> 	my $i=0;
> 
> 	for(my $i = 1; $i <= $#iostat1; $i++){
> -- 
> 2.17.1
> 


      reply	other threads:[~2020-05-13 15:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13 15:17 Matthias Fischer
2020-05-13 15:52 ` Michael Tremer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A2764B8A-E6E9-4D79-B336-7360CCC24965@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox