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: Added missing translation
Date: Wed, 13 May 2020 16:51:55 +0100	[thread overview]
Message-ID: <71A4AE10-D5ED-48D5-9A52-DC2CDAEED291@ipfire.org> (raw)
In-Reply-To: <20200513150834.31160-1-matthias.fischer@ipfire.org>

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

Hi,

> On 13 May 2020, at 16:08, Matthias Fischer <matthias.fischer(a)ipfire.org> wrote:
> 
> Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
> ---
> 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(-)
> 
> 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 = 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>Transfers</h3></td></tr>";
> +	print "<tr><td colspan='3'>&nbsp;\n<tr><td colspan='3'><h3>$Lang::tr{'transfers}</h3></td></tr>";
> 	my $i=0;

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

> 
> 	for(my $i = 1; $i <= $#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' => 'Total',
> 'trafficto' => 'Nach',
> 'transfer limits' => 'Transferbeschränkungen',
> +'transfers' => 'Datenübertragungen',
> 'transparent on' => 'Transparent auf',
> 'transport mode does not support vti' => 'VTI wird im Transport-Modus nicht unterstützt',
> 'tripwire' => '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' => 'Transfer limits',
> 'transparent on' => 'Transparent on',
> 'transport mode does not support vti' => 'VTI is not support in transport mode',
> +'transfers' => 'Data transfers',
> 'tripwire' => 'Tripwire',
> 'tripwire cronjob' => 'tripwire cronjob',
> 'tripwire functions' => 'tripwire functions',
> -- 
> 2.17.1
> 


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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13 15:08 Matthias Fischer
2020-05-13 15:51 ` Michael Tremer [this message]
2020-05-13 16:01   ` Matthias Fischer
2020-05-13 16:47   ` Matthias Fischer

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=71A4AE10-D5ED-48D5-9A52-DC2CDAEED291@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